示例#1
0
 public static size_t EnsureZdictSuccess(this size_t returnValue)
 {
     if (ExternMethods.ZDICT_isError(returnValue) != 0)
     {
         ThrowException(returnValue, Marshal.PtrToStringAnsi(ExternMethods.ZDICT_getErrorName(returnValue)));
     }
     return(returnValue);
 }
 // Token: 0x0600003B RID: 59 RVA: 0x0000283E File Offset: 0x00000A3E
 public static UIntPtr EnsureZdictSuccess(this UIntPtr returnValue)
 {
     if (ExternMethods.ZDICT_isError(returnValue) != 0u)
     {
         ReturnValueExtensions.ThrowException(returnValue, Marshal.PtrToStringAnsi(ExternMethods.ZDICT_getErrorName(returnValue)));
     }
     return(returnValue);
 }