about summary refs log tree commit diff
path: root/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/jpeg2000/libjasper/include/jasper/jas_types.h')
-rw-r--r--converter/other/jpeg2000/libjasper/include/jasper/jas_types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h b/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h
new file mode 100644
index 00000000..4d3a4988
--- /dev/null
+++ b/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h
@@ -0,0 +1,14 @@
+/* In the original Jasper library, this contains definitions of the int_fast32,
+   etc. types and bool.
+
+   In Netpbm, we do that with pm_config.h, and the original Jasper
+   method doesn't work.
+*/
+#include "pm_config.h"
+
+
+/* The below macro is intended to be used for type casts.  By using this
+  macro, type casts can be easily located in the source code with
+  tools like "grep". */
+#define	JAS_CAST(t, e) \
+	((t) (e))