mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 14:06:15 +01:00
Add G_PARAM_STATIC_STRINGS define (fixes #418021).
* gparam.h: Add G_PARAM_STATIC_STRINGS define (fixes #418021). svn path=/trunk/; revision=5402
This commit is contained in:
parent
add62500f7
commit
399300e5e1
@ -1,3 +1,8 @@
|
|||||||
|
2007-03-14 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gparam.h:
|
||||||
|
Add G_PARAM_STATIC_STRINGS define (fixes #418021).
|
||||||
|
|
||||||
Mon Mar 12 13:30:20 2007 Tim Janik <timj@gtk.org>
|
Mon Mar 12 13:30:20 2007 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtype.h: marked purely functional g_type accessors as PURE or CONST,
|
* gtype.h: marked purely functional g_type accessors as PURE or CONST,
|
||||||
|
@ -61,6 +61,7 @@ typedef enum
|
|||||||
G_PARAM_STATIC_BLURB = 1 << 7
|
G_PARAM_STATIC_BLURB = 1 << 7
|
||||||
} GParamFlags;
|
} GParamFlags;
|
||||||
#define G_PARAM_READWRITE (G_PARAM_READABLE | G_PARAM_WRITABLE)
|
#define G_PARAM_READWRITE (G_PARAM_READABLE | G_PARAM_WRITABLE)
|
||||||
|
#define G_PARAM_STATIC_STRINGS (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
|
||||||
#define G_PARAM_MASK (0x000000ff)
|
#define G_PARAM_MASK (0x000000ff)
|
||||||
/* bits in the range 0xffffff00 are reserved for 3rd party usage */
|
/* bits in the range 0xffffff00 are reserved for 3rd party usage */
|
||||||
#define G_PARAM_USER_SHIFT (8)
|
#define G_PARAM_USER_SHIFT (8)
|
||||||
|
Loading…
Reference in New Issue
Block a user