@@ -325,20 +325,20 @@ int KAOS_EXPORT KaosRegister(struct Kaos _kaos)
325
325
kaos = _kaos ;
326
326
327
327
// Dictionary Operations
328
- kaos .defineFunction ("keys" , K_LIST , K_ANY , keys_params_name , keys_params_type , keys_params_length );
329
- kaos .defineFunction ("values" , K_LIST , K_ANY , values_params_name , values_params_type , values_params_length );
330
- kaos .defineFunction ("flip" , K_DICT , K_ANY , flip_params_name , flip_params_type , flip_params_length );
328
+ kaos .defineFunction ("keys" , K_LIST , K_ANY , keys_params_name , keys_params_type , keys_params_length , NULL , 0 );
329
+ kaos .defineFunction ("values" , K_LIST , K_ANY , values_params_name , values_params_type , values_params_length , NULL , 0 );
330
+ kaos .defineFunction ("flip" , K_DICT , K_ANY , flip_params_name , flip_params_type , flip_params_length , NULL , 0 );
331
331
332
332
// JSON Related
333
- kaos .defineFunction ("encode" , K_STRING , K_ANY , encode_params_name , encode_params_type , encode_params_length );
334
- kaos .defineFunction ("decode" , K_DICT , K_ANY , decode_params_name , decode_params_type , decode_params_length );
333
+ kaos .defineFunction ("encode" , K_STRING , K_ANY , encode_params_name , encode_params_type , encode_params_length , NULL , 0 );
334
+ kaos .defineFunction ("decode" , K_DICT , K_ANY , decode_params_name , decode_params_type , decode_params_length , NULL , 0 );
335
335
336
336
// Searching & Replacing
337
- kaos .defineFunction ("search" , K_STRING , K_ANY , search_params_name , search_params_type , search_params_length );
338
- kaos .defineFunction ("replace" , K_DICT , K_ANY , replace_params_name , replace_params_type , replace_params_length );
337
+ kaos .defineFunction ("search" , K_STRING , K_ANY , search_params_name , search_params_type , search_params_length , NULL , 0 );
338
+ kaos .defineFunction ("replace" , K_DICT , K_ANY , replace_params_name , replace_params_type , replace_params_length , NULL , 0 );
339
339
340
340
// Information Functions
341
- kaos .defineFunction ("count" , K_NUMBER , K_ANY , count_params_name , count_params_type , count_params_length );
341
+ kaos .defineFunction ("count" , K_NUMBER , K_ANY , count_params_name , count_params_type , count_params_length , NULL , 0 );
342
342
343
343
return 0 ;
344
344
}
0 commit comments