Mercurial > mxe-octave
annotate src/jpeg-test.c @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | 4e48476ea587 |
children | 8a6c466753e2 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1707
diff
changeset
|
1 /* This file is part of MXE. */ |
895
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 /* See doc/index.html for further information. */ |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 #include <stdio.h> |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 #include <windows.h> |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 #include <jpeglib.h> |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 |
946
35a9e556c82c
improved coding style of test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
895
diff
changeset
|
8 int main(int argc, char *argv[]) |
895
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 { |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 boolean test_boolean; |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 INT32 test_int32; |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 struct jpeg_decompress_struct cinfo; |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 (void)argc; |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 (void)argv; |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 test_boolean = TRUE; |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 test_int32 = 1; |
1707
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
946
diff
changeset
|
19 (void)test_boolean; |
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
946
diff
changeset
|
20 (void)test_int32; |
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
946
diff
changeset
|
21 |
895
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 jpeg_create_decompress(&cinfo); |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 jpeg_destroy_decompress(&cinfo); |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 return 0; |
09113bc06d72
add test program for package jpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 } |