addRegisterFunc<T extends Function> method
void
addRegisterFunc<T extends Function>(
- String registerHeader,
- int type,
- Pointer<
NativeFunction< func,T> > - AddCallFuncDartType<
T> registerFunc,
Implementation
void addRegisterFunc<T extends Function>(String registerHeader, int type,
Pointer<NativeFunction<T>> func, AddCallFuncDartType<T> registerFunc) {
var registerHeaderPointer = registerHeader.toNativeUtf16();
registerFunc(_id, registerHeaderPointer, type, func);
free(registerHeaderPointer);
}