pbs3141
(pbs3141)
1
The following table shows some functions from GObject.Value.
strings |
boxed types |
dup_string |
dup_boxed |
set_string |
set_boxed |
get_string |
get_boxed |
take_string |
take_boxed |
steal_string |
|
Why is there an empty space in this table where steal_boxed
should be?
This function would be useful in Glibmm for reducing pointless copies.
pwithnall
(Philip Withnall)
2
Because nobody’s added it yet. Merge request welcome. 
g_value_steal_string()
was only added in 2023.
1 Like
pbs3141
(pbs3141)
3
Thank you, that looks very easy. I asked in case there was some technical reason g_value_steal_boxed
didn’t exist.
system
(system)
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.