public int setPackageName(string name) { int ret = libsbmlPINVOKE.ASTBase_setPackageName(swigCPtr, name); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }