internal static HandleRef getCPtr(ASTBase obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
int replaceChild(long n, ASTBase newChild, bool delreplaced) { int ret = libsbmlPINVOKE.ASTBasePlugin_replaceChild(swigCPtr, n, ASTBase.getCPtr(newChild), delreplaced); return(ret); }