Ejemplo n.º 1
0
        public void EventTrigger(ulong id, Event evt)
        {
            var local = new librg_event_t();

            unsafe
            {
                TypedReference tr = __makeref(evt);
                local.user_data = (void *)(&tr);
            }

            native.librg_event_trigger(ref ctx, id, ref local);
        }
Ejemplo n.º 2
0
 internal Event(librg_event_t evtarg)
 {
     evt = evtarg;
 }
Ejemplo n.º 3
0
 [DllImport(DLL_PATH)] public static extern void librg_event_reject(ref librg_event_t evt);
Ejemplo n.º 4
0
 [DllImport(DLL_PATH)] public static extern bool librg_event_succeeded(ref librg_event_t evt);
Ejemplo n.º 5
0
 [DllImport(DLL_PATH)] public static extern void librg_event_trigger(ref librg_ctx_t ctx, UInt64 id, ref librg_event_t evt);