Inheritance: StrPtr
コード例 #1
0
ファイル: StrRef.cs プロジェクト: csm/monodevelop-perforce
 internal static HandleRef getCPtr(StrRef obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #2
0
ファイル: StrBuf.cs プロジェクト: csm/monodevelop-perforce
 public StrBuf(StrRef s)
     : this(p4apiPINVOKE.new_StrBuf__SWIG_2(StrRef.getCPtr(s)), true)
 {
     if (p4apiPINVOKE.SWIGPendingException.Pending) throw p4apiPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #3
0
ファイル: StrDict.cs プロジェクト: csm/monodevelop-perforce
 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;
 }