summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-09 15:28:03 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-09 15:28:03 +0000
commite32a2ad46e76438a53fb1157e90215493a93d2f5 (patch)
treeee28ab934ea9ed72005d03afd79ee1c3a484f7a6 /css
parent56bb1b03c5e2a7f86e9f21d6692ea02ead4f3943 (diff)
downloadnetsurf-e32a2ad46e76438a53fb1157e90215493a93d2f5.tar.gz
netsurf-e32a2ad46e76438a53fb1157e90215493a93d2f5.tar.bz2
Doxygen fixes
Diffstat (limited to 'css')
-rw-r--r--css/css.c27
-rw-r--r--css/select.c2
-rw-r--r--css/utils.h4
3 files changed, 19 insertions, 14 deletions
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) \