Exemplo n.º 1
0
        public static void Init(Action <LogType, string, string, Exception> onLog)
        {
            QueryPerformanceFrequency(out s_performanceFrequency);

            s_onLog = onLog;
            s_onLogCallbackFunction = new LogCallbackFunction((s, p, m) => onLog((LogType)s, p, "  -" + m.TrimEnd('\n'), null));
            StreamerConstants c = new StreamerConstants();

            Core_Init(Marshal.GetFunctionPointerForDelegate(s_onLogCallbackFunction), ref c);
            Const  = c;
            Const2 = new StreamerConstants2(c);

            ExtensionsManager.Init();
        }
Exemplo n.º 2
0
 public static void Shutdown()
 {
     ExtensionsManager.Shutdown();
 }
Exemplo n.º 3
0
 public static void InitOnMain()
 {
     ExtensionsManager.InitOnMain();
 }