Description
Nitrogen generates a registerAllNatives() API but its deprecation replacement, JNI_OnLoad example, and HybridObjectRegistry::createHybridObject() setup error all instruct users to call namespace-level registerNatives(), which does not exist. Following the generated migration or error guidance fails to compile instead of registering HybridObjects.
Expected behavior
All generated declarations, examples, and runtime setup guidance should consistently reference the generated registerAllNatives() function.
Description
Nitrogen generates a
registerAllNatives()API but its deprecation replacement, JNI_OnLoad example, andHybridObjectRegistry::createHybridObject()setup error all instruct users to call namespace-levelregisterNatives(), which does not exist. Following the generated migration or error guidance fails to compile instead of registering HybridObjects.Expected behavior
All generated declarations, examples, and runtime setup guidance should consistently reference the generated
registerAllNatives()function.