Permalink
Browse files

add note pointing to c_src NIF definitions

  • Loading branch information...
1 parent 91b57f3 commit d0d2cb5f8ce48579638cb97636adc6e9ffd19588 justin committed Sep 27, 2010
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/bitcask_nifs.erl
View
@@ -121,6 +121,16 @@ init() ->
end,
erlang:load_nif(SoName, 0).
+%% ===================================================================
+%% Internal functions
+%% ===================================================================
+%%
+%% Most of the functions below are actually defined in c_src/bitcask_nifs.c
+%% See that file for the real functionality of the bitcask_nifs module.
+%% The definitions here are only to satisfy trivial static analysis.
+%%
+
+
keydir_new() ->
case random:uniform(999999999999) of
666 -> {ok, make_ref()};

0 comments on commit d0d2cb5

Please sign in to comment.