[erlang-questions] NIF Problem
Thu Apr 28 20:01:38 CEST 2011
On Thu, Apr 28, 2011 at 4:07 AM, Jachym Holecek <freza@REDACTED>wrote:
> Just a random guess really, but your key_bin doesn't seem to be a proper
> suitable for returning to Erlang, shoudln't you run enif_make_binary() on
> The compiler should warn you about that too, unless ERL_NIF_TERM is
> hopelessly vague like "void *"...
> -- Jachym
That was a really good random guess. :) Replaced that with the term passed
in (since it doesn't change) and it worked perfectly.
Thanks for your sharp eyes!
*Read the Software Maven @ http://softwaremaven.innerbrane.com/
Read my LinkedIn profile @ http://www.linkedin.com/in/travisjensen
Read my Twitter mumblings @ http://twitter.com/SoftwareMaven
Send me email @ travis.jensen@REDACTED
**What kind of guy calls himself the Software Maven???**
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions