MCPcopy Create free account
hub / github.com/defold/defold / is_prim_ptr

Function is_prim_ptr

engine/jni/scripts/gen_java.py:267–269  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

265 return s in enum_types
266
267def is_prim_ptr(s):
268 c_type, _ = util.extract_ptr_type2(s)
269 return c_type in prim_types
270
271def is_const_prim_ptr(s):
272 return is_prim_ptr(s) and 'const' in s

Callers 6

is_const_prim_ptrFunction · 0.85
gen_structFunction · 0.85
gen_jni_type_initFunction · 0.85
has_arrayFunction · 0.85
gen_to_jni_create_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected