[ocaml-ctypes] How to memcpy?

Andre Nathan andre at digirati.com.br
Tue Jul 26 20:18:57 BST 2016


On 07/26/2016 02:24 PM, Andre Nathan wrote:
> What I couldn't figure out was how do do the equivalent of the memcpy()
> step using Ctypes. I've found Stubs.memcpy but it doesn't seem to be
> exported.

Found this implementation here:

  https://github.com/ocamllabs/ocaml-ctypes/issues/92

Any pointers on how to use it when the source is an OCaml string?

Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ocaml.org/pipermail/ctypes/attachments/20160726/9d60c0e4/attachment.sig>


More information about the Ctypes mailing list