mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
Make G_IO_FLAG_IS_WRITEABLE and enum value
Having it as a define was causing some problems for bindings. https://bugzilla.gnome.org/show_bug.cgi?id=657045
This commit is contained in:
parent
262ebcd3fa
commit
7788bb3a91
@ -89,15 +89,13 @@ typedef enum
|
|||||||
G_IO_FLAG_NONBLOCK = 1 << 1,
|
G_IO_FLAG_NONBLOCK = 1 << 1,
|
||||||
G_IO_FLAG_IS_READABLE = 1 << 2, /* Read only flag */
|
G_IO_FLAG_IS_READABLE = 1 << 2, /* Read only flag */
|
||||||
G_IO_FLAG_IS_WRITABLE = 1 << 3, /* Read only flag */
|
G_IO_FLAG_IS_WRITABLE = 1 << 3, /* Read only flag */
|
||||||
|
G_IO_FLAG_IS_WRITEABLE = 1 << 3, /* Misspelling in 2.29.10 and earlier */
|
||||||
G_IO_FLAG_IS_SEEKABLE = 1 << 4, /* Read only flag */
|
G_IO_FLAG_IS_SEEKABLE = 1 << 4, /* Read only flag */
|
||||||
G_IO_FLAG_MASK = (1 << 5) - 1,
|
G_IO_FLAG_MASK = (1 << 5) - 1,
|
||||||
G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
|
G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
|
||||||
G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
|
G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
|
||||||
} GIOFlags;
|
} GIOFlags;
|
||||||
|
|
||||||
/* Misspelling in enum in 2.29.10 and earlier */
|
|
||||||
#define G_IO_FLAG_IS_WRITEABLE (G_IO_FLAG_IS_WRITABLE)
|
|
||||||
|
|
||||||
struct _GIOChannel
|
struct _GIOChannel
|
||||||
{
|
{
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
|
Loading…
Reference in New Issue
Block a user