MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / any_hash

Function any_hash

tutorials/integration/cpp/06_interop.cpp:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103// -----------------------------------------------------------------------
104
105vec4f any_hash(Context & context, SimNode_CallBase * call, vec4f * args) {
106 auto h = hash_value(context, args[0], call->types[0]);
107 return cast<uint64_t>::from(h);
108}
109
110// -----------------------------------------------------------------------
111// Interop function 4: struct_field_names

Callers

nothing calls this directly

Calls 1

hash_valueFunction · 0.85

Tested by

no test coverage detected