From edf37ae74ccc662f6d2f00291fe99ebf4d73a2d5 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 30 Jan 2021 09:50:47 +0000 Subject: [PATCH] fixed the order flaw in lib/mod-hawk.c --- hawk/lib/mod-hawk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hawk/lib/mod-hawk.c b/hawk/lib/mod-hawk.c index f69e7307..17fa6e94 100644 --- a/hawk/lib/mod-hawk.c +++ b/hawk/lib/mod-hawk.c @@ -427,9 +427,9 @@ static hawk_mod_fnc_tab_t fnctab[] = { HAWK_T("cmgr_exists"), { { 1, 1, HAWK_NULL }, fnc_cmgr_exists, 0 } }, { HAWK_T("function_exists"), { { 1, 1, HAWK_NULL }, fnc_function_exists, 0 } }, { HAWK_T("gc"), { { 0, 1, HAWK_NULL }, fnc_gc, 0 } }, - { HAWK_T("gcrefs"), { { 1, 1, HAWK_NULL }, fnc_gcrefs, 0 } }, { HAWK_T("gc_get_threshold"), { { 1, 1, HAWK_NULL }, fnc_gc_get_threshold, 0 } }, { HAWK_T("gc_set_threshold"), { { 2, 2, HAWK_NULL }, fnc_gc_set_threshold, 0 } }, + { HAWK_T("gcrefs"), { { 1, 1, HAWK_NULL }, fnc_gcrefs, 0 } }, { HAWK_T("isarray"), { { 1, 1, HAWK_NULL }, fnc_isarr, 0 } }, { HAWK_T("ismap"), { { 1, 1, HAWK_NULL }, fnc_ismap, 0 } }, { HAWK_T("isnil"), { { 1, 1, HAWK_NULL }, fnc_isnil, 0 } },