mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
gwin32registrykey: Clarify that value sizes are in bytes
It can be confusing otherwise when getting string values: is the size in bytes or wide-characters? Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3649
This commit is contained in:
@@ -1978,7 +1978,7 @@ g_win32_registry_get_os_dirs (void)
|
||||
* @value_type: (out) (optional): type of the value retrieved.
|
||||
* @value_data: (out callee-allocates) (optional): contents of the value.
|
||||
* @value_data_size: (out) (optional): size of the buffer pointed
|
||||
* by @value_data.
|
||||
* by @value_data, in bytes.
|
||||
* @error: (nullable): a pointer to %NULL #GError, or %NULL
|
||||
*
|
||||
* Get data from a value of a key. String data is guaranteed to be
|
||||
@@ -2245,7 +2245,7 @@ MuiRegQueryValueExW (HKEY hKey,
|
||||
* @value_type: (out) (optional): type of the value retrieved.
|
||||
* @value_data: (out callee-allocates) (optional): contents of the value.
|
||||
* @value_data_size: (out) (optional): size of the buffer pointed
|
||||
* by @value_data.
|
||||
* by @value_data, in bytes.
|
||||
* @error: (nullable): a pointer to %NULL #GError, or %NULL
|
||||
*
|
||||
* Get data from a value of a key. String data is guaranteed to be
|
||||
|
Reference in New Issue
Block a user