Exemplo n.º 1
0
 public CallbackInvoker(CallbackInfo cbInfo) {
   this.functionInfo =
       new NativeFunctionInfo(
           cbInfo.getRuntime(),
           cbInfo.getReturnType(),
           cbInfo.getParameterTypes(),
           cbInfo.isStdcall() ? CallingConvention.STDCALL : CallingConvention.DEFAULT);
 }
Exemplo n.º 2
0
 public CallbackDataConverter(CallbackInfo cbInfo) {
   this.callbackFactory =
       CallbackManager.getInstance().getCallbackFactory(cbInfo.getRuntime(), cbInfo);
   this.functionInfo =
       new NativeFunctionInfo(
           cbInfo.getRuntime(),
           cbInfo.getReturnType(),
           cbInfo.getParameterTypes(),
           cbInfo.isStdcall() ? CallingConvention.STDCALL : CallingConvention.DEFAULT);
 }
Exemplo n.º 3
0
 public CallbackInvoker(CallbackInfo cbInfo) {
   this.returnType = cbInfo.getReturnType();
   this.parameterTypes = cbInfo.getParameterTypes();
 }