static public int DetachByType(IntPtr l) { try { mg.org.CCModule self = (mg.org.CCModule)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)); } }
static public int Attach(IntPtr l) { try { mg.org.CCModule self = (mg.org.CCModule)checkSelf(l); System.String a1; checkType(l, 2, out a1); mg.org.CALLBACK_1 a2; checkDelegate(l, 3, out a2); System.Object a3; checkType(l, 4, out a3); self.Attach(a1, a2, a3); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }