From 3e1a4bc4d2556149f1024c257d186e3e6771bbed Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 2 Sep 2011 12:38:31 +0000 Subject: Make "params" argument to css_stylesheet_create const. Thanks to James Montgomerie. svn path=/trunk/libcss/; revision=12697 --- include/libcss/stylesheet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3