Exemplo n.º 1
0
        public static void LogGetOutputFunction(
            out LogOutputFunction callback,
            out IntPtr userdata
            )
        {
            IntPtr result = IntPtr.Zero;

            LogGetOutputFunction(
                out result,
                out userdata
                );
            if (result != IntPtr.Zero)
            {
                callback = (LogOutputFunction)Marshal.GetDelegateForFunctionPointer(
                    result,
                    typeof(LogOutputFunction)
                    );
            }
            else
            {
                callback = null;
            }
        }
Exemplo n.º 2
0
 public static extern void LogSetOutputFunction(
     LogOutputFunction callback,
     IntPtr userdata
     );