py_CFunction typedef

py_CFunction = Pointer<NativeFunction<Bool Function(Int argc, py_StackRef argv)>>

Native function signature. @param argc number of arguments. @param argv array of arguments. Use py_arg(i) macro to get the i-th argument. @return true if the function is successful or false if an exception is raised.

Implementation

typedef py_CFunction = ffi.Pointer<
    ffi.NativeFunction<ffi.Bool Function(ffi.Int argc, py_StackRef argv)>>;