⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 value_collection.sgml

📁 This GLib version 2.16.1. GLib is the low-level core library that forms the basis for projects such
💻 SGML
字号:
<!-- ##### SECTION Title ##### -->Varargs Value Collection<!-- ##### SECTION Short_Description ##### -->Converting varargs to generic values<!-- ##### SECTION Long_Description ##### --><para>The macros in this section provide the varargs parsing support neededin variadic GObject functions such as g_object_new() or g_object_set().They currently support the collection of integral types, floating point types and pointers.</para><!-- ##### SECTION See_Also ##### --><para>#GValueTable</para><!-- ##### SECTION Stability_Level ##### --><!-- ##### UNION GTypeCValue ##### --><para>A union holding one collected value.</para><!-- ##### MACRO G_VALUE_COLLECT ##### --><para>Collects a variable argument value from a va_list. We have toimplement the varargs collection as a macro, because on some systemsva_list variables cannot be passed by reference.</para>@value: a #GValue return location. @value is supposed to be initialized   according to the value type to be collected@var_args: the va_list variable; it may be evaluated multiple times@flags: flags which are passed on to the collect_value() function of  the #GTypeValueTable of @value.@__error: a #gchar** variable that will be modified to hold a g_new()  allocated error messages if something fails<!-- ##### MACRO G_VALUE_LCOPY ##### --><para>Collects a value's variable argument locations from a va_list. </para>@value: a #GValue return location. @value is supposed to be initialized   according to the value type to be collected@var_args: the va_list variable; it may be evaluated multiple times@flags: flags which are passed on to the lcopy_value() function of  the #GTypeValueTable of @value.@__error: a #gchar** variable that will be modified to hold a g_new()  allocated error messages if something fails<!-- ##### MACRO G_VALUE_COLLECT_FORMAT_MAX_LENGTH ##### --><para>The maximal number of #GTypeCValue<!-- -->s which can be collected for a single #GValue.</para>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -