internal unsafe sbyte *AllocUri(Uri value) { if (value == null) { return(AllocUri((string)null)); } return(AllocUri(SvnBase.UriToString(value))); }
internal unsafe svn_string_t AllocUnixSvnString(string value) { if (value == null) { value = ""; } var pStr = (svn_string_t.__Internal *)AllocCleared( sizeof(svn_string_t.__Internal)); pStr->data = new IntPtr(AllocUnixString(value)); pStr->len = (ulong)SvnBase.strlen((byte *)pStr->data); return(svn_string_t.__CreateInstance(new IntPtr(pStr))); }
Uri IItemMarshaller <Uri> .Read(IntPtr ptr, AprPool pool) { sbyte **ppcStr = (sbyte **)ptr.ToPointer(); return(SvnBase.Utf8_PtrToUri(*ppcStr, SvnNodeKind.Unknown)); }
string IItemMarshaller <string> .Read(IntPtr ptr, AprPool pool) { sbyte **ppcStr = (sbyte **)ptr.ToPointer(); return(SvnBase.Utf8_PtrToString(*ppcStr)); }
static SvnHandleBase() { SvnBase.EnsureLoaded(); }
public string Read(IntPtr ptr, AprPool pool) { sbyte **ppcStr = (sbyte **)ptr; return(SvnBase.Utf8_PtrToString(svn_dirent_uri.svn_dirent_local_style(*ppcStr, pool.Handle))); }
public string Read(IntPtr ptr, AprPool pool) { var ppcStr = (sbyte **)ptr; return(SvnBase.Utf8_PtrToString(*ppcStr)); }