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