More sensible signature functions

Remove all of the older functions. Bind git_signature_default() and
implement the _now() equivalent in erlang.
This commit is contained in:
Carlos Martín Nieto
2013-10-15 22:22:49 +02:00
parent 72078cb099
commit 05e1781356
6 changed files with 81 additions and 22 deletions

View File

@@ -184,8 +184,7 @@ static ErlNifFunc geef_funcs[] =
{"index_nth", 2, geef_index_nth},
{"index_clear", 1, geef_index_clear},
{"index_read_tree", 2, geef_index_read_tree},
{"signature_new", 2, geef_signature_new},
{"signature_new", 3, geef_signature_new},
{"signature_default", 1, geef_signature_default},
};
ERL_NIF_INIT(geef_nif, geef_funcs, load, NULL, upgrade, unload)