private bool SwigDirectorload(IntPtr factory, IntPtr s) { return load((factory == IntPtr.Zero) ? null : new MgShapeFactory(factory, false), (s == IntPtr.Zero) ? null : new MgStorage(s, false)); }