internal static HandleRef getCPtr(SWIGTYPE_p_LocalResource obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public static bool Description_Register(int id, string /* constString&_cstype */ idstr, SWIGTYPE_p_LocalResource res) { bool ret = C4dApiPINVOKE.Description_Register(id, idstr, SWIGTYPE_p_LocalResource.getCPtr(res)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }