示例#1
0
 static public int DetachByType(IntPtr l)
 {
     try {
         mg.org.Subject self = (mg.org.Subject)checkSelf(l);
         System.String  a1;
         checkType(l, 2, out a1);
         self.DetachByType(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static public int Detach(IntPtr l)
 {
     try {
         mg.org.Subject self = (mg.org.Subject)checkSelf(l);
         System.String  a1;
         checkType(l, 2, out a1);
         mg.org.CALLBACK_1 a2;
         checkDelegate(l, 3, out a2);
         self.Detach(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }