summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/charset/detect.c2
-rw-r--r--src/parser.c2
-rw-r--r--src/tokeniser/entities.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/charset/detect.c b/src/charset/detect.c
index efb900a..93cbe63 100644
--- a/src/charset/detect.c
+++ b/src/charset/detect.c
@@ -36,7 +36,7 @@ static bool hubbub_charset_get_attribute(const uint8_t **data,
* \param source Pointer to location containint current charset source
* \return PARSERUTILS_OK on success, appropriate error otherwise
*
- * ::mibenum and ::source will be updated on exit
+ * \p mibenum and \p source will be updated on exit
*
* The larger a chunk of data fed to this routine, the better, as it allows
* charset autodetection access to a larger dataset for analysis.
diff --git a/src/parser.c b/src/parser.c
index 671e129..abd9dc8 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -36,7 +36,7 @@ struct hubbub_parser {
* \return HUBBUB_OK on success,
* HUBBUB_BADPARM on bad parameters,
* HUBBUB_NOMEM on memory exhaustion,
- * HUBBUB_BADENCODING if ::enc is unsupported
+ * HUBBUB_BADENCODING if \p enc is unsupported
*/
hubbub_error hubbub_parser_create(const char *enc, bool fix_enc,
hubbub_parser **parser)
diff --git a/src/tokeniser/entities.c b/src/tokeniser/entities.c
index ac47d80..c977fad 100644
--- a/src/tokeniser/entities.c
+++ b/src/tokeniser/entities.c
@@ -30,11 +30,11 @@ typedef struct hubbub_entity_node {
* HUBBUB_NEEDDATA if more steps are required
* HUBBUB_INVALID if nothing matches
*
- * The value pointed to by ::context must be NULL for the first call.
+ * The value pointed to by \p context must be NULL for the first call.
* Thereafter, pass in the same value as returned by the previous call.
* The context is opaque to the caller and should not be inspected.
*
- * The location pointed to by ::result will be set to NULL unless a match
+ * The location pointed to by \p result will be set to NULL unless a match
* is found.
*/
static hubbub_error hubbub_entity_tree_search_step(uint8_t c,
@@ -93,11 +93,11 @@ static hubbub_error hubbub_entity_tree_search_step(uint8_t c,
* HUBBUB_NEEDDATA if more steps are required
* HUBBUB_INVALID if nothing matches
*
- * The value pointed to by ::context should be -1 for the first call.
+ * The value pointed to by \p context should be -1 for the first call.
* Thereafter, pass in the same value as returned by the previous call.
* The context is opaque to the caller and should not be inspected.
*
- * The location pointed to by ::result will be set to U+FFFD unless a match
+ * The location pointed to by \p result will be set to U+FFFD unless a match
* is found.
*/
hubbub_error hubbub_entities_search_step(uint8_t c, uint32_t *result,