Package: gobject
Function gobject:strdup-value-contents
Lambda Listgobject:strdup-value-contents (gvalue) ArgumentsReturn ValueThe string for the contents of gvalue. Details Returns a string, which describes the contents of a g:value instance. The main purpose of this function is to describe g:value contents for
debugging output, the way in which the contents are described may change
between different GLib versions. Examples(g:with-values ((value1 "gboolean" nil) (value2 "gint" 199) (value3 "gdouble" 2.0) (value4 "gchararray" "string")) (values (g:strdup-value-contents value1) (g:strdup-value-contents value2) (g:strdup-value-contents value3) (g:strdup-value-contents value4))) => "FALSE" => "199" => "2.000000" => ""string"" | See also |
2025-08-23