From e32a2ad46e76438a53fb1157e90215493a93d2f5 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 9 Nov 2014 15:28:03 +0000 Subject: Doxygen fixes --- css/css.c | 27 ++++++++++++++++----------- css/select.c | 2 +- css/utils.h | 4 ++-- 3 files changed, 19 insertions(+), 14 deletions(-) (limited to 'css') diff --git a/css/css.c b/css/css.c index 9dc6e8cba..641d988ad 100644 --- a/css/css.c +++ b/css/css.c @@ -79,10 +79,6 @@ typedef struct { * imports array */ } nscss_import_ctx; -static nserror nscss_create(const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, - llcache_handle *llcache, const char *fallback_charset, - bool quirks, struct content **c); static bool nscss_process_data(struct content *c, const char *data, unsigned int size); static bool nscss_convert(struct content *c); @@ -117,14 +113,23 @@ static css_stylesheet *blank_import; /** * Initialise a CSS content * - * \param c Content to initialise - * \param params Content-Type parameters - * \return true on success, false on failure + * \param handler content handler + * \param imime_type mime-type + * \param params Content-Type parameters + * \param llcache handle to content + * \param fallback_charset The character set to fallback to. + * \param quirks allow quirks + * \param c Content to initialise + * \return NSERROR_OK or error cod eon faliure */ -nserror nscss_create(const content_handler *handler, - lwc_string *imime_type, const http_parameter *params, - llcache_handle *llcache, const char *fallback_charset, - bool quirks, struct content **c) +static nserror +nscss_create(const content_handler *handler, + lwc_string *imime_type, + const http_parameter *params, + llcache_handle *llcache, + const char *fallback_charset, + bool quirks, + struct content **c) { nscss_content *result; const char *charset = NULL; diff --git a/css/select.c b/css/select.c index cb98f24ec..2d7c30f7a 100644 --- a/css/select.c +++ b/css/select.c @@ -1473,7 +1473,7 @@ node_count_siblings_check(dom_node *node, * Callback to count a node's siblings. * * \param pw HTML document - * \param node DOM node + * \param n DOM node * \param same_name Only count siblings with the same name, or all * \param after Count anteceding instead of preceding siblings * \param count Pointer to location to receive result diff --git a/css/utils.h b/css/utils.h index f3131f1bb..e9650db97 100644 --- a/css/utils.h +++ b/css/utils.h @@ -30,7 +30,7 @@ extern css_fixed nscss_screen_dpi; * * ARGB -> (1-A)BGR * - * \param color The CSS color to convert + * \param c The CSS color to convert * \return Corresponding NetSurf colour primitive */ #define nscss_color_to_ns(c) \ @@ -45,7 +45,7 @@ extern css_fixed nscss_screen_dpi; * * (1-A)BGR -> ARGB * - * \param color The NetSurf color to convert + * \param c The NetSurf color to convert * \return Corresponding CSS colour primitive */ #define ns_color_to_nscss(c) \ -- cgit v1.2.3