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

Function funcdecl_result_c

engine/jni/scripts/gen_java.py:308–312  ·  view source on GitHub ↗
(decl, prefix)

Source from the content-addressed store, hash-verified

306 return s
307
308def funcdecl_result_c(decl, prefix):
309 func_name = decl['name']
310 decl_type = decl['type']
311 result_type = check_override(f'{func_name}.RESULT', default=decl_type[:decl_type.index('(')].strip())
312 return as_c_arg_type(result_type, prefix)
313
314def gen_struct(decl, namespace):
315 global struct_types

Callers

nothing calls this directly

Calls 2

check_overrideFunction · 0.85
indexMethod · 0.80

Tested by

no test coverage detected