mcst-linux-kernel/patches-2024.06.26/libpsl-0.21.0/0006-Use-NULL-and-FILE-over...

62 lines
2.6 KiB
Diff

From: =?utf-8?q?Tim_R=C3=BChsen?= <tim.ruehsen@gmx.de>
Date: Sun, 26 May 2019 18:01:50 +0200
Subject: Use %NULL and %FILE overall in gtk-docs
(cherry picked from commit 999f28cc15b3dd50dbb5ce33afad9fe340264ef8)
---
src/psl.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/psl.c b/src/psl.c
index 1bdba3b..6cfde85 100644
--- a/src/psl.c
+++ b/src/psl.c
@@ -1164,9 +1164,9 @@ psl_ctx_t *psl_load_file(const char *fname)
/**
* psl_load_fp:
- * @fp: FILE pointer
+ * @fp: %FILE pointer
*
- * This function loads the public suffixes from a FILE pointer.
+ * This function loads the public suffixes from a %FILE pointer.
* To free the allocated resources, call psl_free().
*
* The suffixes are expected to be UTF-8 encoded (lowercase + NFKC) if they are international.
@@ -1352,7 +1352,7 @@ void psl_free(psl_ctx_t *psl)
* When using the builtin psl context, you can provide UTF-8 (lowercase + NFKC) or ASCII/ACE (punycode)
* representations of domains to functions like psl_is_public_suffix().
*
- * Returns: Pointer to the built in PSL data or NULL if this data is not available.
+ * Returns: Pointer to the built in PSL data or %NULL if this data is not available.
*
* Since: 0.1
*/
@@ -1373,7 +1373,7 @@ const psl_ctx_t *psl_builtin(void)
* The number of exceptions within the Public Suffix List are not included.
*
* If the information is not available, the return value is -1 (since 0.19).
- * This is the case with DAFSA blobs or if @psl is NULL.
+ * This is the case with DAFSA blobs or if @psl is %NULL.
*
* Returns: Number of public suffixes entries in PSL context or -1 if this information is not available.
*
@@ -1396,7 +1396,7 @@ int psl_suffix_count(const psl_ctx_t *psl)
* This function returns number of public suffix exceptions maintained by @psl.
*
* If the information is not available, the return value is -1 (since 0.19).
- * This is the case with DAFSA blobs or if @psl is NULL.
+ * This is the case with DAFSA blobs or if @psl is %NULL.
*
* Returns: Number of public suffix exceptions in PSL context or -1 if this information is not available.
*
@@ -1419,7 +1419,7 @@ int psl_suffix_exception_count(const psl_ctx_t *psl)
* This function returns number of public suffix wildcards maintained by @psl.
*
* If the information is not available, the return value is -1 (since 0.19).
- * This is the case with DAFSA blobs or if @psl is NULL.
+ * This is the case with DAFSA blobs or if @psl is %NULL.
*
* Returns: Number of public suffix wildcards in PSL context or -1 if this information is not available.
*