static public int Apply(IntPtr l) { try { FairyGUI.GearDisplay self = (FairyGUI.GearDisplay)checkSelf(l); self.Apply(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }