📄 config.h.in
字号:
/* config.h.in. Generated from configure.in by autoheader. */#if defined(USE_DMALLOC)# include <glib.h>/* * G_malloc() and friends are redefined by glib.h when using DMALLOC. */# define ALLOC(type, count) (type *) malloc (sizeof (type) * (count))# define CALLOC(type, count) (type *) calloc ((count), sizeof (type))# define REALLOC(mem, type, count) (type *) realloc ((mem), sizeof (type) * (count))# define MALLOC(size) (gpointer) malloc (size)# define FREE(mem) (void) free (mem)/* * Wrapper macro which invokes the given function and allocates the * returned string through the dmalloc library. */# define g_wrap_it(function, args...) \({ \ gchar *__s1 = function (args); \ gchar *__s2 = strcpy (malloc (strlen (__s1) + 1), __s1); \ g_free_orig (__s1); \ __s2; \})/* * The follwing functions return strings which must be freed with * g_free(). We must therefore wrap them so that the strings are * allocated via the dmalloc library. */# define g_strdup(str) g_wrap_it (g_strdup, str)# define g_strdup_printf(fmt, args...) g_wrap_it (g_strdup_printf, fmt ,##args)# define g_strdup_vprintf(fmt, argv) g_wrap_it (g_strdup_vprintf, fmt, argv)# define g_strndup(str, n) g_wrap_it (g_strndup, str, n)# define g_strnfill(len, fill_char) g_wrap_it (g_strnfill, len, fill_char)# define g_strconcat(str1, args...) g_wrap_it (g_strconcat, str1 ,##args)# define g_strjoin(sep, args...) g_wrap_it (g_strjoin, sep ,##args)# define g_strescape(str) g_wrap_it (g_strescape, str)# define g_strjoinv(sep, str_array) g_wrap_it (g_strjoinv, sep, str_array)void g_free_func (gpointer mem);void g_free_orig (gpointer mem);#else# define g_free_func g_free#endif#undef HAVE_SCHED_SETSCHEDULER#undef HAVE_NANOSLEEP#undef PACKAGE#undef VERSION/* Define to 1 if you have the <dlfcn.h> header file. */#undef HAVE_DLFCN_H/* Define to 1 if you have the <inttypes.h> header file. */#undef HAVE_INTTYPES_H/* Define to 1 if you have the <memory.h> header file. */#undef HAVE_MEMORY_H/* Define to 1 if you have the <sched.h> header file. */#undef HAVE_SCHED_H/* Define to 1 if you have the <stdint.h> header file. */#undef HAVE_STDINT_H/* Define to 1 if you have the <stdlib.h> header file. */#undef HAVE_STDLIB_H/* Define to 1 if you have the <strings.h> header file. */#undef HAVE_STRINGS_H/* Define to 1 if you have the <string.h> header file. */#undef HAVE_STRING_H/* Define to 1 if you have the <sys/sched.h> header file. */#undef HAVE_SYS_SCHED_H/* Define to 1 if you have the <sys/stat.h> header file. */#undef HAVE_SYS_STAT_H/* Define to 1 if you have the <sys/time.h> header file. */#undef HAVE_SYS_TIME_H/* Define to 1 if you have the <sys/types.h> header file. */#undef HAVE_SYS_TYPES_H/* Define to 1 if you have the <unistd.h> header file. */#undef HAVE_UNISTD_H/* Name of package */#undef PACKAGE/* Define to the address where bug reports for this package should be sent. */#undef PACKAGE_BUGREPORT/* Define to the full name of this package. */#undef PACKAGE_NAME/* Define to the full name and version of this package. */#undef PACKAGE_STRING/* Define to the one symbol short name of this package. */#undef PACKAGE_TARNAME/* Define to the version of this package. */#undef PACKAGE_VERSION/* Define to 1 if you have the ANSI C header files. */#undef STDC_HEADERS/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */#undef TIME_WITH_SYS_TIME/* Version number of package */#undef VERSION
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -