annotate dvdread_internal.h @ 223:2d79ef3f3956
src
we should not start the VM on dvdnav_get_number_of_titles,
instead, an unstarted VM should be an error like in dvdnav_get_number_of_parts
author |
mroi |
date |
Wed, 07 Jan 2004 19:34:28 +0000 |
parents |
4e099155c968 |
children |
|
rev |
line source |
168
|
1 #ifndef DVDREAD_INTERNAL_H
|
|
2 #define DVDREAD_INTERNAL_H
|
|
3
|
176
|
4 #ifdef _MSC_VER
|
|
5 #include <unistd.h>
|
|
6 #endif /* _MSC_VER */
|
168
|
7
|
|
8 #define CHECK_VALUE(arg) \
|
|
9 if(!(arg)) { \
|
|
10 fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \
|
|
11 "\n*** for %s ***\n\n", \
|
|
12 __FILE__, __LINE__, # arg ); \
|
|
13 }
|
|
14
|
|
15 #endif /* DVDREAD_INTERNAL_H */
|