Replies: 1 comment
-
We should probably be stripping those off yes. You should be able to two
However if you just want to call into en external JS function you might want to consider using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's my (incorrect) attempt to implement
execve
:It doesn't work, because the generated JS code in module file looks like this:
(The problem is that
[]
in function arguments cause syntax error in JS)How should I implement it correctly?
P.S. I tried to use
char **const argv, char **const envp
as arguments (instead of*...[]
), but then the signature doesn't match, and the compilation fails.Beta Was this translation helpful? Give feedback.
All reactions