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
b50c183c
Commit
b50c183c
authored
Oct 06, 2015
by
Marko Mikulicic
Committed by
Sergey Lyubka
Oct 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify and abstract C func arg access
PUBLISHED_FROM=c174439a2d22794497dc35fd46ceb1f6c4e553a2
parent
a941687d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mongoose.c
mongoose.c
+3
-3
No files found.
mongoose.c
View file @
b50c183c
...
...
@@ -1890,9 +1890,9 @@ 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
,
v7_val_t
args
)
{
v7_val_t
arg0
=
v7_ar
ray_get
(
v7
,
args
,
0
);
v7_val_t
arg1
=
v7_ar
ray_get
(
v7
,
args
,
1
);
static
v7_val_t
mg_send_js
(
struct
v7
*
v7
)
{
v7_val_t
arg0
=
v7_ar
g
(
v7
,
0
);
v7_val_t
arg1
=
v7_ar
g
(
v7
,
1
);
struct
mg_connection
*
c
=
(
struct
mg_connection
*
)
v7_to_foreign
(
arg0
);
size_t
len
=
0
;
...
...
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