MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / create_game_object

Function create_game_object

test/embind/embind_benchmark.cpp:100–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98typedef std::shared_ptr<GameObject> GameObjectPtr;
99
100GameObjectPtr create_game_object() {
101 return std::make_shared<GameObject>();
102}
103
104GameObjectPtr __attribute__((noinline)) pass_gameobject_ptr(GameObjectPtr p) {
105 return p;

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected