Mercurial > mxe-octave
annotate src/librsvg-test.c @ 1235:7e9f957b3239
package openal: combine patch files, portability fixes, and add test program
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Fri, 01 Oct 2010 02:03:08 +1000 |
parents | 35a9e556c82c |
children | f653602a0500 |
rev | line source |
---|---|
754
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 /* This file is part of mingw-cross-env. */ |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 /* See doc/index.html for further information. */ |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 #include <librsvg/rsvg.h> |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 |
946
35a9e556c82c
improved coding style of test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
894
diff
changeset
|
6 int main(int argc, char *argv[]) |
754
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 { |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 RsvgHandle* handle; |
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 (void)argc; |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 (void)argv; |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
894
0b78f6aabad8
bugfix for the test program of package librsvg (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
754
diff
changeset
|
13 g_type_init(); |
754
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 handle = rsvg_handle_new(); |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 rsvg_handle_free(handle); |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 return 0; |
3eedae9ff7dd
test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 } |