[erlang-questions 6] enif_get_double

Filipe David Manana <>
Fri Mar 25 15:56:14 CET 2011


Is there any equivalent in R13B03?

My initial though was through C pre processor macros, test the OTP
major and minor release macros, and if it's R13B03 to define this
function as it defined in the R13B04 source (erl_nif.c), however it
depends on a few OTP internals (which depend on other ones, etc) not
exported - i know, this sounds too hackish, but was wondering if I
could make a NIF run in R13B03, R13B04 and R14 by playing with C pre
processor macros.

regards

-- 
Filipe David Manana,
, 

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."



More information about the erlang-questions mailing list