[trunk] move opj_bool to OPJ_BOOL to follow the other type
[openjpeg.git] / src / lib / openjp2 / event.h
index f80067ad2e487493619a8a99c725b76a490620fa..9b2a657ed72dbdb271f036ca2c68654e9073d3f2 100644 (file)
@@ -40,7 +40,6 @@ used for
 <li>Debugging messages
 </ul>
 */
-#if 0
 typedef struct opj_event_mgr 
 {
        /** Data to call the event manager upon */
@@ -56,7 +55,7 @@ typedef struct opj_event_mgr
        /** Debug message callback if available, NULL otherwise */
        opj_msg_callback info_handler;
 } opj_event_mgr_t;
-#endif
+
 
 #define EVT_ERROR      1       /**< Error event type */
 #define EVT_WARNING    2       /**< Warning event type */
@@ -81,7 +80,7 @@ typedef struct opj_event_mgr
  *
  * @return Returns true if successful, returns false otherwise
  */
-opj_bool opj_event_msg(opj_event_mgr_t* event_mgr, int event_type, const char *fmt, ...);
+OPJ_BOOL opj_event_msg(opj_event_mgr_t* event_mgr, int event_type, const char *fmt, ...);
 /* ----------------------------------------------------------------------- */
 
 /**