summaryrefslogtreecommitdiff
path: root/libopenjpeg/int.h
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2005-11-01 10:15:34 +0000
committerAntonin Descampe <antonin@gmail.com>2005-11-01 10:15:34 +0000
commit8f3bd54c3dd0403aae45abccdcc850eab5faeb6a (patch)
tree7a8c3aa95f4990d26a65eff5f515fd22deb24577 /libopenjpeg/int.h
parent18a9bcb882b9af492714ff122a6b403961a2dfb3 (diff)
Changes proposed by Mathieu Malaterre from the GDCM project... Thanks a lot Mathieu
- '//' replaced by '/* */' - inclusion of int.h in int.c - inclusion of j2k.h in int.h in order to export symbols - adding (void) var when a variable is declared but not used - some explicit cast - CLOCKS_PER_SEC is declared as float in bcc55, so there is a need to cast it to int for the modulo operation - some variables changed from float -> double
Diffstat (limited to 'libopenjpeg/int.h')
-rw-r--r--libopenjpeg/int.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libopenjpeg/int.h b/libopenjpeg/int.h
index a1b590dd..52add1ac 100644
--- a/libopenjpeg/int.h
+++ b/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.