[erlang-questions] Proper type for passing pointer to/from linked-in driver?

Joel Meyer joel.meyer@REDACTED
Thu Aug 11 01:42:09 CEST 2011


What's the recommended way to pass a pointer between a linked-in driver and
the beam? I can cast it to a uint64_t and use ErlDrvUInt64 (and do the
reverse when sending it back to the driver), but maybe there's a better way?

Thanks,
Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110810/7be707cb/attachment.htm>


More information about the erlang-questions mailing list