' CORE
DECLARE SUB js_create ALIAS "js_create" LIB "js"
DECLARE SUB js_destroy ALIAS "js_destroy" LIB "js"
DECLARE SUB js_get_global ALIAS "js_get_global" LIB "js"
DECLARE SUB js_get_this ALIAS "js_get_this" LIB "js"
DECLARE SUB js_get_arguments ALIAS "js_get_arguments" LIB "js"
DECLARE SUB js_get_arg ALIAS "js_get_arg" LIB "js"
DECLARE SUB js_get_argc ALIAS "js_get_argc" LIB "js"
DECLARE SUB js_own ALIAS "js_own" LIB "js"
DECLARE SUB js_disown ALIAS "js_disown" LIB "js"
DECLARE SUB js_set_gc_enabled ALIAS "js_set_gc_enabled" LIB "js"
DECLARE SUB js_interrupt ALIAS "js_interrupt" LIB "js"
DECLARE SUB js_get_parser_error ALIAS "js_get_parser_error" LIB "js"
' PRIMITIVES
DECLARE SUB js_mk_number ALIAS "js_mk_number" LIB "js"
DECLARE SUB js_get_double ALIAS "js_get_double" LIB "js"
DECLARE SUB js_get_int ALIAS "js_get_int" LIB "js"
DECLARE SUB js_is_number ALIAS "js_is_number" LIB "js"
DECLARE SUB js_mk_boolean ALIAS "js_mk_boolean" LIB "js"
DECLARE SUB js_get_bool ALIAS "js_get_bool" LIB "js"
DECLARE SUB js_is_boolean ALIAS "js_is_boolean" LIB "js"
DECLARE SUB js_mk_null ALIAS "js_mk_null" LIB "js"
DECLARE SUB js_is_null ALIAS "js_is_null" LIB "js"
DECLARE SUB js_mk_undefined ALIAS "js_mk_undefined" LIB "js"
DECLARE SUB js_is_undefined ALIAS "js_is_undefined" LIB "js"
DECLARE SUB js_mk_foreign ALIAS "js_mk_foreign" LIB "js"
DECLARE SUB js_get_ptr ALIAS "js_get_ptr" LIB "js"
DECLARE SUB js_is_foreign ALIAS "js_is_foreign" LIB "js"
' STRINGS
DECLARE SUB js_mk_string ALIAS "js_mk_string" LIB "js"
DECLARE SUB js_is_string ALIAS "js_is_string" LIB "js"
DECLARE SUB js_get_string ALIAS "js_get_string" LIB "js"
DECLARE SUB js_get_cstring ALIAS "js_get_cstring" LIB "js"
' OBJECTS
DECLARE SUB js_mk_object ALIAS "js_mk_object" LIB "js"
DECLARE SUB js_is_object ALIAS "js_is_object" LIB "js"
DECLARE SUB js_get_proto ALIAS "js_get_proto" LIB "js"
DECLARE SUB js_set_proto ALIAS "js_set_proto" LIB "js"
DECLARE SUB js_get ALIAS "js_get" LIB "js"
DECLARE SUB js_def ALIAS "js_def" LIB "js"
DECLARE SUB js_set ALIAS "js_set" LIB "js"
DECLARE SUB js_del ALIAS "js_del" LIB "js"
DECLARE SUB js_init_prop_iter_ctx ALIAS "js_init_prop_iter_ctx" LIB "js"
DECLARE SUB js_next_prop ALIAS "js_next_prop" LIB "js"
DECLARE SUB js_destruct_prop_iter_ctx ALIAS "js_destruct_prop_iter_ctx" LIB "js"
DECLARE SUB js_is_instanceof ALIAS "js_is_instanceof" LIB "js"
DECLARE SUB js_is_instanceof_v ALIAS "js_is_instanceof_v" LIB "js"
' ARRAYS
DECLARE SUB js_mk_array ALIAS "js_mk_array" LIB "js"
DECLARE SUB js_is_array ALIAS "js_is_array" LIB "js"
DECLARE SUB js_array_length ALIAS "js_array_length" LIB "js"
DECLARE SUB js_array_push ALIAS "js_array_push" LIB "js"
DECLARE SUB js_array_get ALIAS "js_array_get" LIB "js"
DECLARE SUB js_array_set ALIAS "js_array_set" LIB "js"
DECLARE SUB js_array_del ALIAS "js_array_del" LIB "js"
' EXECUTION
DECLARE SUB js_exec ALIAS "js_exec" LIB "js"
DECLARE SUB js_exec_file ALIAS "js_exec_file" LIB "js"
DECLARE SUB js_apply ALIAS "js_apply" LIB "js"
DECLARE SUB js_parse_json ALIAS "js_parse_json" LIB "js"
DECLARE SUB js_parse_json_file ALIAS "js_parse_json_file" LIB "js"
'REGEX
DECLARE SUB js_mk_regexp ALIAS "js_mk_regexp" LIB "js"
DECLARE SUB js_is_regexp ALIAS "js_is_regexp" LIB "js"
' UTILITY
DECLARE SUB js_stringify ALIAS "js_stringify" LIB "js"
DECLARE SUB js_println ALIAS "js_println" LIB "js"
DECLARE SUB SB_shifts ALIAS "SB_shifts" LIB "js"
DECLARE COMMAND js_iif ALIAS "js_iif" LIB "js"