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

Function getAbstract

test/cffi/project/Project.cpp:336–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334
335
336value getAbstract(value inAbstract)
337{
338 void *data = val_to_kind(inAbstract,myKind);
339 if (!data)
340 return alloc_int(-1);
341
342 return alloc_int(*(int *)data);
343}
344DEFINE_PRIM(getAbstract, 1);
345
346

Callers

nothing calls this directly

Calls 2

val_to_kindFunction · 0.85
alloc_intFunction · 0.50

Tested by

no test coverage detected