skeleton nif that runs

This commit is contained in:
Scott Chacon
2010-05-24 16:44:36 -07:00
commit 89c86150c8
4 changed files with 103 additions and 0 deletions

11
geef.erl Normal file
View File

@@ -0,0 +1,11 @@
-module(geef).
-export([start/0, object_exists/1]).
start() ->
erlang:load_nif("geef", 0).
object_exists(_Val) ->
nif_error(?LINE).
nif_error(Line) ->
exit({nif_not_loaded,module,?MODULE,line,Line}).