コード例 #1
0
        private static void SetLogFunction(NativeLogFunction fn)
        {
            int rc = NativeInitLogFunction(fn);

            if (rc != 0)
            {
                throw new Exception("Cannot initialize log function");
            }
        }
コード例 #2
0
 private static extern int NativeInitLogFunction(NativeLogFunction fn);