@@ -8,27 +8,27 @@ void _call_host_function_impl(const JavaScriptHostFuncRef host_func_ref,
88 const JavaScriptObjectRef callback_func );
99
1010__attribute__((export_name ("swjs_call_host_function" )))
11- void _call_host_function (const JavaScriptHostFuncRef host_func_ref ,
12- const RawJSValue * argv , const int argc ,
13- const JavaScriptObjectRef callback_func ) {
11+ void swjs_call_host_function (const JavaScriptHostFuncRef host_func_ref ,
12+ const RawJSValue * argv , const int argc ,
13+ const JavaScriptObjectRef callback_func ) {
1414 _call_host_function_impl (host_func_ref , argv , argc , callback_func );
1515}
1616
1717__attribute__((export_name ("swjs_prepare_host_function_call" )))
18- void * _prepare_host_function_call (const int argc ) {
18+ void * swjs_prepare_host_function_call (const int argc ) {
1919 return malloc (argc * sizeof (RawJSValue ));
2020}
2121
2222__attribute__((export_name ("swjs_cleanup_host_function_call" )))
23- void _cleanup_host_function_call (void * argv_buffer ) {
23+ void swjs_cleanup_host_function_call (void * argv_buffer ) {
2424 free (argv_buffer );
2525}
2626
2727/// The compatibility runtime library version.
2828/// Notes: If you change any interface of runtime library, please increment
2929/// this and `SwiftRuntime.version` in `./Runtime/src/index.ts`.
3030__attribute__((export_name ("swjs_library_version" )))
31- int _library_version () {
31+ int swjs_library_version () {
3232 return 701 ;
3333}
3434
0 commit comments