10 #ifndef INCLUDED_LIBEPUBGEN_UTILS_H
11 #define INCLUDED_LIBEPUBGEN_UTILS_H
17 #include <boost/shared_ptr.hpp>
19 #include <librevenge-stream/librevenge-stream.h>
23 typedef unsigned char uint8_t;
24 typedef unsigned short uint16_t;
25 typedef short int16_t;
26 typedef unsigned uint32_t;
28 typedef unsigned __int64 uint64_t;
29 typedef __int64 int64_t;
41 #ifdef HAVE_INTTYPES_H
61 #define EPUBGEN_DEBUG_MSG(M) std::printf("%15s:%5d: ", __FILE__, __LINE__); std::printf M
62 #define EPUBGEN_DEBUG(M) M
64 #define EPUBGEN_DEBUG_MSG(M) std::printf M
65 #define EPUBGEN_DEBUG(M) M
68 #define EPUBGEN_DEBUG_MSG(M)
69 #define EPUBGEN_DEBUG(M)
72 #define EPUBGEN_NUM_ELEMENTS(array) (sizeof(array) / sizeof(array[0]))
90 #endif // INCLUDED_LIBEPUBGEN_UTILS_H
boost::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libepubgen_utils.h:77
Definition: libepubgen_utils.h:79
void operator()(void *)
Definition: libepubgen_utils.h:81
Definition: libepubgen_utils.h:84