From: malaterre Date: Mon, 24 Oct 2005 16:11:11 +0000 (+0000) Subject: COMP: Need to export those symbols too X-Git-Tag: OpenJPEG.Version1.2~205 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c05057b4094e9642e53379d701818c5fb8c452e9;p=gdcm.git COMP: Need to export those symbols too --- diff --git a/src/gdcmopenjpeg/libopenjpeg/int.h b/src/gdcmopenjpeg/libopenjpeg/int.h index a1b590dd..52add1ac 100644 --- a/src/gdcmopenjpeg/libopenjpeg/int.h +++ b/src/gdcmopenjpeg/libopenjpeg/int.h @@ -24,6 +24,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "j2k.h" + #ifndef __INT_H #define __INT_H @@ -67,14 +69,14 @@ int int_ceildiv(int a, int b); * * a divided by 2^b */ -int int_ceildivpow2(int a, int b); +LIBJ2K_API int int_ceildivpow2(int a, int b); /* * Divide an integer by a power of 2 and round downwards. * * a divided by 2^b */ -int int_floordivpow2(int a, int b); +LIBJ2K_API int int_floordivpow2(int a, int b); /* * Get logarithm of an integer and round downwards. diff --git a/src/gdcmopenjpeg/libopenjpeg/j2k.h b/src/gdcmopenjpeg/libopenjpeg/j2k.h index b62f955a..a4645c3c 100644 --- a/src/gdcmopenjpeg/libopenjpeg/j2k.h +++ b/src/gdcmopenjpeg/libopenjpeg/j2k.h @@ -231,6 +231,6 @@ LIBJ2K_API int j2k_decode(unsigned char *src, int len, j2k_image_t * img, int j2k_decode_jpt_stream(unsigned char *src, int len, j2k_image_t * img, j2k_cp_t * cp); -void j2k_dec_release();//antonin +LIBJ2K_API void j2k_dec_release();//antonin #endif