3 ms·
@native implies JNI-style definition to be available along the Scala method definition. @extern lets you call straight to C code without any additional ceremony
by densh 10y ago
@native implies JNI-style definition to be available along the Scala method definition. @extern lets you call straight to C code without any additional ceremony, all you need is a single forward declaration.