-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A .js subpackage? #63
Comments
djs55
pushed a commit
to djs55/ocaml-cstruct
that referenced
this issue
May 31, 2015
This allows javascript programs to use the full cstruct library. Note: to link the stubs you must add the argument `+cstruct/cstruct.js` to the js_of_ocaml command-line. Fixes mirage#63 Signed-off-by: David Scott <dave.scott@citrix.com>
This was referenced May 31, 2015
Merged
Would be useful. I also defined my own versions of some of these: https://github.com/talex5/cuekeeper/blob/master/js/helpers.js |
djs55
pushed a commit
to djs55/ocaml-cstruct
that referenced
this issue
Jun 2, 2015
This allows javascript programs to use the full cstruct library. Note: to link the stubs you must add the argument `+cstruct/cstruct.js` to the js_of_ocaml command-line. Fixes mirage#63 Signed-off-by: David Scott <dave.scott@citrix.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was just experimenting creating a 'tutorial' iocamljs notebook for [mirage/ocaml-vchan] in the style of [avsm/ocaml-dockerfile]. Several Mirage libraries use a small number of C bindings which would need to be implemented somewhere for javascript.
Does it make sense to create a
cstruct.js
which would contain the needed external functions?The text was updated successfully, but these errors were encountered: