Mercurial > hg > mxe
annotate src/librsvg-test.c @ 3067:b11464811f7f
build shared library for pthreads
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 28 Nov 2012 20:16:38 -0500 |
parents | 51c82380c366 |
children |
rev | line source |
---|---|
2351
8a6c466753e2
Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
1 /* |
8a6c466753e2
Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
2 * This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2351
diff
changeset
|
3 * See index.html for further information. |
2351
8a6c466753e2
Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
4 */ |
754
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 #include <librsvg/rsvg.h> |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 |
946
35a9e556c82c
improved coding style of test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
894
diff
changeset
|
8 int main(int argc, char *argv[]) |
754
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 { |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 RsvgHandle* handle; |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 (void)argc; |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 (void)argv; |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
894
0b78f6aabad8
bugfix for the test program of package librsvg (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
754
diff
changeset
|
15 g_type_init(); |
754
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 handle = rsvg_handle_new(); |
2627
51c82380c366
package librsvg: replace deprecated call in test
Mark Brand <mabrand@mabrand.nl>
parents:
2353
diff
changeset
|
17 g_object_unref(handle); |
754
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 return 0; |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 } |