Inheritance: StrPtr
示例#1
0
 internal static HandleRef getCPtr(StrRef obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#2
0
 public StrBuf(StrRef s)
     : this(p4apiPINVOKE.new_StrBuf__SWIG_2(StrRef.getCPtr(s)), true)
 {
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }
示例#3
0
 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;
 }