MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / api_buffer_val

Function api_buffer_val

include/hx/CFFINekoLoader.h:446–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444
445
446neko_value api_buffer_val(neko_buffer arg1)
447{
448 if (neko_val_is_string(arg1))
449 return (neko_value)arg1;
450
451 if (neko_val_is_object(arg1))
452 {
453 neko_value s = dyn_val_field((neko_value)arg1,__s_id);
454 if (neko_val_is_string(s))
455 return (neko_value)(s);
456 }
457
458
459 return api_alloc_null();
460}
461
462
463void api_hx_error()

Callers

nothing calls this directly

Calls 1

api_alloc_nullFunction · 0.85

Tested by

no test coverage detected