GBytes: add range-checked pointer getter

Updated and improved by Nitin Wartkar.

Fixes: #1098
This commit is contained in:
Nitin Wartkar
2021-06-15 12:01:11 +00:00
committed by Philip Withnall
parent 9d2d99efe7
commit e3452ea01f
4 changed files with 113 additions and 0 deletions

View File

@@ -3028,6 +3028,7 @@ g_bytes_new_static
g_bytes_new_with_free_func
g_bytes_new_from_bytes
g_bytes_get_data
g_bytes_get_region
g_bytes_get_size
g_bytes_hash
g_bytes_equal