summaryrefslogtreecommitdiff
path: root/girepository/girepository.h
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-06-05 12:40:15 -0300
committerJohan Dahlin <johan@gnome.org>2010-06-05 12:40:34 -0300
commitdce2f6c4f9ae1bc3447c717343a4483ca7ec19b6 (patch)
treebb2756f1798bacbf069e10ceb35992d9b07de29a /girepository/girepository.h
parent3ae1f419c4ab8902985c07a273b281b37d287b5e (diff)
downloadgobject-introspection-dce2f6c4f9ae1bc3447c717343a4483ca7ec19b6.tar.gz
[girepository] Move GIArgInfo out of ginfo.ch
Diffstat (limited to 'girepository/girepository.h')
-rw-r--r--girepository/girepository.h56
1 files changed, 1 insertions, 55 deletions
diff --git a/girepository/girepository.h b/girepository/girepository.h
index 543dab44..980049eb 100644
--- a/girepository/girepository.h
+++ b/girepository/girepository.h
@@ -26,6 +26,7 @@
#include <glib-object.h>
#include <gmodule.h>
+#include <giarginfo.h>
#include <gibaseinfo.h>
#include <gicallableinfo.h>
#include <gifunctioninfo.h>
@@ -146,61 +147,6 @@ void gi_cclosure_marshal_generic (GClosure *closure,
gpointer invocation_hint,
gpointer marshal_data);
-
-/* GIArgInfo */
-
-#define GI_IS_ARG_INFO(info) \
- (g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_ARG)
-
-/**
- * GIDirection:
- * @GI_DIRECTION_IN: in argument.
- * @GI_DIRECTION_OUT: out argument.
- * @GI_DIRECTION_INOUT: in and out argument.
- *
- * The direction of a #GIArgInfo.
- */
-typedef enum {
- GI_DIRECTION_IN,
- GI_DIRECTION_OUT,
- GI_DIRECTION_INOUT
-} GIDirection;
-
-/**
- * GIScopeType:
- * @GI_SCOPE_TYPE_INVALID: The argument is not of callback type.
- * @GI_SCOPE_TYPE_CALL: The callback and associated user_data is only
- * used during the call to this function.
- * @GI_SCOPE_TYPE_ASYNC: The callback and associated user_data is
- * only used until the callback is invoked, and the callback.
- * is invoked always exactly once.
- * @GI_SCOPE_TYPE_NOTIFIED: The callback and and associated
- * user_data is used until the caller is notfied via the destroy_notify.
- *
- * Scope type of a #GIArgInfo representing callback, determines how the
- * callback is invoked and is used to decided when the invoke structs
- * can be freed.
- */
-typedef enum {
- GI_SCOPE_TYPE_INVALID,
- GI_SCOPE_TYPE_CALL,
- GI_SCOPE_TYPE_ASYNC,
- GI_SCOPE_TYPE_NOTIFIED
-} GIScopeType;
-
-GIDirection g_arg_info_get_direction (GIArgInfo *info);
-gboolean g_arg_info_is_return_value (GIArgInfo *info);
-gboolean g_arg_info_is_optional (GIArgInfo *info);
-gboolean g_arg_info_is_caller_allocates (GIArgInfo *info);
-gboolean g_arg_info_may_be_null (GIArgInfo *info);
-GITransfer g_arg_info_get_ownership_transfer (GIArgInfo *info);
-GIScopeType g_arg_info_get_scope (GIArgInfo *info);
-gint g_arg_info_get_closure (GIArgInfo *info);
-gint g_arg_info_get_destroy (GIArgInfo *info);
-GITypeInfo * g_arg_info_get_type (GIArgInfo *info);
-void g_arg_info_load_type (GIArgInfo *info,
- GITypeInfo *type);
-
/* GITypeInfo */
#define GI_IS_TYPE_INFO(info) \