Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
643ee1df
Commit
643ee1df
authored
9 years ago
by
Dmitry Frank
Committed by
rojer
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cfunctions API refactored to return enum v7_err
PUBLISHED_FROM=f96a4ab2016c0125c1e94b3c5c9ada2c365bd39d
parent
6c4d37ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mongoose.c
mongoose.c
+4
-2
No files found.
mongoose.c
View file @
643ee1df
...
...
@@ -2044,7 +2044,7 @@ void mg_mgr_init(struct mg_mgr *m, void *user_data) {
}
#ifdef MG_ENABLE_JAVASCRIPT
static
v7_val_t
mg_send_js
(
struct
v7
*
v7
)
{
static
enum
v7_err
mg_send_js
(
struct
v7
*
v7
,
v7_val_t
*
res
)
{
v7_val_t
arg0
=
v7_arg
(
v7
,
0
);
v7_val_t
arg1
=
v7_arg
(
v7
,
1
);
struct
mg_connection
*
c
=
(
struct
mg_connection
*
)
v7_to_foreign
(
arg0
);
...
...
@@ -2055,7 +2055,9 @@ static v7_val_t mg_send_js(struct v7 *v7) {
mg_send
(
c
,
data
,
len
);
}
return
v7_create_number
(
len
);
*
res
=
v7_create_number
(
len
);
return
V7_OK
;
}
enum
v7_err
mg_enable_javascript
(
struct
mg_mgr
*
m
,
struct
v7
*
v7
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment