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

Function api_val_string

include/hx/CFFINekoLoader.h:186–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185
186const char * api_val_string(neko_value arg1)
187{
188 if (neko_val_is_string(arg1))
189 return neko_val_string(arg1);
190
191 if (neko_val_is_object(arg1))
192 {
193 neko_value s = dyn_val_field(arg1,__s_id);
194 if (neko_val_is_string(s))
195 return neko_val_string(s);
196 }
197
198 return 0;
199}
200
201void api_alloc_field_numeric(neko_value arg1,int arg2, double arg3)
202{

Callers 5

api_val_to_bufferFunction · 0.85
api_buffer_dataFunction · 0.85
api_val_dup_stringFunction · 0.85
api_alloc_buffer_lenFunction · 0.85
api_val_wstringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected