commit 35f848852bf7e3fc18d9637b5d87158150e99311
parent a3ac1d64b898ca0564e5b86f93f00063bc639e60
Author: Oto Havle <havleoto@gmail.com>
Date: Sun, 18 Dec 2011 16:04:26 +0100
Updated FFI signal example.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/examples/ffi-signal.c b/src/examples/ffi-signal.c
@@ -60,7 +60,7 @@ static void safe_add_applicative(klisp_State *K, TValue env,
const char *name,
klisp_CFunction fn)
{
- TValue symbol = ksymbol_new(K, name, KNIL);
+ TValue symbol = ksymbol_new_b(K, name, KNIL);
krooted_tvs_push(K, symbol);
TValue value = kmake_applicative(K, fn, 0);
krooted_tvs_push(K, value);