MCPcopy Create free account
hub / github.com/crownengine/crown / compile

Function compile

src/resource/state_machine_resource.cpp:480–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478 };
479
480 s32 compile(CompileOptions &opts)
481 {
482 Buffer buf = opts.read();
483
484 StateMachineCompiler smc(opts);
485 s32 err = 0;
486 err = smc.parse(buf);
487 ENSURE_OR_RETURN(STATE_MACHINE_RESOURCE, err == 0, opts);
488
489 return smc.write();
490 }
491
492} // namespace state_machine_resource_internal
493#endif // if CROWN_CAN_COMPILE

Callers 1

compute_state_offsetsMethod · 0.70

Calls 3

readMethod · 0.45
parseMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected