diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-15 09:44:34 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-15 09:44:34 +0000 |
| commit | dff377a741ec87f8737002cf112ae12655881777 (patch) | |
| tree | 24fec645259014dc1e60f393d5d39c2b36aa603c /src/lib/openjp2/event.h | |
| parent | b24cf8d1574c00915c568314d3e0e011ca77ba89 (diff) | |
[trunk] Fix compilation:
- using mingw32 compiler (missing exported symbols)
- using -fvisibility=hidden (gcc on UNIX)
Diffstat (limited to 'src/lib/openjp2/event.h')
| -rw-r--r-- | src/lib/openjp2/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp2/event.h b/src/lib/openjp2/event.h index 111cea9f..98543b5d 100644 --- a/src/lib/openjp2/event.h +++ b/src/lib/openjp2/event.h @@ -89,13 +89,13 @@ opj_bool opj_event_msg(opj_common_ptr cinfo, int event_type, const char *fmt, .. * * @return Returns true if successful, returns false otherwise */ -opj_bool opj_event_msg_v2(opj_event_mgr_t* event_mgr, int event_type, const char *fmt, ...); +OPJ_API opj_bool OPJ_CALLCONV opj_event_msg_v2(opj_event_mgr_t* event_mgr, int event_type, const char *fmt, ...); /* ----------------------------------------------------------------------- */ /** * Set the event manager with the default callback function for the 3 levels. */ -void opj_set_default_event_handler(opj_event_mgr_t * p_manager); +OPJ_API void OPJ_CALLCONV opj_set_default_event_handler(opj_event_mgr_t * p_manager); /*@}*/ |
