private bool SwigDirectorfilter(IntPtr element) { return filter((element == IntPtr.Zero) ? null : new SBase(element, false)); }