mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Merge branch 'th/glib-private-const' into 'main'
[th/glib-private-const] glib: return const pointer from glib__private__() See merge request GNOME/glib!3859
This commit is contained in:
commit
5f345a2653
@ -36,10 +36,10 @@
|
||||
* Do not call this function; it is used to share private
|
||||
* API between glib, gobject, and gio.
|
||||
*/
|
||||
GLibPrivateVTable *
|
||||
const GLibPrivateVTable *
|
||||
glib__private__ (void)
|
||||
{
|
||||
static GLibPrivateVTable table = {
|
||||
static const GLibPrivateVTable table = {
|
||||
g_wakeup_new,
|
||||
g_wakeup_free,
|
||||
g_wakeup_get_pollfd,
|
||||
|
@ -295,7 +295,7 @@ typedef struct {
|
||||
} GLibPrivateVTable;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GLibPrivateVTable *glib__private__ (void);
|
||||
const GLibPrivateVTable *glib__private__ (void);
|
||||
|
||||
/* Please see following for the use of ".ACP" over ""
|
||||
* on Windows, although both are accepted at compile-time
|
||||
|
Loading…
Reference in New Issue
Block a user