コード例 #1
0
ファイル: Camel.cs プロジェクト: johnnyjacob/evolution
 protected void addEvent(String name, ref int hookid, CamelEventFunc hook, Delegate value)
 {
     if (hookid == -1)
         hookid = camel_object_hook_event(cobject, name, hook, (IntPtr)0);
     events.AddHandler(name, value);
 }
コード例 #2
0
ファイル: Camel.cs プロジェクト: johnnyjacob/evolution
 public static extern int camel_object_hook_event(IntPtr raw, string name, CamelEventFunc func, IntPtr data);