Explorar el Código

Replace libvlc_exception_get_message with libvlc_errmsg

(This is a bit hackish as the conversion is not completed)
Rémi Denis-Courmont hace 16 años
padre
commit
96efb0418f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Sources/VLCLibrary.m

+ 1 - 1
Sources/VLCLibrary.m

@@ -42,7 +42,7 @@ void __catch_exception( void * e, const char * function, const char * file, int
         NSException* libvlcException = [NSException
             exceptionWithName:@"LibVLCException"
             reason:[NSString stringWithFormat:@"libvlc has thrown us an error: %s (%s:%d %s)", 
-                libvlc_exception_get_message( ex ), file, line_number, function]
+                libvlc_errmsg(), file, line_number, function]
             userInfo:nil];
         libvlc_exception_clear( ex );
         @throw libvlcException;