diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-02 12:38:31 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-02 12:38:31 +0000 |
commit | 3e1a4bc4d2556149f1024c257d186e3e6771bbed (patch) | |
tree | 135e2e8b1d1dbeb466d72f264f53f076488a9f57 /include | |
parent | 0b6d7198f4fc46961c57530e654691b5a66b36f0 (diff) | |
download | libcss-3e1a4bc4d2556149f1024c257d186e3e6771bbed.tar.gz libcss-3e1a4bc4d2556149f1024c257d186e3e6771bbed.tar.bz2 |
Make "params" argument to css_stylesheet_create const. Thanks to James Montgomerie.
svn path=/trunk/libcss/; revision=12697
Diffstat (limited to 'include')
-rw-r--r-- | include/libcss/stylesheet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h index 8ef530e..86a0917 100644 --- a/include/libcss/stylesheet.h +++ b/include/libcss/stylesheet.h @@ -136,7 +136,7 @@ typedef struct css_stylesheet_params { void *font_pw; } css_stylesheet_params; -css_error css_stylesheet_create(css_stylesheet_params *params, +css_error css_stylesheet_create(const css_stylesheet_params *params, css_allocator_fn alloc, void *alloc_pw, css_stylesheet **stylesheet); css_error css_stylesheet_destroy(css_stylesheet *sheet); |