File: 0006-Use-NULL-and-FILE-overall-in-gtk-docs.patch

package info (click to toggle)
libpsl 0.21.0-1.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 50,120 kB
  • sloc: ansic: 2,426; python: 515; sh: 316; makefile: 255
file content (61 lines) | stat: -rw-r--r-- 2,620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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.
  *