public static SWIGTYPE_p_ArSonarMTX sonarCreate(string sonarType, int sonarNumber) { global::System.IntPtr cPtr = AriaCSPINVOKE.Aria_sonarCreate__SWIG_1(sonarType, sonarNumber); SWIGTYPE_p_ArSonarMTX ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ArSonarMTX(cPtr, false); return(ret); }
public static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_ArSonarMTX obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }