JniActual
Indicates that a function (public or internal) is the actual implementation of a function expected to be provided through JNI.
Should be applied to functions that:
are top-level
have no context parameter or a single one of type
JniEnvhave a receiver of type
JObjectorJClassor don't have any receiver.
A function may also declare a native-memory placement context parameter: AutofreeScope, NativePlacement, ArenaBase or MemScope. So the body can allocate through the placement.