[erlang-questions] Drive by mention of new features without explaination

Ulf Wiger ulf.wiger@REDACTED
Mon Dec 7 21:34:43 CET 2009


Zoltan Lajos Kis wrote:
> 
> The on_load function expects 'true' to be returned, whereas 
> erlang:load_nif returns with 'ok' (which is definitely not 'true'). This 
> will result in your module being unloaded.
> Solution:
> 
> run_me() ->
>      erlang:load_nif("./niftest", 0),
>      true.

Hmm...

Given that the NIF support is flagged as experimental,
could this perhaps be fixed?

BR,
Ulf W
-- 
Ulf Wiger
CTO, Erlang Training & Consulting Ltd
http://www.erlang-consulting.com


More information about the erlang-questions mailing list