public static SWIGTYPE_p_ArBatteryMTX batteryCreate(string batteryType, int batteryNumber) { global::System.IntPtr cPtr = AriaCSPINVOKE.Aria_batteryCreate__SWIG_1(batteryType, batteryNumber); SWIGTYPE_p_ArBatteryMTX ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ArBatteryMTX(cPtr, false); return(ret); }
public static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_ArBatteryMTX obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }