native_api_hash.h¶
| File Path | engine/include/conjure/scripting/native_api_hash.h |
| API ↗ | Hosting, the native API and hot reload, Scripting |
Generated by tools/generate_native_api.py from native_api.inl and the records of native_api.h. Do not edit; regenerate instead. CONJURE_NATIVE_API_HASH is the FNV-1a 64 of every normalised entry line, then of every line of the conjure_* records, enumerations and the two tables' members (see the generator); the managed side bakes the same value into NativeApi.g.cs and the handshake compares them. CONJURE_NATIVE_API_FOR_EACH_ENTRY(X) invokes X(group, name, "<return> <arguments>") per entry in table order: the descriptor table native_entry_descriptors() is built from it. CONJURE_NATIVE_API_FOR_EACH_RECORD_LINE(X) invokes X("<line>") per record line in header order: compute_native_api_hash() folds them after the entries.