static NodejsFuncInvokeContext() { NodeJsFuncCompleteInstance = new NodejsFuncCompleteDelegate(NodejsFuncComplete); NodejsFuncCompleteCallback = Marshal.GetFunctionPointerForDelegate <NodejsFuncCompleteDelegate>(NodeJsFuncCompleteInstance); }
static NodejsFuncInvokeContext() { NodeJsFuncCompleteInstance = new NodejsFuncCompleteDelegate(NodejsFuncComplete); NodejsFuncCompleteCallback = Marshal.GetFunctionPointerForDelegate<NodejsFuncCompleteDelegate>(NodeJsFuncCompleteInstance); }