mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
girepository: Add GI_REPOSITORY_LOAD_FLAG_NONE
This just makes code using the load flags a little more readable. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
f4f38c233f
commit
39afe18221
@ -62,6 +62,7 @@ G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* GIRepositoryLoadFlags:
|
* GIRepositoryLoadFlags:
|
||||||
|
* @GI_REPOSITORY_LOAD_FLAG_NONE: No flags set.
|
||||||
* @GI_REPOSITORY_LOAD_FLAG_LAZY: Lazily load the typelib.
|
* @GI_REPOSITORY_LOAD_FLAG_LAZY: Lazily load the typelib.
|
||||||
*
|
*
|
||||||
* Flags that control how a typelib is loaded.
|
* Flags that control how a typelib is loaded.
|
||||||
@ -70,6 +71,7 @@ G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject)
|
|||||||
*/
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
GI_REPOSITORY_LOAD_FLAG_NONE = 0,
|
||||||
GI_REPOSITORY_LOAD_FLAG_LAZY = 1 << 0
|
GI_REPOSITORY_LOAD_FLAG_LAZY = 1 << 0
|
||||||
} GIRepositoryLoadFlags;
|
} GIRepositoryLoadFlags;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user