internal static HandleRef getCPtr(StrRef obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public StrBuf(StrRef s) : this(p4apiPINVOKE.new_StrBuf__SWIG_2(StrRef.getCPtr(s)), true) { if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve(); }
public int GetVar(int x, StrRef var, StrRef val) { int ret = p4apiPINVOKE.StrDict_GetVar__SWIG_5(swigCPtr, x, StrRef.getCPtr(var), StrRef.getCPtr(val)); if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve(); return ret; }