@@ -332,18 +332,16 @@ bool rb_abi_guest_rb_set_should_prohibit_rewind(bool value) {
332332 return old ;
333333}
334334
335-
336335// Exported Functions from `ruby:js/ruby-runtime`
337336void exports_ruby_js_ruby_runtime_ruby_show_version (void ) {
338337 rb_abi_guest_ruby_show_version ();
339338}
340- void exports_ruby_js_ruby_runtime_ruby_init (void ) {
341- rb_abi_guest_ruby_init ();
342- }
339+ void exports_ruby_js_ruby_runtime_ruby_init (void ) { rb_abi_guest_ruby_init (); }
343340void exports_ruby_js_ruby_runtime_ruby_sysinit (ext_list_string_t * args ) {
344341 rb_abi_guest_ruby_sysinit (args );
345342}
346- exports_ruby_js_ruby_runtime_own_rb_iseq_t exports_ruby_js_ruby_runtime_ruby_options (ext_list_string_t * args ) {
343+ exports_ruby_js_ruby_runtime_own_rb_iseq_t
344+ exports_ruby_js_ruby_runtime_ruby_options (ext_list_string_t * args ) {
347345 return rb_abi_guest_ruby_options (args );
348346}
349347void exports_ruby_js_ruby_runtime_ruby_script (ext_string_t * name ) {
@@ -352,22 +350,32 @@ void exports_ruby_js_ruby_runtime_ruby_script(ext_string_t *name) {
352350void exports_ruby_js_ruby_runtime_ruby_init_loadpath (void ) {
353351 rb_abi_guest_ruby_init_loadpath ();
354352}
355- void exports_ruby_js_ruby_runtime_rb_eval_string_protect (ext_string_t * str , exports_ruby_js_ruby_runtime_tuple2_own_rb_abi_value_s32_t * ret ) {
353+ void exports_ruby_js_ruby_runtime_rb_eval_string_protect (
354+ ext_string_t * str ,
355+ exports_ruby_js_ruby_runtime_tuple2_own_rb_abi_value_s32_t * ret ) {
356356 rb_abi_guest_rb_eval_string_protect (str , ret );
357357}
358- void exports_ruby_js_ruby_runtime_rb_funcallv_protect (exports_ruby_js_ruby_runtime_borrow_rb_abi_value_t recv , exports_ruby_js_ruby_runtime_rb_id_t mid , exports_ruby_js_ruby_runtime_list_borrow_rb_abi_value_t * args , exports_ruby_js_ruby_runtime_tuple2_own_rb_abi_value_s32_t * ret ) {
358+ void exports_ruby_js_ruby_runtime_rb_funcallv_protect (
359+ exports_ruby_js_ruby_runtime_borrow_rb_abi_value_t recv ,
360+ exports_ruby_js_ruby_runtime_rb_id_t mid ,
361+ exports_ruby_js_ruby_runtime_list_borrow_rb_abi_value_t * args ,
362+ exports_ruby_js_ruby_runtime_tuple2_own_rb_abi_value_s32_t * ret ) {
359363 rb_abi_guest_rb_funcallv_protect (recv , mid , args , ret );
360364}
361- exports_ruby_js_ruby_runtime_rb_id_t exports_ruby_js_ruby_runtime_rb_intern (ext_string_t * name ) {
365+ exports_ruby_js_ruby_runtime_rb_id_t
366+ exports_ruby_js_ruby_runtime_rb_intern (ext_string_t * name ) {
362367 return rb_abi_guest_rb_intern (name );
363368}
364- exports_ruby_js_ruby_runtime_own_rb_abi_value_t exports_ruby_js_ruby_runtime_rb_errinfo (void ) {
369+ exports_ruby_js_ruby_runtime_own_rb_abi_value_t
370+ exports_ruby_js_ruby_runtime_rb_errinfo (void ) {
365371 return rb_abi_guest_rb_errinfo ();
366372}
367373void exports_ruby_js_ruby_runtime_rb_clear_errinfo (void ) {
368374 rb_abi_guest_rb_clear_errinfo ();
369375}
370- void exports_ruby_js_ruby_runtime_rstring_ptr (exports_ruby_js_ruby_runtime_borrow_rb_abi_value_t value , ext_string_t * ret ) {
376+ void exports_ruby_js_ruby_runtime_rstring_ptr (
377+ exports_ruby_js_ruby_runtime_borrow_rb_abi_value_t value ,
378+ ext_string_t * ret ) {
371379 rb_abi_guest_rstring_ptr (value , ret );
372380}
373381void exports_ruby_js_ruby_runtime_rb_vm_bugreport (void ) {
@@ -379,9 +387,9 @@ bool exports_ruby_js_ruby_runtime_rb_gc_enable(void) {
379387bool exports_ruby_js_ruby_runtime_rb_gc_disable (void ) {
380388 return rb_abi_guest_rb_gc_disable ();
381389}
382- bool exports_ruby_js_ruby_runtime_rb_set_should_prohibit_rewind (bool new_value ) {
390+ bool exports_ruby_js_ruby_runtime_rb_set_should_prohibit_rewind (
391+ bool new_value ) {
383392 return rb_abi_guest_rb_set_should_prohibit_rewind (new_value );
384393}
385394
386-
387395void Init_witapi (void ) {}
0 commit comments