예제 #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);
 }
예제 #2
0
 // 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);
 }