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

Function is_struct_ptr

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

Source from the content-addressed store, hash-verified

272 return is_prim_ptr(s) and 'const' in s
273
274def is_struct_ptr(s):
275 c_type, _ = util.extract_ptr_type2(s)
276 return c_type in struct_types
277
278def is_const_struct_ptr(s):
279 return is_struct_ptr(s) and 'const' in s

Callers 6

is_const_struct_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