Primitive Helper
object PrimitiveHelper
PrimitiveHelper aggregates utility functions for reuse by the various pojo subsystem primitives.
Author
Todd L Smith
Functions
Link copied to clipboard
fun rawPojoInvokerFunctionFromFunctionType(primitive: Primitive, functionType: A_Type, vararg outerTypes: A_Type): A_RawFunction
Synthesize a raw function. It should have the given function type, and expect to be instantiated as a function with the given types of outers. It should also be Primitive, with failure code to invoke the HookType.RAISE_JAVA_EXCEPTION_IN_AVAIL if a Java Throwable is caught and made available in the failure variable.