mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
GResource – Add note to documentation that the memory must be at least pointer aligned
https://bugzilla.gnome.org/show_bug.cgi?id=790030
This commit is contained in:
committed by
Philip Withnall
parent
97293636af
commit
23373d7f7e
@@ -524,6 +524,9 @@ g_resource_new_from_table (GvdbTable *table)
|
||||
* If you want to use this resource in the global resource namespace you need
|
||||
* to register it with g_resources_register().
|
||||
*
|
||||
* Note: @data must be backed by memory that is at least pointer aligned.
|
||||
* Otherwise this function will fail and exit the process.
|
||||
*
|
||||
* Returns: (transfer full): a new #GResource, or %NULL on error
|
||||
*
|
||||
* Since: 2.32
|
||||
|
Reference in New Issue
Block a user