summaryrefslogtreecommitdiffstats
path: root/src/jpeg-test.c
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-04-21 11:40:53 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-04-21 11:40:53 (GMT)
commitb9ee58881aafbc015d27ecbaf0a1fc794737ec3d (patch)
tree925d75c7a1bc4b99c9ac818b06a7013a5c50b032 /src/jpeg-test.c
parent79779db039c1c1e130f4f11660d668e03d9dab42 (diff)
downloadmxe-b9ee58881aafbc015d27ecbaf0a1fc794737ec3d.zip
mxe-b9ee58881aafbc015d27ecbaf0a1fc794737ec3d.tar.gz
mxe-b9ee58881aafbc015d27ecbaf0a1fc794737ec3d.tar.bz2
add test program for package jpeg
Diffstat (limited to 'src/jpeg-test.c')
-rw-r--r--src/jpeg-test.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/jpeg-test.c b/src/jpeg-test.c
new file mode 100644
index 0000000..268087d
--- /dev/null
+++ b/src/jpeg-test.c
@@ -0,0 +1,23 @@
+/* This file is part of mingw-cross-env. */
+/* See doc/index.html for further information. */
+
+#include <stdio.h>
+#include <windows.h>
+#include <jpeglib.h>
+
+int main(int argc, char* argv[])
+{
+ boolean test_boolean;
+ INT32 test_int32;
+ struct jpeg_decompress_struct cinfo;
+
+ (void)argc;
+ (void)argv;
+
+ test_boolean = TRUE;
+ test_int32 = 1;
+ jpeg_create_decompress(&cinfo);
+ jpeg_destroy_decompress(&cinfo);
+
+ return 0;
+}