Skip to content
Snippets Groups Projects
Commit 823ba5e7 authored by Niels Möller's avatar Niels Möller
Browse files

Use add_function instead of add_efun, for hex_to_string and string_to_hex.

Rev: src/modules/_Crypto/crypto.c:1.13
parent 583954ba
No related branches found
No related tags found
No related merge requests found
/*
* $Id: crypto.c,v 1.12 1997/02/12 06:10:04 nisse Exp $
* $Id: crypto.c,v 1.13 1997/02/15 22:03:03 nisse Exp $
*
* A pike module for getting access to some common cryptos.
*
......@@ -487,8 +487,8 @@ void MOD_EXIT(crypto)(void) {}
void pike_module_init(void)
{
add_efun("string_to_hex", f_string_to_hex, "function(string:string)", OPT_TRY_OPTIMIZE);
add_efun("hex_to_string", f_hex_to_string, "function(string:string)", OPT_TRY_OPTIMIZE);
add_function("string_to_hex", f_string_to_hex, "function(string:string)", OPT_TRY_OPTIMIZE);
add_function("hex_to_string", f_hex_to_string, "function(string:string)", OPT_TRY_OPTIMIZE);
#if 0
MOD_INIT(md2)();
MOD_INIT(md5)();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment