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

Function fields

test/cffi/project/Project.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67DEFINE_PRIME3(distance3D);
68
69void fields(value object)
70{
71 if ( val_is_null(object))
72 printf("null fields\n");
73 else
74 printf("x : %f\n", val_field_numeric(object, val_id("x")) );
75}
76DEFINE_PRIME1v(fields);
77
78

Callers

nothing calls this directly

Calls 3

val_is_nullFunction · 0.85
val_field_numericFunction · 0.50
val_idFunction · 0.50

Tested by

no test coverage detected