Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gstrfuncs.h
Go to the documentation of this file.
1/* GLIB - Library of useful routines for C programming
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20/*
21 * Modified by the GLib Team and others 1997-2000. See the AUTHORS
22 * file for a list of people on the GLib Team. See the ChangeLog
23 * files for a list of changes. These files are distributed with
24 * GLib at ftp://ftp.gtk.org/pub/gtk/.
25 */
26
27#ifndef __G_STRFUNCS_H__
28#define __G_STRFUNCS_H__
29
30#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
31#error "Only <glib.h> can be included directly."
32#endif
33
34#include <stdarg.h>
35#include <string.h>
36
37#include <glib/gmacros.h>
38#include <glib/gtypes.h>
39#include <glib/gerror.h>
40#include <glib/gmem.h>
41
43
44/* Functions like the ones in <ctype.h> that are not affected by locale. */
45typedef enum {
46 G_ASCII_ALNUM = 1 << 0,
47 G_ASCII_ALPHA = 1 << 1,
48 G_ASCII_CNTRL = 1 << 2,
49 G_ASCII_DIGIT = 1 << 3,
50 G_ASCII_GRAPH = 1 << 4,
51 G_ASCII_LOWER = 1 << 5,
52 G_ASCII_PRINT = 1 << 6,
53 G_ASCII_PUNCT = 1 << 7,
54 G_ASCII_SPACE = 1 << 8,
55 G_ASCII_UPPER = 1 << 9,
56 G_ASCII_XDIGIT = 1 << 10
58
60
61#define g_ascii_isalnum(c) \
62 ((g_ascii_table[(guchar) (c)] & G_ASCII_ALNUM) != 0)
63
64#define g_ascii_isalpha(c) \
65 ((g_ascii_table[(guchar) (c)] & G_ASCII_ALPHA) != 0)
66
67#define g_ascii_iscntrl(c) \
68 ((g_ascii_table[(guchar) (c)] & G_ASCII_CNTRL) != 0)
69
70#define g_ascii_isdigit(c) \
71 ((g_ascii_table[(guchar) (c)] & G_ASCII_DIGIT) != 0)
72
73#define g_ascii_isgraph(c) \
74 ((g_ascii_table[(guchar) (c)] & G_ASCII_GRAPH) != 0)
75
76#define g_ascii_islower(c) \
77 ((g_ascii_table[(guchar) (c)] & G_ASCII_LOWER) != 0)
78
79#define g_ascii_isprint(c) \
80 ((g_ascii_table[(guchar) (c)] & G_ASCII_PRINT) != 0)
81
82#define g_ascii_ispunct(c) \
83 ((g_ascii_table[(guchar) (c)] & G_ASCII_PUNCT) != 0)
84
85#define g_ascii_isspace(c) \
86 ((g_ascii_table[(guchar) (c)] & G_ASCII_SPACE) != 0)
87
88#define g_ascii_isupper(c) \
89 ((g_ascii_table[(guchar) (c)] & G_ASCII_UPPER) != 0)
90
91#define g_ascii_isxdigit(c) \
92 ((g_ascii_table[(guchar) (c)] & G_ASCII_XDIGIT) != 0)
93
98
103
104/* String utility functions that modify a string argument or
105 * return a constant string that must not be freed.
106 */
107#define G_STR_DELIMITERS "_-|> <."
110 const gchar *delimiters,
111 gchar new_delimiter);
114 const gchar *valid_chars,
115 gchar substitutor);
124 const gchar *src,
125 gsize dest_size);
128 const gchar *src,
129 gsize dest_size);
131gchar * g_strstr_len (const gchar *haystack,
132 gssize haystack_len,
133 const gchar *needle);
135gchar * g_strrstr (const gchar *haystack,
136 const gchar *needle);
138gchar * g_strrstr_len (const gchar *haystack,
139 gssize haystack_len,
140 const gchar *needle);
141
144 const gchar *suffix);
147 const gchar *prefix);
148
149#if G_GNUC_CHECK_VERSION (2, 0)
150#ifndef __GTK_DOC_IGNORE__
151#ifndef __GI_SCANNER__
152
153/* This macro is defeat a false -Wnonnull warning in GCC.
154 * Without it, it thinks strlen and memcmp may be getting passed NULL
155 * despite the explicit check for NULL right above the calls.
156 */
157#define _G_STR_NONNULL(x) ((x) + !(x))
158
159#define g_str_has_prefix(STR, PREFIX) \
160 (__builtin_constant_p (PREFIX)? \
161 G_GNUC_EXTENSION ({ \
162 const char * const __str = (STR); \
163 const char * const __prefix = (PREFIX); \
164 gboolean __result = FALSE; \
165 \
166 if G_UNLIKELY (__str == NULL || __prefix == NULL) \
167 __result = (g_str_has_prefix) (__str, __prefix); \
168 else \
169 { \
170 const size_t __str_len = strlen (_G_STR_NONNULL (__str)); \
171 const size_t __prefix_len = strlen (_G_STR_NONNULL (__prefix)); \
172 if (__str_len >= __prefix_len) \
173 __result = memcmp (_G_STR_NONNULL (__str), \
174 _G_STR_NONNULL (__prefix), \
175 __prefix_len) == 0; \
176 } \
177 __result; \
178 }) \
179 : \
180 (g_str_has_prefix) (STR, PREFIX) \
181 )
182
183#define g_str_has_suffix(STR, SUFFIX) \
184 (__builtin_constant_p (SUFFIX)? \
185 G_GNUC_EXTENSION ({ \
186 const char * const __str = (STR); \
187 const char * const __suffix = (SUFFIX); \
188 gboolean __result = FALSE; \
189 \
190 if G_UNLIKELY (__str == NULL || __suffix == NULL) \
191 __result = (g_str_has_suffix) (__str, __suffix); \
192 else \
193 { \
194 const size_t __str_len = strlen (_G_STR_NONNULL (__str)); \
195 const size_t __suffix_len = strlen (_G_STR_NONNULL (__suffix)); \
196 if (__str_len >= __suffix_len) \
197 __result = memcmp (__str + __str_len - __suffix_len, \
198 _G_STR_NONNULL (__suffix), \
199 __suffix_len) == 0; \
200 } \
201 __result; \
202 }) \
203 : \
204 (g_str_has_suffix) (STR, SUFFIX) \
205 )
206
207#endif /* !defined (__GI_SCANNER__) */
208#endif /* !defined (__GTK_DOC_IGNORE__) */
209#endif /* G_GNUC_CHECK_VERSION (2, 0) */
210
211/* String to/from double conversion functions */
212
214gdouble g_strtod (const gchar *nptr,
215 gchar **endptr);
218 gchar **endptr);
221 gchar **endptr,
222 guint base);
225 gchar **endptr,
226 guint base);
227/* 29 bytes should enough for all possible values that
228 * g_ascii_dtostr can produce.
229 * Then add 10 for good measure */
230#define G_ASCII_DTOSTR_BUF_SIZE (29 + 10)
233 gint buf_len,
234 gdouble d);
237 gint buf_len,
238 const gchar *format,
239 gdouble d);
240
241/* removes leading spaces */
244/* removes trailing spaces */
247/* removes leading & trailing spaces */
248#define g_strstrip( string ) g_strchomp (g_strchug (string))
249
252 const gchar *s2);
255 const gchar *s2,
256 gsize n);
263
266
269 const gchar *s2);
272 const gchar *s2,
273 guint n);
277gchar* g_strup (gchar *string);
278
279
280/* String utility functions that return a newly allocated string which
281 * ought to be freed with g_free from the caller at some point.
282 */
290 va_list args) G_GNUC_PRINTF(1, 0) G_GNUC_MALLOC;
292gchar* g_strndup (const gchar *str,
296 gchar fill_char) G_GNUC_MALLOC;
298gchar* g_strconcat (const gchar *string1,
301gchar* g_strjoin (const gchar *separator,
303
304#if G_GNUC_CHECK_VERSION(2, 0)
305#ifndef __GTK_DOC_IGNORE__
306#ifndef __GI_SCANNER__
307
308G_ALWAYS_INLINE static inline char *
309g_strdup_inline (const char *str)
310{
311 if (__builtin_constant_p (!str) && !str)
312 return NULL;
313
314 if (__builtin_constant_p (!!str) && !!str && __builtin_constant_p (strlen (str)))
315 {
316 const size_t len = strlen (str) + 1;
317 char *dup_str = (char *) g_malloc (len);
318 return (char *) memcpy (dup_str, str, len);
319 }
320
321 return g_strdup (str);
322}
323
324#define g_strdup(x) g_strdup_inline (x)
325
326#endif /* !defined (__GI_SCANNER__) */
327#endif /* !defined (__GTK_DOC_IGNORE__) */
328#endif /* G_GNUC_CHECK_VERSION (2, 0) */
329
332
334gchar* g_strescape (const gchar *source,
335 const gchar *exceptions) G_GNUC_MALLOC;
336
339 guint byte_size) G_GNUC_ALLOC_SIZE(2);
340
343 gsize byte_size) G_GNUC_ALLOC_SIZE(2);
344
345/* NULL terminated string arrays.
346 * g_strsplit(), g_strsplit_set() split up string into max_tokens tokens
347 * at delim and return a newly allocated string array.
348 * g_strjoinv() concatenates all of str_array's strings, sliding in an
349 * optional separator, the returned string is newly allocated.
350 * g_strfreev() frees the array itself and all of its strings.
351 * g_strdupv() copies a NULL-terminated array of strings
352 * g_strv_length() returns the length of a NULL-terminated array of strings
353 */
354typedef gchar** GStrv;
356gchar** g_strsplit (const gchar *string,
357 const gchar *delimiter,
358 gint max_tokens);
360gchar ** g_strsplit_set (const gchar *string,
361 const gchar *delimiters,
362 gint max_tokens);
364gchar* g_strjoinv (const gchar *separator,
365 gchar **str_array) G_GNUC_MALLOC;
367void g_strfreev (gchar **str_array);
369gchar** g_strdupv (gchar **str_array);
372
375 const char *src);
376
379 const gchar *from_locale);
380
383 const gchar *translit_locale,
384 gchar ***ascii_alternates);
385
388 const gchar *potential_hit,
389 gboolean accept_alternates);
390
392gboolean g_strv_contains (const gchar * const *strv,
393 const gchar *str);
394
396gboolean g_strv_equal (const gchar * const *strv1,
397 const gchar * const *strv2);
398
399/* Convenience ASCII string to number API */
400
401/**
402 * GNumberParserError:
403 * @G_NUMBER_PARSER_ERROR_INVALID: string was not a valid number
404 * @G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS: string was a number, but out of bounds
405 *
406 * Error codes returned by functions converting a string to a number.
407 *
408 * Since: 2.54
409 */
415
416/**
417 * G_NUMBER_PARSER_ERROR:
418 *
419 * Domain for errors returned by functions converting a string to a
420 * number.
421 *
422 * Since: 2.54
423 */
424#define G_NUMBER_PARSER_ERROR (g_number_parser_error_quark ())
425
428
431 guint base,
432 gint64 min,
433 gint64 max,
434 gint64 *out_num,
435 GError **error);
436
439 guint base,
440 guint64 min,
441 guint64 max,
442 guint64 *out_num,
443 GError **error);
444
445/**
446 * g_set_str: (skip)
447 * @str_pointer: (inout) (not optional) (nullable): a pointer to either
448 * a string or `NULL`
449 * @new_str: (nullable): a string to assign to @str_pointer
450 *
451 * Updates a pointer to a string to a copy of @new_str and returns whether the
452 * string was changed.
453 *
454 * If @new_str matches the previous string, this function is a no-op. If
455 * @new_str is different, a copy of it will be assigned to @str_pointer and
456 * the previous string pointed to by @str_pointer will be freed with
457 * [func@GLib.free].
458 *
459 * @str_pointer must not be `NULL`, but can point to a `NULL` value.
460 *
461 * One convenient usage of this function is in implementing property settings:
462 * ```C
463 * void
464 * foo_set_bar (Foo *foo,
465 * const char *new_bar)
466 * {
467 * g_return_if_fail (IS_FOO (foo));
468 *
469 * if (g_set_str (&foo->bar, new_bar))
470 * g_object_notify (foo, "bar");
471 * }
472 * ```
473 *
474 * Returns: true if the value of @str_pointer changed, false otherwise
475 *
476 * Since: 2.76
477 */
479static inline gboolean
480g_set_str (char **str_pointer,
481 const char *new_str)
482{
483 char *copy;
484
485 if (*str_pointer == new_str ||
486 (*str_pointer && new_str && strcmp (*str_pointer, new_str) == 0))
487 return FALSE;
488
489 copy = g_strdup (new_str);
490 g_free (*str_pointer);
491 *str_pointer = copy;
492
493 return TRUE;
494}
495
497
498#endif /* __G_STRFUNCS_H__ */
#define GLIB_AVAILABLE_IN_2_54
#define GLIB_AVAILABLE_IN_2_44
#define GLIB_DEPRECATED_IN_2_68_FOR(f)
#define GLIB_AVAILABLE_IN_2_68
#define GLIB_AVAILABLE_IN_2_60
#define GLIB_AVAILABLE_IN_2_40
#define GLIB_AVAILABLE_IN_ALL
#define GLIB_VAR
#define GLIB_AVAILABLE_STATIC_INLINE_IN_2_76
#define GLIB_DEPRECATED
unsigned long guint64
Definition glibconfig.h:67
signed long gint64
Definition glibconfig.h:66
unsigned short guint16
Definition glibconfig.h:49
signed long gssize
Definition glibconfig.h:82
unsigned long gsize
Definition glibconfig.h:83
#define NULL
Definition gmacros.h:924
#define G_END_DECLS
Definition gmacros.h:910
#define G_GNUC_NULL_TERMINATED
Definition gmacros.h:326
#define G_GNUC_PRINTF(format_idx, arg_idx)
Definition gmacros.h:608
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_GNUC_ALLOC_SIZE(x)
Definition gmacros.h:404
#define G_ALWAYS_INLINE
Definition gmacros.h:1169
#define TRUE
Definition gmacros.h:933
#define FALSE
Definition gmacros.h:929
GLIB_AVAILABLE_IN_ALL void g_free(gpointer mem)
GLIB_AVAILABLE_IN_ALL gpointer g_malloc(gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1)
G_BEGIN_DECLS typedef guint32 GQuark
Definition gquark.h:38
gpointer g_memdup(gconstpointer mem, guint byte_size) G_GNUC_ALLOC_SIZE(2)
GLIB_AVAILABLE_IN_ALL gchar ** g_strdupv(gchar **str_array)
GLIB_AVAILABLE_IN_2_40 gboolean g_str_match_string(const gchar *search_term, const gchar *potential_hit, gboolean accept_alternates)
GLIB_AVAILABLE_IN_ALL gchar * g_strstr_len(const gchar *haystack, gssize haystack_len, const gchar *needle)
GLIB_AVAILABLE_IN_ALL gchar * g_strrstr(const gchar *haystack, const gchar *needle)
GLIB_VAR const guint16 *const g_ascii_table
Definition gstrfuncs.h:59
GLIB_AVAILABLE_IN_ALL const gchar * g_strsignal(gint signum) G_GNUC_CONST
GLIB_AVAILABLE_IN_ALL gint64 g_ascii_strtoll(const gchar *nptr, gchar **endptr, guint base)
GLIB_AVAILABLE_IN_ALL gchar ** g_strsplit(const gchar *string, const gchar *delimiter, gint max_tokens)
GLIB_AVAILABLE_IN_ALL gdouble g_ascii_strtod(const gchar *nptr, gchar **endptr)
GLIB_AVAILABLE_IN_2_54 gboolean g_ascii_string_to_signed(const gchar *str, guint base, gint64 min, gint64 max, gint64 *out_num, GError **error)
GLIB_AVAILABLE_IN_ALL gchar * g_ascii_formatd(gchar *buffer, gint buf_len, const gchar *format, gdouble d)
GLIB_AVAILABLE_IN_ALL gchar * g_strjoinv(const gchar *separator, gchar **str_array) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_ALL gchar g_ascii_toupper(gchar c) G_GNUC_CONST
GLIB_AVAILABLE_IN_ALL gchar G_GNUC_MALLOC
Definition gstrfuncs.h:287
GLIB_AVAILABLE_IN_ALL gboolean g_str_has_suffix(const gchar *str, const gchar *suffix)
GLIB_DEPRECATED gint g_strcasecmp(const gchar *s1, const gchar *s2)
GLIB_AVAILABLE_IN_ALL gchar * g_strchug(gchar *string)
GLIB_AVAILABLE_IN_ALL gchar * g_strcanon(gchar *string, const gchar *valid_chars, gchar substitutor)
GLIB_AVAILABLE_IN_ALL guint g_strv_length(gchar **str_array)
GLIB_AVAILABLE_IN_ALL gchar * g_stpcpy(gchar *dest, const char *src)
GLIB_DEPRECATED gchar * g_strup(gchar *string)
GLIB_DEPRECATED gint g_strncasecmp(const gchar *s1, const gchar *s2, guint n)
GLIB_AVAILABLE_IN_ALL gchar * g_strdup(const gchar *str) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_ALL gsize g_strlcpy(gchar *dest, const gchar *src, gsize dest_size)
GLIB_AVAILABLE_IN_ALL gchar * g_strreverse(gchar *string)
GNumberParserError
Definition gstrfuncs.h:411
@ G_NUMBER_PARSER_ERROR_INVALID
Definition gstrfuncs.h:412
@ G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS
Definition gstrfuncs.h:413
GLIB_AVAILABLE_IN_ALL gchar * g_strjoin(const gchar *separator,...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED
GLIB_AVAILABLE_IN_ALL gchar * g_strescape(const gchar *source, const gchar *exceptions) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_ALL const gchar * g_strerror(gint errnum) G_GNUC_CONST
GLIB_AVAILABLE_IN_2_54 GQuark g_number_parser_error_quark(void)
GLIB_AVAILABLE_IN_ALL gdouble g_strtod(const gchar *nptr, gchar **endptr)
GLIB_AVAILABLE_IN_ALL gchar * g_ascii_dtostr(gchar *buffer, gint buf_len, gdouble d)
GLIB_AVAILABLE_IN_ALL gchar * g_strdelimit(gchar *string, const gchar *delimiters, gchar new_delimiter)
GLIB_AVAILABLE_IN_ALL gchar * g_strndup(const gchar *str, gsize n) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_ALL gint g_ascii_xdigit_value(gchar c) G_GNUC_CONST
GLIB_AVAILABLE_IN_2_40 gchar * g_str_to_ascii(const gchar *str, const gchar *from_locale)
GLIB_AVAILABLE_IN_ALL gchar * g_ascii_strdown(const gchar *str, gssize len) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_ALL gchar * g_strrstr_len(const gchar *haystack, gssize haystack_len, const gchar *needle)
GLIB_AVAILABLE_IN_ALL gchar ** g_strsplit_set(const gchar *string, const gchar *delimiters, gint max_tokens)
GLIB_AVAILABLE_IN_2_44 gboolean g_strv_contains(const gchar *const *strv, const gchar *str)
GLIB_AVAILABLE_IN_ALL gchar * g_strnfill(gsize length, gchar fill_char) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_ALL gchar g_ascii_tolower(gchar c) G_GNUC_CONST
GLIB_AVAILABLE_IN_ALL gchar * g_strdup_printf(const gchar *format,...) G_GNUC_PRINTF(1
GLIB_AVAILABLE_IN_ALL gchar * g_strdup_vprintf(const gchar *format, va_list args) G_GNUC_PRINTF(1
GLIB_DEPRECATED gchar * g_strdown(gchar *string)
GLIB_AVAILABLE_IN_ALL gint g_ascii_digit_value(gchar c) G_GNUC_CONST
GLIB_AVAILABLE_IN_ALL gsize g_strlcat(gchar *dest, const gchar *src, gsize dest_size)
GLIB_AVAILABLE_IN_2_54 gboolean g_ascii_string_to_unsigned(const gchar *str, guint base, guint64 min, guint64 max, guint64 *out_num, GError **error)
GLIB_AVAILABLE_IN_2_40 gchar ** g_str_tokenize_and_fold(const gchar *string, const gchar *translit_locale, gchar ***ascii_alternates)
GLIB_AVAILABLE_IN_ALL gchar * g_strchomp(gchar *string)
GAsciiType
Definition gstrfuncs.h:45
@ G_ASCII_LOWER
Definition gstrfuncs.h:51
@ G_ASCII_DIGIT
Definition gstrfuncs.h:49
@ G_ASCII_CNTRL
Definition gstrfuncs.h:48
@ G_ASCII_GRAPH
Definition gstrfuncs.h:50
@ G_ASCII_PRINT
Definition gstrfuncs.h:52
@ G_ASCII_XDIGIT
Definition gstrfuncs.h:56
@ G_ASCII_UPPER
Definition gstrfuncs.h:55
@ G_ASCII_SPACE
Definition gstrfuncs.h:54
@ G_ASCII_PUNCT
Definition gstrfuncs.h:53
@ G_ASCII_ALPHA
Definition gstrfuncs.h:47
@ G_ASCII_ALNUM
Definition gstrfuncs.h:46
GLIB_AVAILABLE_IN_ALL gint g_ascii_strncasecmp(const gchar *s1, const gchar *s2, gsize n)
GLIB_AVAILABLE_IN_2_60 gboolean g_strv_equal(const gchar *const *strv1, const gchar *const *strv2)
GLIB_AVAILABLE_IN_ALL gboolean g_str_has_prefix(const gchar *str, const gchar *prefix)
GLIB_AVAILABLE_IN_ALL gchar * g_ascii_strup(const gchar *str, gssize len) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_ALL guint64 g_ascii_strtoull(const gchar *nptr, gchar **endptr, guint base)
GLIB_AVAILABLE_IN_ALL void g_strfreev(gchar **str_array)
GLIB_AVAILABLE_IN_2_40 gboolean g_str_is_ascii(const gchar *str)
GLIB_AVAILABLE_IN_ALL gint g_ascii_strcasecmp(const gchar *s1, const gchar *s2)
GLIB_AVAILABLE_IN_ALL gchar * g_strcompress(const gchar *source) G_GNUC_MALLOC
GLIB_AVAILABLE_IN_2_68 gpointer g_memdup2(gconstpointer mem, gsize byte_size) G_GNUC_ALLOC_SIZE(2)
gchar ** GStrv
Definition gstrfuncs.h:354
GLIB_AVAILABLE_IN_ALL gchar * g_strconcat(const gchar *string1,...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED
static GLIB_AVAILABLE_STATIC_INLINE_IN_2_76 gboolean g_set_str(char **str_pointer, const char *new_str)
Definition gstrfuncs.h:480
gint gboolean
Definition gtypes.h:56
G_BEGIN_DECLS typedef char gchar
Definition gtypes.h:52
void * gpointer
Definition gtypes.h:109
int gint
Definition gtypes.h:55
const void * gconstpointer
Definition gtypes.h:110
double gdouble
Definition gtypes.h:64
unsigned int guint
Definition gtypes.h:61
json_t format(printf, 1, 2)))
static void error(LoadState *S, const char *why)