Permalink
Browse files

fix remove arity

  • Loading branch information...
1 parent 779c8bf commit ef34b624870747ea0c1b08348d0d1d4815e8aaff Ali Yakamercan committed Aug 14, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 c_src/cberl_nif.c
  2. +2 −2 src/cberl_nif.erl
View
@@ -43,7 +43,7 @@ static ErlNifFunc nif_funcs[] =
{"unlock", 3, cberl_nif_unlock},
{"mtouch", 3, cberl_nif_mtouch},
{"arithmetic", 6, cberl_nif_arithmetic},
- {"remove", 2, cberl_nif_remove},
+ {"remove", 3, cberl_nif_remove},
{"destroy", 1, cberl_nif_destroy}
};
View
@@ -7,7 +7,7 @@
unlock/3,
mtouch/3,
arithmetic/6,
- remove/2,
+ remove/3,
destroy/1]).
-on_load(init/0).
@@ -53,7 +53,7 @@ mtouch(_Instance, _Key, _Exp) ->
arithmetic(_Instance, _Key, _Delta, _Exp, _Create, _Initial) ->
?nif_stub.
-remove(_Instance, _Key) ->
+remove(_Instance, _Key, _Cas) ->
?nif_stub.
destroy(_Instance) ->

0 comments on commit ef34b62

Please sign in to comment.