[erlang-questions] Proper type for passing pointer to/from linked-in driver?
Thu Aug 11 07:34:39 CEST 2011
That's how I did it in my old driver. Then I switched to a NIF and life was
so much easier with resources. You should think about using a NIF instead of
On Thu, Aug 11, 2011 at 1:42 AM, Joel Meyer <> wrote:
> 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?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions