Load the NIF automatically
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
-module(geef).
|
-module(geef).
|
||||||
-export([start/0, hex_to_raw/1, object_exists/2]).
|
-export([start/0, hex_to_raw/1, object_exists/2]).
|
||||||
|
-on_load(start/0).
|
||||||
|
|
||||||
start() ->
|
start() ->
|
||||||
case code:priv_dir(geef) of
|
case code:priv_dir(geef) of
|
||||||
|
|||||||
Reference in New Issue
Block a user