public CItemProfile GetItemProfile(string ProfileName) { IntPtr cPtr = testPINVOKE.CItemsManager_GetItemProfile(swigCPtr, ProfileName); CItemProfile ret = (cPtr == IntPtr.Zero) ? null : new CItemProfile(cPtr, false); return(ret); }
public void AddProfile(CItemProfile Profile) { testPINVOKE.CItemsManager_AddProfile__SWIG_0(swigCPtr, CItemProfile.getCPtr(Profile)); if (testPINVOKE.SWIGPendingException.Pending) { throw testPINVOKE.SWIGPendingException.Retrieve(); } }
internal static HandleRef getCPtr(CItemProfile obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }