From bf8522625f55fa2657dee3b9356b20fa0dba725f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 26 May 2021 13:28:07 +0200 Subject: treewide: move ressource type registry into vm instance Signed-off-by: Jo-Philipp Wich --- lib/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/math.c') diff --git a/lib/math.c b/lib/math.c index 8f8466e..0adfaf8 100644 --- a/lib/math.c +++ b/lib/math.c @@ -158,7 +158,7 @@ static const uc_cfunction_list math_fns[] = { { "srand", uc_srand }, }; -void uc_module_init(uc_value_t *scope) +void uc_module_init(uc_vm *vm, uc_value_t *scope) { uc_add_proto_functions(scope, math_fns); } -- cgit v1.2.3