diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 13:28:52 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 13:28:52 +0000 |
commit | 7af44e1552d41fc04ba5243e619a03c222c07c9f (patch) | |
tree | 181f09ca54164b31f8f67b9086041d25618dbc0e /test/select-auto.c | |
parent | 3541ce862727a967c92f7f08e3c7da16522f89ef (diff) | |
download | libcss-7af44e1552d41fc04ba5243e619a03c222c07c9f.tar.gz libcss-7af44e1552d41fc04ba5243e619a03c222c07c9f.tar.bz2 |
Remove libcss_initialise/finalise.
Fix testsuite to compile (it passes, too)
svn path=/trunk/libcss/; revision=10955
Diffstat (limited to 'test/select-auto.c')
-rw-r--r-- | test/select-auto.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/select-auto.c b/test/select-auto.c index 3768f68..d09162a 100644 --- a/test/select-auto.c +++ b/test/select-auto.c @@ -5,6 +5,7 @@ #include <stdlib.h> #include <string.h> +#include <parserutils/parserutils.h> #include <libcss/libcss.h> #include <libcss/computed.h> #include <libcss/select.h> @@ -211,7 +212,7 @@ int main(int argc, char **argv) printf("css_hint: %u\n", (int) sizeof(css_hint)); printf("computed: %u\n", (int) sizeof(css_computed_style)); - assert(css_initialise(argv[1], myrealloc, NULL) == CSS_OK); + assert(parserutils_initialise(argv[1], myrealloc, NULL) == PARSERUTILS_OK); memset(&ctx, 0, sizeof(ctx)); @@ -237,7 +238,7 @@ int main(int argc, char **argv) assert(counter == 2); - assert(css_finalise(myrealloc, NULL) == CSS_OK); + assert(parserutils_finalise(myrealloc, NULL) == PARSERUTILS_OK); printf("PASS\n"); return 0; |