[glibmm/mkolny/use-mmgirgenerator] Generate functions for Gio module
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/mkolny/use-mmgirgenerator] Generate functions for Gio module
- Date: Sun, 6 Nov 2016 17:17:47 +0000 (UTC)
commit bcbe11410a931de35b2c789fdb82cf84ac6dc2ea
Author: Marcin Kolny <marcin kolny gmail com>
Date: Sat Nov 5 20:45:01 2016 +0100
Generate functions for Gio module
gio/src/application.hg | 1 -
gio/src/gio_methods.defs |21881 +++++++++++------------------
gio/src/gio_methods.defs.patch | 177 +
gio/src/gio_vfuncs.defs | 4 +-
gio/src/gio_vfuncs.defs.patch | 10 +
gio/src/settingsschema.hg | 3 -
gio/src/settingsschemakey.hg | 7 -
glib/src/glib_functions.defs | 34 +-
tools/gen_scripts/glibmm_generate_defs.sh | 5 +
9 files changed, 8308 insertions(+), 13814 deletions(-)
---
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 626fa66..6868a0e 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -289,7 +289,6 @@ public:
//Renamed from register() because that is a C++ keyword.
_WRAP_METHOD(bool register_application(const Glib::RefPtr<Gio::Cancellable>& cancellable{?}),
g_application_register, errthrow)
- _IGNORE(g_application_impl_register)
_WRAP_METHOD(void hold(), g_application_hold)
_WRAP_METHOD(void release(), g_application_release)
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index 833d822..c6f5b82 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -1,2449 +1,1214 @@
-;; -*- scheme -*-
-; object definitions ...
-(define-object Info
- (in-module "GApp")
- (c-name "GAppInfo")
- (gtype-id "G_TYPE_APP_INFO")
-)
-
-(define-object LaunchContext
- (in-module "GApp")
- (parent "GObject")
- (c-name "GAppLaunchContext")
- (gtype-id "G_TYPE_APP_LAUNCH_CONTEXT")
-)
-
-(define-object n
- (in-module "GApplicatio")
- (parent "GObject")
- (c-name "GApplication")
- (gtype-id "G_TYPE_APPLICATION")
-)
-
-(define-object CommandLine
- (in-module "GApplication")
- (parent "GObject")
- (c-name "GApplicationCommandLine")
- (gtype-id "G_TYPE_APPLICATION_COMMAND_LINE")
-)
-
-(define-object Initable
- (in-module "GAsync")
- (c-name "GAsyncInitable")
- (gtype-id "G_TYPE_ASYNC_INITABLE")
-)
-
-(define-object Result
- (in-module "GAsync")
- (c-name "GAsyncResult")
- (gtype-id "G_TYPE_ASYNC_RESULT")
-)
-
-(define-object e
- (in-module "GCancellabl")
- (parent "GObject")
- (c-name "GCancellable")
- (gtype-id "G_TYPE_CANCELLABLE")
-)
-
-(define-object r
- (in-module "GConverte")
- (c-name "GConverter")
- (gtype-id "G_TYPE_CONVERTER")
-)
-
-(define-object Auth
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusAuth")
- (gtype-id "G_TYPE_D_BUS_AUTH")
-)
-
-(define-object AuthMechanism
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusAuthMechanism")
- (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM")
-)
-
-(define-object AuthMechanismAnon
- (in-module "GDBus")
- (parent "GDBusAuthMechanism")
- (c-name "GDBusAuthMechanismAnon")
- (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_ANON")
-)
-
-(define-object AuthMechanismExternal
- (in-module "GDBus")
- (parent "GDBusAuthMechanism")
- (c-name "GDBusAuthMechanismExternal")
- (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_EXTERNAL")
-)
-
-(define-object AuthMechanismSha1
- (in-module "GDBus")
- (parent "GDBusAuthMechanism")
- (c-name "GDBusAuthMechanismSha1")
- (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_SHA1")
-)
-
-(define-object Interface
- (in-module "GDBus")
- (c-name "GDBusInterface")
- (gtype-id "G_TYPE_D_BUS_INTERFACE")
-)
-
-(define-object InterfaceSkeleton
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusInterfaceSkeleton")
- (gtype-id "G_TYPE_D_BUS_INTERFACE_SKELETON")
-)
-
-(define-object Object
- (in-module "GDBus")
- (c-name "GDBusObject")
- (gtype-id "G_TYPE_D_BUS_OBJECT")
-)
-
-(define-object ObjectManager
- (in-module "GDBus")
- (c-name "GDBusObjectManager")
- (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER")
-)
-
-(define-object ObjectManagerClient
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusObjectManagerClient")
- (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER_CLIENT")
-)
-
-(define-object ObjectManagerServer
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusObjectManagerServer")
- (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER_SERVER")
-)
-
-(define-object ObjectProxy
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusObjectProxy")
- (gtype-id "G_TYPE_D_BUS_OBJECT_PROXY")
-)
-
-(define-object ObjectSkeleton
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusObjectSkeleton")
- (gtype-id "G_TYPE_D_BUS_OBJECT_SKELETON")
-)
-
-(define-object Proxy
- (in-module "GDBus")
- (parent "GObject")
- (c-name "GDBusProxy")
- (gtype-id "G_TYPE_D_BUS_PROXY")
-)
-
-(define-object AppInfoLookup
- (in-module "GDesktop")
- (c-name "GDesktopAppInfoLookup")
- (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP")
-)
-
-(define-object e
- (in-module "GDriv")
- (c-name "GDrive")
- (gtype-id "G_TYPE_DRIVE")
-)
-
-(define-object Icon
- (in-module "GEmblemed")
- (parent "GObject")
- (c-name "GEmblemedIcon")
- (gtype-id "G_TYPE_EMBLEMED_ICON")
-)
-
-(define-object e
- (in-module "GFil")
- (c-name "GFile")
- (gtype-id "G_TYPE_FILE")
-)
-
-(define-object DescriptorBased
- (in-module "GFile")
- (c-name "GFileDescriptorBased")
- (gtype-id "G_TYPE_FILE_DESCRIPTOR_BASED")
-)
-
-(define-object Enumerator
- (in-module "GFile")
- (parent "GObject")
- (c-name "GFileEnumerator")
- (gtype-id "G_TYPE_FILE_ENUMERATOR")
-)
-
-(define-object Monitor
- (in-module "GFile")
- (parent "GObject")
- (c-name "GFileMonitor")
- (gtype-id "G_TYPE_FILE_MONITOR")
-)
-
-(define-object m
- (in-module "GIOStrea")
- (parent "GObject")
- (c-name "GIOStream")
- (gtype-id "G_TYPE_IO_STREAM")
-)
-
-(define-object IOStream
- (in-module "GFile")
- (parent "GIOStream")
- (c-name "GFileIOStream")
- (gtype-id "G_TYPE_FILE_IO_STREAM")
-)
-
-(define-object n
- (in-module "GIco")
- (c-name "GIcon")
- (gtype-id "G_TYPE_ICON")
-)
-
-(define-object Address
- (in-module "GInet")
- (parent "GObject")
- (c-name "GInetAddress")
- (gtype-id "G_TYPE_INET_ADDRESS")
-)
-
-(define-object AddressMask
- (in-module "GInet")
- (parent "GObject")
- (c-name "GInetAddressMask")
- (gtype-id "G_TYPE_INET_ADDRESS_MASK")
-)
-
-(define-object e
- (in-module "GInitabl")
- (c-name "GInitable")
- (gtype-id "G_TYPE_INITABLE")
-)
-
-(define-object Stream
- (in-module "GInput")
- (parent "GObject")
- (c-name "GInputStream")
- (gtype-id "G_TYPE_INPUT_STREAM")
-)
-
-(define-object InputStream
- (in-module "GFilter")
- (parent "GInputStream")
- (c-name "GFilterInputStream")
- (gtype-id "G_TYPE_FILTER_INPUT_STREAM")
-)
-
-(define-object InputStream
- (in-module "GBuffered")
- (parent "GFilterInputStream")
- (c-name "GBufferedInputStream")
- (gtype-id "G_TYPE_BUFFERED_INPUT_STREAM")
-)
-
-(define-object InputStream
- (in-module "GData")
- (parent "GBufferedInputStream")
- (c-name "GDataInputStream")
- (gtype-id "G_TYPE_DATA_INPUT_STREAM")
-)
-
-(define-object InputStream
- (in-module "GConverter")
- (parent "GFilterInputStream")
- (c-name "GConverterInputStream")
- (gtype-id "G_TYPE_CONVERTER_INPUT_STREAM")
-)
-
-(define-object InputStream
- (in-module "GFile")
- (parent "GInputStream")
- (c-name "GFileInputStream")
- (gtype-id "G_TYPE_FILE_INPUT_STREAM")
-)
-
-(define-object Icon
- (in-module "GLoadable")
- (c-name "GLoadableIcon")
- (gtype-id "G_TYPE_LOADABLE_ICON")
-)
-
-(define-object FileIOStream
- (in-module "GLocal")
- (parent "GFileIOStream")
- (c-name "GLocalFileIOStream")
- (gtype-id "G_TYPE_LOCAL_FILE_IO_STREAM")
-)
-
-(define-object FileInputStream
- (in-module "GLocal")
- (parent "GFileInputStream")
- (c-name "GLocalFileInputStream")
- (gtype-id "G_TYPE_LOCAL_FILE_INPUT_STREAM")
-)
-
-(define-object FileMonitor
- (in-module "GLocal")
- (parent "GFileMonitor")
- (c-name "GLocalFileMonitor")
- (gtype-id "G_TYPE_LOCAL_FILE_MONITOR")
-)
-
-(define-object InputStream
- (in-module "GMemory")
- (parent "GInputStream")
- (c-name "GMemoryInputStream")
- (gtype-id "G_TYPE_MEMORY_INPUT_STREAM")
-)
-
-(define-object AttributeIter
- (in-module "GMenu")
- (parent "GObject")
- (c-name "GMenuAttributeIter")
- (gtype-id "G_TYPE_MENU_ATTRIBUTE_ITER")
-)
-
-(define-object LinkIter
- (in-module "GMenu")
- (parent "GObject")
- (c-name "GMenuLinkIter")
- (gtype-id "G_TYPE_MENU_LINK_ITER")
-)
-
-(define-object Model
- (in-module "GMenu")
- (parent "GObject")
- (c-name "GMenuModel")
- (gtype-id "G_TYPE_MENU_MODEL")
-)
-
-(define-object t
- (in-module "GMoun")
- (c-name "GMount")
- (gtype-id "G_TYPE_MOUNT")
-)
-
-(define-object Operation
- (in-module "GMount")
- (parent "GObject")
- (c-name "GMountOperation")
- (gtype-id "G_TYPE_MOUNT_OPERATION")
-)
-
-(define-object Address
- (in-module "GNetwork")
- (parent "GObject")
- (c-name "GNetworkAddress")
- (gtype-id "G_TYPE_NETWORK_ADDRESS")
-)
-
-(define-object MonitorBase
- (in-module "GNetwork")
- (parent "GObject")
- (c-name "GNetworkMonitorBase")
- (gtype-id "G_TYPE_NETWORK_MONITOR_BASE")
-)
-
-(define-object MonitorNetlink
- (in-module "GNetwork")
- (parent "GNetworkMonitorBase")
- (c-name "GNetworkMonitorNetlink")
- (gtype-id "G_TYPE_NETWORK_MONITOR_NETLINK")
-)
-
-(define-object MonitorNM
- (in-module "GNetwork")
- (parent "GNetworkMonitorNetlink")
- (c-name "GNetworkMonitorNM")
- (gtype-id "G_TYPE_NETWORK_MONITOR_NM")
-)
-
-(define-object MonitorPortal
- (in-module "GNetwork")
- (parent "GNetworkMonitorBase")
- (c-name "GNetworkMonitorPortal")
- (gtype-id "G_TYPE_NETWORK_MONITOR_PORTAL")
-)
-
-(define-object Service
- (in-module "GNetwork")
- (parent "GObject")
- (c-name "GNetworkService")
- (gtype-id "G_TYPE_NETWORK_SERVICE")
-)
-
-(define-object Backend
- (in-module "GNotification")
- (parent "GObject")
- (c-name "GNotificationBackend")
- (gtype-id "G_TYPE_NOTIFICATION_BACKEND")
-)
-
-(define-object Stream
- (in-module "GOutput")
- (parent "GObject")
- (c-name "GOutputStream")
- (gtype-id "G_TYPE_OUTPUT_STREAM")
-)
-
-(define-object OutputStream
- (in-module "GMemory")
- (parent "GOutputStream")
- (c-name "GMemoryOutputStream")
- (gtype-id "G_TYPE_MEMORY_OUTPUT_STREAM")
-)
-
-(define-object OutputStream
- (in-module "GFilter")
- (parent "GOutputStream")
- (c-name "GFilterOutputStream")
- (gtype-id "G_TYPE_FILTER_OUTPUT_STREAM")
-)
-
-(define-object OutputStream
- (in-module "GBuffered")
- (parent "GFilterOutputStream")
- (c-name "GBufferedOutputStream")
- (gtype-id "G_TYPE_BUFFERED_OUTPUT_STREAM")
-)
-
-(define-object OutputStream
- (in-module "GConverter")
- (parent "GFilterOutputStream")
- (c-name "GConverterOutputStream")
- (gtype-id "G_TYPE_CONVERTER_OUTPUT_STREAM")
-)
-
-(define-object OutputStream
- (in-module "GData")
- (parent "GFilterOutputStream")
- (c-name "GDataOutputStream")
- (gtype-id "G_TYPE_DATA_OUTPUT_STREAM")
-)
-
-(define-object OutputStream
- (in-module "GFile")
- (parent "GOutputStream")
- (c-name "GFileOutputStream")
- (gtype-id "G_TYPE_FILE_OUTPUT_STREAM")
-)
-
-(define-object FileOutputStream
- (in-module "GLocal")
- (parent "GFileOutputStream")
- (c-name "GLocalFileOutputStream")
- (gtype-id "G_TYPE_LOCAL_FILE_OUTPUT_STREAM")
-)
-
-(define-object n
- (in-module "GPermissio")
- (parent "GObject")
- (c-name "GPermission")
- (gtype-id "G_TYPE_PERMISSION")
-)
-
-(define-object r
- (in-module "GResolve")
- (parent "GObject")
- (c-name "GResolver")
- (gtype-id "G_TYPE_RESOLVER")
-)
-
-(define-object e
- (in-module "GSeekabl")
- (c-name "GSeekable")
- (gtype-id "G_TYPE_SEEKABLE")
-)
-
-(define-object s
- (in-module "GSetting")
- (parent "GObject")
- (c-name "GSettings")
- (gtype-id "G_TYPE_SETTINGS")
-)
-
-(define-object Backend
- (in-module "GSettings")
- (parent "GObject")
- (c-name "GSettingsBackend")
- (gtype-id "G_TYPE_SETTINGS_BACKEND")
-)
-
-(define-object SettingsBackend
- (in-module "GDelayed")
- (parent "GSettingsBackend")
- (c-name "GDelayedSettingsBackend")
- (gtype-id "G_TYPE_DELAYED_SETTINGS_BACKEND")
-)
-
-(define-object ActionGroup
- (in-module "GSimple")
- (parent "GObject")
- (c-name "GSimpleActionGroup")
- (gtype-id "G_TYPE_SIMPLE_ACTION_GROUP")
-)
-
-(define-object ProxyResolver
- (in-module "GSimple")
- (parent "GObject")
- (c-name "GSimpleProxyResolver")
- (gtype-id "G_TYPE_SIMPLE_PROXY_RESOLVER")
-)
-
-(define-object t
- (in-module "GSocke")
- (parent "GObject")
- (c-name "GSocket")
- (gtype-id "G_TYPE_SOCKET")
-)
-
-(define-object Address
- (in-module "GSocket")
- (parent "GObject")
- (c-name "GSocketAddress")
- (gtype-id "G_TYPE_SOCKET_ADDRESS")
-)
-
-(define-object SocketAddress
- (in-module "GNative")
- (parent "GSocketAddress")
- (c-name "GNativeSocketAddress")
- (gtype-id "G_TYPE_NATIVE_SOCKET_ADDRESS")
-)
-
-(define-object SocketAddress
- (in-module "GInet")
- (parent "GSocketAddress")
- (c-name "GInetSocketAddress")
- (gtype-id "G_TYPE_INET_SOCKET_ADDRESS")
-)
-
-(define-object Address
- (in-module "GProxy")
- (parent "GInetSocketAddress")
- (c-name "GProxyAddress")
- (gtype-id "G_TYPE_PROXY_ADDRESS")
-)
-
-(define-object AddressEnumerator
- (in-module "GSocket")
- (parent "GObject")
- (c-name "GSocketAddressEnumerator")
- (gtype-id "G_TYPE_SOCKET_ADDRESS_ENUMERATOR")
-)
-
-(define-object AddressEnumerator
- (in-module "GProxy")
- (parent "GSocketAddressEnumerator")
- (c-name "GProxyAddressEnumerator")
- (gtype-id "G_TYPE_PROXY_ADDRESS_ENUMERATOR")
-)
-
-(define-object Client
- (in-module "GSocket")
- (parent "GObject")
- (c-name "GSocketClient")
- (gtype-id "G_TYPE_SOCKET_CLIENT")
-)
-
-(define-object Connectable
- (in-module "GSocket")
- (c-name "GSocketConnectable")
- (gtype-id "G_TYPE_SOCKET_CONNECTABLE")
-)
-
-(define-object Connection
- (in-module "GSocket")
- (parent "GIOStream")
- (c-name "GSocketConnection")
- (gtype-id "G_TYPE_SOCKET_CONNECTION")
-)
-
-(define-object ControlMessage
- (in-module "GSocket")
- (parent "GObject")
- (c-name "GSocketControlMessage")
- (gtype-id "G_TYPE_SOCKET_CONTROL_MESSAGE")
-)
-
-(define-object InputStream
- (in-module "GSocket")
- (parent "GInputStream")
- (c-name "GSocketInputStream")
- (gtype-id "G_TYPE_SOCKET_INPUT_STREAM")
-)
-
-(define-object Listener
- (in-module "GSocket")
- (parent "GObject")
- (c-name "GSocketListener")
- (gtype-id "G_TYPE_SOCKET_LISTENER")
-)
-
-(define-object OutputStream
- (in-module "GSocket")
- (parent "GOutputStream")
- (c-name "GSocketOutputStream")
- (gtype-id "G_TYPE_SOCKET_OUTPUT_STREAM")
-)
-
-(define-object Service
- (in-module "GSocket")
- (parent "GSocketListener")
- (c-name "GSocketService")
- (gtype-id "G_TYPE_SOCKET_SERVICE")
-)
-
-(define-object 4aProxy
- (in-module "GSocks")
- (parent "GObject")
- (c-name "GSocks4aProxy")
- (gtype-id "G_TYPE_SOCKS4A_PROXY")
-)
-
-(define-object Connection
- (in-module "GTcp")
- (parent "GSocketConnection")
- (c-name "GTcpConnection")
- (gtype-id "G_TYPE_TCP_CONNECTION")
-)
-
-(define-object WrapperConnection
- (in-module "GTcp")
- (parent "GTcpConnection")
- (c-name "GTcpWrapperConnection")
- (gtype-id "G_TYPE_TCP_WRAPPER_CONNECTION")
-)
-
-(define-object Resolver
- (in-module "GThreaded")
- (parent "GResolver")
- (c-name "GThreadedResolver")
- (gtype-id "G_TYPE_THREADED_RESOLVER")
-)
-
-(define-object SocketService
- (in-module "GThreaded")
- (parent "GSocketService")
- (c-name "GThreadedSocketService")
- (gtype-id "G_TYPE_THREADED_SOCKET_SERVICE")
-)
-
-(define-object Certificate
- (in-module "GTls")
- (parent "GObject")
- (c-name "GTlsCertificate")
- (gtype-id "G_TYPE_TLS_CERTIFICATE")
+(define-function g_action_name_is_valid
+ (c-name "g_action_name_is_valid")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
)
-(define-object Connection
- (in-module "GTls")
- (parent "GIOStream")
- (c-name "GTlsConnection")
- (gtype-id "G_TYPE_TLS_CONNECTION")
+(define-function g_action_parse_detailed_name
+ (c-name "g_action_parse_detailed_name")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "detailed_name")
+ '("gchar**" "action_name")
+ '("GVariant**" "target_value")
+ '("GError**" "error")
+ )
)
-(define-object Database
- (in-module "GTls")
- (parent "GObject")
- (c-name "GTlsDatabase")
- (gtype-id "G_TYPE_TLS_DATABASE")
+(define-function g_action_print_detailed_name
+ (c-name "g_action_print_detailed_name")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "target_value")
+ )
)
-(define-object Interaction
- (in-module "GTls")
- (parent "GObject")
- (c-name "GTlsInteraction")
- (gtype-id "G_TYPE_TLS_INTERACTION")
+(define-function g_app_info_create_from_commandline
+ (c-name "g_app_info_create_from_commandline")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "commandline")
+ '("const-char*" "application_name")
+ '("GAppInfoCreateFlags" "flags")
+ '("GError**" "error")
+ )
)
-(define-object Password
- (in-module "GTls")
- (parent "GObject")
- (c-name "GTlsPassword")
- (gtype-id "G_TYPE_TLS_PASSWORD")
+(define-function g_app_info_get_all
+ (c-name "g_app_info_get_all")
+ (return-type "GList*")
)
-(define-object Connection
- (in-module "GUnix")
- (parent "GSocketConnection")
- (c-name "GUnixConnection")
- (gtype-id "G_TYPE_UNIX_CONNECTION")
+(define-function g_app_info_get_all_for_type
+ (c-name "g_app_info_get_all_for_type")
+ (return-type "GList*")
+ (parameters
+ '("const-char*" "content_type")
+ )
)
-(define-object CredentialsMessage
- (in-module "GUnix")
- (parent "GSocketControlMessage")
- (c-name "GUnixCredentialsMessage")
- (gtype-id "G_TYPE_UNIX_CREDENTIALS_MESSAGE")
+(define-function g_app_info_get_default_for_type
+ (c-name "g_app_info_get_default_for_type")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "content_type")
+ '("gboolean" "must_support_uris")
+ )
)
-(define-object FDList
- (in-module "GUnix")
- (parent "GObject")
- (c-name "GUnixFDList")
- (gtype-id "G_TYPE_UNIX_FD_LIST")
+(define-function g_app_info_get_default_for_uri_scheme
+ (c-name "g_app_info_get_default_for_uri_scheme")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "uri_scheme")
+ )
)
-(define-object FDMessage
- (in-module "GUnix")
- (parent "GSocketControlMessage")
- (c-name "GUnixFDMessage")
- (gtype-id "G_TYPE_UNIX_FD_MESSAGE")
+(define-function g_app_info_get_fallback_for_type
+ (c-name "g_app_info_get_fallback_for_type")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "content_type")
+ )
)
-(define-object InputStream
- (in-module "GUnix")
- (parent "GInputStream")
- (c-name "GUnixInputStream")
- (gtype-id "G_TYPE_UNIX_INPUT_STREAM")
+(define-function g_app_info_get_recommended_for_type
+ (c-name "g_app_info_get_recommended_for_type")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "content_type")
+ )
)
-(define-object OutputStream
- (in-module "GUnix")
- (parent "GOutputStream")
- (c-name "GUnixOutputStream")
- (gtype-id "G_TYPE_UNIX_OUTPUT_STREAM")
+(define-function g_app_info_launch_default_for_uri
+ (c-name "g_app_info_launch_default_for_uri")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "uri")
+ '("GAppLaunchContext*" "launch_context")
+ '("GError**" "error")
+ )
)
-(define-object SocketAddress
- (in-module "GUnix")
- (parent "GSocketAddress")
- (c-name "GUnixSocketAddress")
- (gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS")
+(define-function g_app_info_launch_default_for_uri_async
+ (c-name "g_app_info_launch_default_for_uri_async")
+ (return-type "void")
+ (parameters
+ '("const-char*" "uri")
+ '("GAppLaunchContext*" "launch_context")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-object s
- (in-module "GVf")
- (parent "GObject")
- (c-name "GVfs")
- (gtype-id "G_TYPE_VFS")
+(define-function g_app_info_launch_default_for_uri_finish
+ (c-name "g_app_info_launch_default_for_uri_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-object e
- (in-module "GVolum")
- (c-name "GVolume")
- (gtype-id "G_TYPE_VOLUME")
+(define-function g_app_info_reset_type_associations
+ (c-name "g_app_info_reset_type_associations")
+ (return-type "void")
+ (parameters
+ '("const-char*" "content_type")
+ )
)
-(define-object Monitor
- (in-module "GVolume")
- (parent "GObject")
- (c-name "GVolumeMonitor")
- (gtype-id "G_TYPE_VOLUME_MONITOR")
+(define-function g_async_initable_newv_async
+ (c-name "g_async_initable_newv_async")
+ (return-type "void")
+ (parameters
+ '("GType" "object_type")
+ '("guint" "n_parameters")
+ '("GParameter*" "parameters")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-object VolumeMonitor
- (in-module "GNative")
- (parent "GVolumeMonitor")
- (c-name "GNativeVolumeMonitor")
- (gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR")
+(define-function g_bus_get
+ (c-name "g_bus_get")
+ (return-type "void")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-object 32InputStream
- (in-module "GWin")
- (parent "GInputStream")
- (c-name "GWin32InputStream")
- (gtype-id "G_TYPE_WIN32_INPUT_STREAM")
+(define-function g_bus_get_finish
+ (c-name "g_bus_get_finish")
+ (return-type "GDBusConnection*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-object 32OutputStream
- (in-module "GWin")
- (parent "GOutputStream")
- (c-name "GWin32OutputStream")
- (gtype-id "G_TYPE_WIN32_OUTPUT_STREAM")
+(define-function g_bus_get_sync
+ (c-name "g_bus_get_sync")
+ (return-type "GDBusConnection*")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-object 32RegistryKey
- (in-module "GWin")
- (parent "GObject")
- (c-name "GWin32RegistryKey")
- (gtype-id "G_TYPE_WIN32_REGISTRY_KEY")
+(define-function g_bus_own_name
+ (c-name "g_bus_own_name")
+ (return-type "guint")
+ (parameters
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GBusAcquiredCallback" "bus_acquired_handler")
+ '("GBusNameAcquiredCallback" "name_acquired_handler")
+ '("GBusNameLostCallback" "name_lost_handler")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
+ )
)
-(define-object Documents
- (in-module "GXdp")
- (c-name "GXdpDocuments")
- (gtype-id "G_TYPE_XDP_DOCUMENTS")
+(define-function g_bus_own_name_on_connection
+ (c-name "g_bus_own_name_on_connection")
+ (return-type "guint")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GBusNameAcquiredCallback" "name_acquired_handler")
+ '("GBusNameLostCallback" "name_lost_handler")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
+ )
)
-(define-object DocumentsProxy
- (in-module "GXdp")
- (parent "GDBusProxy")
- (c-name "GXdpDocumentsProxy")
- (gtype-id "G_TYPE_XDP_DOCUMENTS_PROXY")
+(define-function g_bus_own_name_on_connection_with_closures
+ (c-name "g_bus_own_name_on_connection_with_closures")
+ (return-type "guint")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GClosure*" "name_acquired_closure")
+ '("GClosure*" "name_lost_closure")
+ )
)
-(define-object DocumentsSkeleton
- (in-module "GXdp")
- (parent "GDBusInterfaceSkeleton")
- (c-name "GXdpDocumentsSkeleton")
- (gtype-id "G_TYPE_XDP_DOCUMENTS_SKELETON")
+(define-function g_bus_own_name_with_closures
+ (c-name "g_bus_own_name_with_closures")
+ (return-type "guint")
+ (parameters
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameOwnerFlags" "flags")
+ '("GClosure*" "bus_acquired_closure")
+ '("GClosure*" "name_acquired_closure")
+ '("GClosure*" "name_lost_closure")
+ )
)
-(define-object NetworkMonitor
- (in-module "GXdp")
- (c-name "GXdpNetworkMonitor")
- (gtype-id "G_TYPE_XDP_NETWORK_MONITOR")
+(define-function g_bus_unown_name
+ (c-name "g_bus_unown_name")
+ (return-type "void")
+ (parameters
+ '("guint" "owner_id")
+ )
)
-(define-object NetworkMonitorProxy
- (in-module "GXdp")
- (parent "GDBusProxy")
- (c-name "GXdpNetworkMonitorProxy")
- (gtype-id "G_TYPE_XDP_NETWORK_MONITOR_PROXY")
+(define-function g_bus_unwatch_name
+ (c-name "g_bus_unwatch_name")
+ (return-type "void")
+ (parameters
+ '("guint" "watcher_id")
+ )
)
-(define-object NetworkMonitorSkeleton
- (in-module "GXdp")
- (parent "GDBusInterfaceSkeleton")
- (c-name "GXdpNetworkMonitorSkeleton")
- (gtype-id "G_TYPE_XDP_NETWORK_MONITOR_SKELETON")
+(define-function g_bus_watch_name
+ (c-name "g_bus_watch_name")
+ (return-type "guint")
+ (parameters
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GBusNameAppearedCallback" "name_appeared_handler")
+ '("GBusNameVanishedCallback" "name_vanished_handler")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
+ )
)
-(define-object ProxyResolver
- (in-module "GXdp")
- (c-name "GXdpProxyResolver")
- (gtype-id "G_TYPE_XDP_PROXY_RESOLVER")
+(define-function g_bus_watch_name_on_connection
+ (c-name "g_bus_watch_name_on_connection")
+ (return-type "guint")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GBusNameAppearedCallback" "name_appeared_handler")
+ '("GBusNameVanishedCallback" "name_vanished_handler")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
+ )
)
-(define-object ProxyResolverProxy
- (in-module "GXdp")
- (parent "GDBusProxy")
- (c-name "GXdpProxyResolverProxy")
- (gtype-id "G_TYPE_XDP_PROXY_RESOLVER_PROXY")
+(define-function g_bus_watch_name_on_connection_with_closures
+ (c-name "g_bus_watch_name_on_connection_with_closures")
+ (return-type "guint")
+ (parameters
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GClosure*" "name_appeared_closure")
+ '("GClosure*" "name_vanished_closure")
+ )
)
-(define-object ProxyResolverSkeleton
- (in-module "GXdp")
- (parent "GDBusInterfaceSkeleton")
- (c-name "GXdpProxyResolverSkeleton")
- (gtype-id "G_TYPE_XDP_PROXY_RESOLVER_SKELETON")
+(define-function g_bus_watch_name_with_closures
+ (c-name "g_bus_watch_name_with_closures")
+ (return-type "guint")
+ (parameters
+ '("GBusType" "bus_type")
+ '("const-gchar*" "name")
+ '("GBusNameWatcherFlags" "flags")
+ '("GClosure*" "name_appeared_closure")
+ '("GClosure*" "name_vanished_closure")
+ )
)
-;; Enumerations and flags ...
-
-(define-enum AuthMechanismState
- (in-module "GDBus")
- (c-name "GDBusAuthMechanismState")
- (gtype-id "G_TYPE_D_BUS_AUTH_MECHANISM_STATE")
- (values
- '("invalid" "G_DBUS_AUTH_MECHANISM_STATE_INVALID")
- '("waiting-for-data" "G_DBUS_AUTH_MECHANISM_STATE_WAITING_FOR_DATA")
- '("have-data-to-send" "G_DBUS_AUTH_MECHANISM_STATE_HAVE_DATA_TO_SEND")
- '("rejected" "G_DBUS_AUTH_MECHANISM_STATE_REJECTED")
- '("accepted" "G_DBUS_AUTH_MECHANISM_STATE_ACCEPTED")
+(define-function g_content_type_can_be_executable
+ (c-name "g_content_type_can_be_executable")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "type")
)
)
-(define-flags InfoCreateFlags
- (in-module "GApp")
- (c-name "GAppInfoCreateFlags")
- (gtype-id "G_TYPE_APP_INFO_CREATE_FLAGS")
- (values
- '("none" "G_APP_INFO_CREATE_NONE")
- '("needs-terminal" "G_APP_INFO_CREATE_NEEDS_TERMINAL")
- '("supports-uris" "G_APP_INFO_CREATE_SUPPORTS_URIS")
- '("supports-startup-notification" "G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION")
+(define-function g_content_type_equals
+ (c-name "g_content_type_equals")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "type1")
+ '("const-gchar*" "type2")
)
)
-(define-flags Flags
- (in-module "GConverter")
- (c-name "GConverterFlags")
- (gtype-id "G_TYPE_CONVERTER_FLAGS")
- (values
- '("no-flags" "G_CONVERTER_NO_FLAGS")
- '("input-at-end" "G_CONVERTER_INPUT_AT_END")
- '("flush" "G_CONVERTER_FLUSH")
+(define-function g_content_type_from_mime_type
+ (c-name "g_content_type_from_mime_type")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "mime_type")
)
)
-(define-enum Result
- (in-module "GConverter")
- (c-name "GConverterResult")
- (gtype-id "G_TYPE_CONVERTER_RESULT")
- (values
- '("error" "G_CONVERTER_ERROR")
- '("converted" "G_CONVERTER_CONVERTED")
- '("finished" "G_CONVERTER_FINISHED")
- '("flushed" "G_CONVERTER_FLUSHED")
+(define-function g_content_type_get_description
+ (c-name "g_content_type_get_description")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "type")
)
)
-(define-enum StreamByteOrder
- (in-module "GData")
- (c-name "GDataStreamByteOrder")
- (gtype-id "G_TYPE_DATA_STREAM_BYTE_ORDER")
- (values
- '("big-endian" "G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN")
- '("little-endian" "G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN")
- '("host-endian" "G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN")
+(define-function g_content_type_get_generic_icon_name
+ (c-name "g_content_type_get_generic_icon_name")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "type")
)
)
-(define-enum StreamNewlineType
- (in-module "GData")
- (c-name "GDataStreamNewlineType")
- (gtype-id "G_TYPE_DATA_STREAM_NEWLINE_TYPE")
- (values
- '("lf" "G_DATA_STREAM_NEWLINE_TYPE_LF")
- '("cr" "G_DATA_STREAM_NEWLINE_TYPE_CR")
- '("cr-lf" "G_DATA_STREAM_NEWLINE_TYPE_CR_LF")
- '("any" "G_DATA_STREAM_NEWLINE_TYPE_ANY")
+(define-function g_content_type_get_icon
+ (c-name "g_content_type_get_icon")
+ (return-type "GIcon*")
+ (parameters
+ '("const-gchar*" "type")
)
)
-(define-enum AttributeType
- (in-module "GFile")
- (c-name "GFileAttributeType")
- (gtype-id "G_TYPE_FILE_ATTRIBUTE_TYPE")
- (values
- '("invalid" "G_FILE_ATTRIBUTE_TYPE_INVALID")
- '("string" "G_FILE_ATTRIBUTE_TYPE_STRING")
- '("byte-string" "G_FILE_ATTRIBUTE_TYPE_BYTE_STRING")
- '("boolean" "G_FILE_ATTRIBUTE_TYPE_BOOLEAN")
- '("uint32" "G_FILE_ATTRIBUTE_TYPE_UINT32")
- '("int32" "G_FILE_ATTRIBUTE_TYPE_INT32")
- '("uint64" "G_FILE_ATTRIBUTE_TYPE_UINT64")
- '("int64" "G_FILE_ATTRIBUTE_TYPE_INT64")
- '("object" "G_FILE_ATTRIBUTE_TYPE_OBJECT")
- '("stringv" "G_FILE_ATTRIBUTE_TYPE_STRINGV")
+(define-function g_content_type_get_mime_type
+ (c-name "g_content_type_get_mime_type")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "type")
)
)
-(define-flags AttributeInfoFlags
- (in-module "GFile")
- (c-name "GFileAttributeInfoFlags")
- (gtype-id "G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS")
- (values
- '("none" "G_FILE_ATTRIBUTE_INFO_NONE")
- '("copy-with-file" "G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE")
- '("copy-when-moved" "G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED")
+(define-function g_content_type_get_symbolic_icon
+ (c-name "g_content_type_get_symbolic_icon")
+ (return-type "GIcon*")
+ (parameters
+ '("const-gchar*" "type")
)
)
-(define-enum AttributeStatus
- (in-module "GFile")
- (c-name "GFileAttributeStatus")
- (gtype-id "G_TYPE_FILE_ATTRIBUTE_STATUS")
- (values
- '("unset" "G_FILE_ATTRIBUTE_STATUS_UNSET")
- '("set" "G_FILE_ATTRIBUTE_STATUS_SET")
- '("error-setting" "G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING")
+(define-function g_content_type_guess
+ (c-name "g_content_type_guess")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "filename")
+ '("guchar*" "data")
+ '("gsize" "data_size")
+ '("gboolean*" "result_uncertain")
)
)
-(define-flags QueryInfoFlags
- (in-module "GFile")
- (c-name "GFileQueryInfoFlags")
- (gtype-id "G_TYPE_FILE_QUERY_INFO_FLAGS")
- (values
- '("none" "G_FILE_QUERY_INFO_NONE")
- '("nofollow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS")
+(define-function g_content_type_guess_for_tree
+ (c-name "g_content_type_guess_for_tree")
+ (return-type "gchar**")
+ (parameters
+ '("GFile*" "root")
)
)
-(define-flags CreateFlags
- (in-module "GFile")
- (c-name "GFileCreateFlags")
- (gtype-id "G_TYPE_FILE_CREATE_FLAGS")
- (values
- '("none" "G_FILE_CREATE_NONE")
- '("private" "G_FILE_CREATE_PRIVATE")
- '("replace-destination" "G_FILE_CREATE_REPLACE_DESTINATION")
+(define-function g_content_type_is_a
+ (c-name "g_content_type_is_a")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "type")
+ '("const-gchar*" "supertype")
)
)
-(define-flags MeasureFlags
- (in-module "GFile")
- (c-name "GFileMeasureFlags")
- (gtype-id "G_TYPE_FILE_MEASURE_FLAGS")
- (values
- '("none" "G_FILE_MEASURE_NONE")
- '("report-any-error" "G_FILE_MEASURE_REPORT_ANY_ERROR")
- '("apparent-size" "G_FILE_MEASURE_APPARENT_SIZE")
- '("no-xdev" "G_FILE_MEASURE_NO_XDEV")
+(define-function g_content_type_is_unknown
+ (c-name "g_content_type_is_unknown")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "type")
)
)
-(define-enum MountFlags
- (in-module "GMount")
- (c-name "GMountMountFlags")
- (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
- (values
- '("none" "G_MOUNT_MOUNT_NONE")
- )
-)
-
-(define-flags UnmountFlags
- (in-module "GMount")
- (c-name "GMountUnmountFlags")
- (gtype-id "G_TYPE_MOUNT_UNMOUNT_FLAGS")
- (values
- '("none" "G_MOUNT_UNMOUNT_NONE")
- '("force" "G_MOUNT_UNMOUNT_FORCE")
- )
-)
-
-(define-enum StartFlags
- (in-module "GDrive")
- (c-name "GDriveStartFlags")
- (gtype-id "G_TYPE_DRIVE_START_FLAGS")
- (values
- '("none" "G_DRIVE_START_NONE")
- )
-)
-
-(define-enum StartStopType
- (in-module "GDrive")
- (c-name "GDriveStartStopType")
- (gtype-id "G_TYPE_DRIVE_START_STOP_TYPE")
- (values
- '("unknown" "G_DRIVE_START_STOP_TYPE_UNKNOWN")
- '("shutdown" "G_DRIVE_START_STOP_TYPE_SHUTDOWN")
- '("network" "G_DRIVE_START_STOP_TYPE_NETWORK")
- '("multidisk" "G_DRIVE_START_STOP_TYPE_MULTIDISK")
- '("password" "G_DRIVE_START_STOP_TYPE_PASSWORD")
- )
-)
-
-(define-flags CopyFlags
- (in-module "GFile")
- (c-name "GFileCopyFlags")
- (gtype-id "G_TYPE_FILE_COPY_FLAGS")
- (values
- '("none" "G_FILE_COPY_NONE")
- '("overwrite" "G_FILE_COPY_OVERWRITE")
- '("backup" "G_FILE_COPY_BACKUP")
- '("nofollow-symlinks" "G_FILE_COPY_NOFOLLOW_SYMLINKS")
- '("all-metadata" "G_FILE_COPY_ALL_METADATA")
- '("no-fallback-for-move" "G_FILE_COPY_NO_FALLBACK_FOR_MOVE")
- '("target-default-perms" "G_FILE_COPY_TARGET_DEFAULT_PERMS")
- )
-)
-
-(define-flags MonitorFlags
- (in-module "GFile")
- (c-name "GFileMonitorFlags")
- (gtype-id "G_TYPE_FILE_MONITOR_FLAGS")
- (values
- '("none" "G_FILE_MONITOR_NONE")
- '("watch-mounts" "G_FILE_MONITOR_WATCH_MOUNTS")
- '("send-moved" "G_FILE_MONITOR_SEND_MOVED")
- '("watch-hard-links" "G_FILE_MONITOR_WATCH_HARD_LINKS")
- '("watch-moves" "G_FILE_MONITOR_WATCH_MOVES")
- )
-)
-
-(define-enum Type
- (in-module "GFile")
- (c-name "GFileType")
- (gtype-id "G_TYPE_FILE_TYPE")
- (values
- '("unknown" "G_FILE_TYPE_UNKNOWN")
- '("regular" "G_FILE_TYPE_REGULAR")
- '("directory" "G_FILE_TYPE_DIRECTORY")
- '("symbolic-link" "G_FILE_TYPE_SYMBOLIC_LINK")
- '("special" "G_FILE_TYPE_SPECIAL")
- '("shortcut" "G_FILE_TYPE_SHORTCUT")
- '("mountable" "G_FILE_TYPE_MOUNTABLE")
- )
-)
-
-(define-enum PreviewType
- (in-module "GFilesystem")
- (c-name "GFilesystemPreviewType")
- (gtype-id "G_TYPE_FILESYSTEM_PREVIEW_TYPE")
- (values
- '("if-always" "G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS")
- '("if-local" "G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL")
- '("never" "G_FILESYSTEM_PREVIEW_TYPE_NEVER")
- )
-)
-
-(define-enum MonitorEvent
- (in-module "GFile")
- (c-name "GFileMonitorEvent")
- (gtype-id "G_TYPE_FILE_MONITOR_EVENT")
- (values
- '("changed" "G_FILE_MONITOR_EVENT_CHANGED")
- '("changes-done-hint" "G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT")
- '("deleted" "G_FILE_MONITOR_EVENT_DELETED")
- '("created" "G_FILE_MONITOR_EVENT_CREATED")
- '("attribute-changed" "G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED")
- '("pre-unmount" "G_FILE_MONITOR_EVENT_PRE_UNMOUNT")
- '("unmounted" "G_FILE_MONITOR_EVENT_UNMOUNTED")
- '("moved" "G_FILE_MONITOR_EVENT_MOVED")
- '("renamed" "G_FILE_MONITOR_EVENT_RENAMED")
- '("moved-in" "G_FILE_MONITOR_EVENT_MOVED_IN")
- '("moved-out" "G_FILE_MONITOR_EVENT_MOVED_OUT")
- )
-)
-
-(define-enum Enum
- (in-module "GIOError")
- (c-name "GIOErrorEnum")
- (gtype-id "G_TYPE_IO_ERROR_ENUM")
- (values
- '("failed" "G_IO_ERROR_FAILED")
- '("not-found" "G_IO_ERROR_NOT_FOUND")
- '("exists" "G_IO_ERROR_EXISTS")
- '("is-directory" "G_IO_ERROR_IS_DIRECTORY")
- '("not-directory" "G_IO_ERROR_NOT_DIRECTORY")
- '("not-empty" "G_IO_ERROR_NOT_EMPTY")
- '("not-regular-file" "G_IO_ERROR_NOT_REGULAR_FILE")
- '("not-symbolic-link" "G_IO_ERROR_NOT_SYMBOLIC_LINK")
- '("not-mountable-file" "G_IO_ERROR_NOT_MOUNTABLE_FILE")
- '("filename-too-long" "G_IO_ERROR_FILENAME_TOO_LONG")
- '("invalid-filename" "G_IO_ERROR_INVALID_FILENAME")
- '("too-many-links" "G_IO_ERROR_TOO_MANY_LINKS")
- '("no-space" "G_IO_ERROR_NO_SPACE")
- '("invalid-argument" "G_IO_ERROR_INVALID_ARGUMENT")
- '("permission-denied" "G_IO_ERROR_PERMISSION_DENIED")
- '("not-supported" "G_IO_ERROR_NOT_SUPPORTED")
- '("not-mounted" "G_IO_ERROR_NOT_MOUNTED")
- '("already-mounted" "G_IO_ERROR_ALREADY_MOUNTED")
- '("closed" "G_IO_ERROR_CLOSED")
- '("cancelled" "G_IO_ERROR_CANCELLED")
- '("pending" "G_IO_ERROR_PENDING")
- '("read-only" "G_IO_ERROR_READ_ONLY")
- '("cant-create-backup" "G_IO_ERROR_CANT_CREATE_BACKUP")
- '("wrong-etag" "G_IO_ERROR_WRONG_ETAG")
- '("timed-out" "G_IO_ERROR_TIMED_OUT")
- '("would-recurse" "G_IO_ERROR_WOULD_RECURSE")
- '("busy" "G_IO_ERROR_BUSY")
- '("would-block" "G_IO_ERROR_WOULD_BLOCK")
- '("host-not-found" "G_IO_ERROR_HOST_NOT_FOUND")
- '("would-merge" "G_IO_ERROR_WOULD_MERGE")
- '("failed-handled" "G_IO_ERROR_FAILED_HANDLED")
- '("too-many-open-files" "G_IO_ERROR_TOO_MANY_OPEN_FILES")
- '("not-initialized" "G_IO_ERROR_NOT_INITIALIZED")
- '("address-in-use" "G_IO_ERROR_ADDRESS_IN_USE")
- '("partial-input" "G_IO_ERROR_PARTIAL_INPUT")
- '("invalid-data" "G_IO_ERROR_INVALID_DATA")
- '("dbus-error" "G_IO_ERROR_DBUS_ERROR")
- '("host-unreachable" "G_IO_ERROR_HOST_UNREACHABLE")
- '("network-unreachable" "G_IO_ERROR_NETWORK_UNREACHABLE")
- '("connection-refused" "G_IO_ERROR_CONNECTION_REFUSED")
- '("proxy-failed" "G_IO_ERROR_PROXY_FAILED")
- '("proxy-auth-failed" "G_IO_ERROR_PROXY_AUTH_FAILED")
- '("proxy-need-auth" "G_IO_ERROR_PROXY_NEED_AUTH")
- '("proxy-not-allowed" "G_IO_ERROR_PROXY_NOT_ALLOWED")
- '("broken-pipe" "G_IO_ERROR_BROKEN_PIPE")
- '("connection-closed" "G_IO_ERROR_CONNECTION_CLOSED")
- '("not-connected" "G_IO_ERROR_NOT_CONNECTED")
- '("message-too-large" "G_IO_ERROR_MESSAGE_TOO_LARGE")
- )
-)
-
-(define-flags PasswordFlags
- (in-module "GAsk")
- (c-name "GAskPasswordFlags")
- (gtype-id "G_TYPE_ASK_PASSWORD_FLAGS")
- (values
- '("need-password" "G_ASK_PASSWORD_NEED_PASSWORD")
- '("need-username" "G_ASK_PASSWORD_NEED_USERNAME")
- '("need-domain" "G_ASK_PASSWORD_NEED_DOMAIN")
- '("saving-supported" "G_ASK_PASSWORD_SAVING_SUPPORTED")
- '("anonymous-supported" "G_ASK_PASSWORD_ANONYMOUS_SUPPORTED")
- )
-)
-
-(define-enum Save
- (in-module "GPassword")
- (c-name "GPasswordSave")
- (gtype-id "G_TYPE_PASSWORD_SAVE")
- (values
- '("never" "G_PASSWORD_SAVE_NEVER")
- '("for-session" "G_PASSWORD_SAVE_FOR_SESSION")
- '("permanently" "G_PASSWORD_SAVE_PERMANENTLY")
- )
-)
-
-(define-enum OperationResult
- (in-module "GMount")
- (c-name "GMountOperationResult")
- (gtype-id "G_TYPE_MOUNT_OPERATION_RESULT")
- (values
- '("handled" "G_MOUNT_OPERATION_HANDLED")
- '("aborted" "G_MOUNT_OPERATION_ABORTED")
- '("unhandled" "G_MOUNT_OPERATION_UNHANDLED")
- )
-)
-
-(define-flags StreamSpliceFlags
- (in-module "GOutput")
- (c-name "GOutputStreamSpliceFlags")
- (gtype-id "G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS")
- (values
- '("none" "G_OUTPUT_STREAM_SPLICE_NONE")
- '("close-source" "G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE")
- '("close-target" "G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET")
- )
-)
-
-(define-flags SpliceFlags
- (in-module "GIOStream")
- (c-name "GIOStreamSpliceFlags")
- (gtype-id "G_TYPE_IO_STREAM_SPLICE_FLAGS")
- (values
- '("none" "G_IO_STREAM_SPLICE_NONE")
- '("close-stream1" "G_IO_STREAM_SPLICE_CLOSE_STREAM1")
- '("close-stream2" "G_IO_STREAM_SPLICE_CLOSE_STREAM2")
- '("wait-for-both" "G_IO_STREAM_SPLICE_WAIT_FOR_BOTH")
- )
-)
-
-(define-enum Origin
- (in-module "GEmblem")
- (c-name "GEmblemOrigin")
- (gtype-id "G_TYPE_EMBLEM_ORIGIN")
- (values
- '("unknown" "G_EMBLEM_ORIGIN_UNKNOWN")
- '("device" "G_EMBLEM_ORIGIN_DEVICE")
- '("livemetadata" "G_EMBLEM_ORIGIN_LIVEMETADATA")
- '("tag" "G_EMBLEM_ORIGIN_TAG")
- )
-)
-
-(define-enum Error
- (in-module "GResolver")
- (c-name "GResolverError")
- (gtype-id "G_TYPE_RESOLVER_ERROR")
- (values
- '("not-found" "G_RESOLVER_ERROR_NOT_FOUND")
- '("temporary-failure" "G_RESOLVER_ERROR_TEMPORARY_FAILURE")
- '("internal" "G_RESOLVER_ERROR_INTERNAL")
- )
-)
-
-(define-enum RecordType
- (in-module "GResolver")
- (c-name "GResolverRecordType")
- (gtype-id "G_TYPE_RESOLVER_RECORD_TYPE")
- (values
- '("srv" "G_RESOLVER_RECORD_SRV")
- '("mx" "G_RESOLVER_RECORD_MX")
- '("txt" "G_RESOLVER_RECORD_TXT")
- '("soa" "G_RESOLVER_RECORD_SOA")
- '("ns" "G_RESOLVER_RECORD_NS")
- )
+(define-function g_content_types_get_registered
+ (c-name "g_content_types_get_registered")
+ (return-type "GList*")
)
-(define-enum Error
- (in-module "GResource")
- (c-name "GResourceError")
- (gtype-id "G_TYPE_RESOURCE_ERROR")
- (values
- '("not-found" "G_RESOURCE_ERROR_NOT_FOUND")
- '("internal" "G_RESOURCE_ERROR_INTERNAL")
+(define-function g_dbus_address_escape_value
+ (c-name "g_dbus_address_escape_value")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "string")
)
)
-(define-flags Flags
- (in-module "GResource")
- (c-name "GResourceFlags")
- (gtype-id "G_TYPE_RESOURCE_FLAGS")
- (values
- '("none" "G_RESOURCE_FLAGS_NONE")
- '("compressed" "G_RESOURCE_FLAGS_COMPRESSED")
+(define-function g_dbus_address_get_for_bus_sync
+ (c-name "g_dbus_address_get_for_bus_sync")
+ (return-type "gchar*")
+ (parameters
+ '("GBusType" "bus_type")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-enum LookupFlags
- (in-module "GResource")
- (c-name "GResourceLookupFlags")
- (gtype-id "G_TYPE_RESOURCE_LOOKUP_FLAGS")
- (values
- '("none" "G_RESOURCE_LOOKUP_FLAGS_NONE")
+(define-function g_dbus_address_get_stream
+ (c-name "g_dbus_address_get_stream")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "address")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-enum Family
- (in-module "GSocket")
- (c-name "GSocketFamily")
- (gtype-id "G_TYPE_SOCKET_FAMILY")
- (values
- '("invalid" "G_SOCKET_FAMILY_INVALID")
- '("unix" "G_SOCKET_FAMILY_UNIX")
- '("ipv4" "G_SOCKET_FAMILY_IPV4")
- '("ipv6" "G_SOCKET_FAMILY_IPV6")
+(define-function g_dbus_address_get_stream_finish
+ (c-name "g_dbus_address_get_stream_finish")
+ (return-type "GIOStream*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("gchar**" "out_guid")
+ '("GError**" "error")
)
)
-(define-enum Type
- (in-module "GSocket")
- (c-name "GSocketType")
- (gtype-id "G_TYPE_SOCKET_TYPE")
- (values
- '("invalid" "G_SOCKET_TYPE_INVALID")
- '("stream" "G_SOCKET_TYPE_STREAM")
- '("datagram" "G_SOCKET_TYPE_DATAGRAM")
- '("seqpacket" "G_SOCKET_TYPE_SEQPACKET")
+(define-function g_dbus_address_get_stream_sync
+ (c-name "g_dbus_address_get_stream_sync")
+ (return-type "GIOStream*")
+ (parameters
+ '("const-gchar*" "address")
+ '("gchar**" "out_guid")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-enum MsgFlags
- (in-module "GSocket")
- (c-name "GSocketMsgFlags")
- (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
- (values
- '("none" "G_SOCKET_MSG_NONE")
- '("oob" "G_SOCKET_MSG_OOB")
- '("peek" "G_SOCKET_MSG_PEEK")
- '("dontroute" "G_SOCKET_MSG_DONTROUTE")
- )
-)
-
-(define-enum Protocol
- (in-module "GSocket")
- (c-name "GSocketProtocol")
- (gtype-id "G_TYPE_SOCKET_PROTOCOL")
- (values
- '("unknown" "G_SOCKET_PROTOCOL_UNKNOWN")
- '("default" "G_SOCKET_PROTOCOL_DEFAULT")
- '("tcp" "G_SOCKET_PROTOCOL_TCP")
- '("udp" "G_SOCKET_PROTOCOL_UDP")
- '("sctp" "G_SOCKET_PROTOCOL_SCTP")
- )
-)
-
-(define-enum CompressorFormat
- (in-module "GZlib")
- (c-name "GZlibCompressorFormat")
- (gtype-id "G_TYPE_ZLIB_COMPRESSOR_FORMAT")
- (values
- '("zlib" "G_ZLIB_COMPRESSOR_FORMAT_ZLIB")
- '("gzip" "G_ZLIB_COMPRESSOR_FORMAT_GZIP")
- '("raw" "G_ZLIB_COMPRESSOR_FORMAT_RAW")
- )
-)
-
-(define-enum SocketAddressType
- (in-module "GUnix")
- (c-name "GUnixSocketAddressType")
- (gtype-id "G_TYPE_UNIX_SOCKET_ADDRESS_TYPE")
- (values
- '("invalid" "G_UNIX_SOCKET_ADDRESS_INVALID")
- '("anonymous" "G_UNIX_SOCKET_ADDRESS_ANONYMOUS")
- '("path" "G_UNIX_SOCKET_ADDRESS_PATH")
- '("abstract" "G_UNIX_SOCKET_ADDRESS_ABSTRACT")
- '("abstract-padded" "G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED")
- )
-)
-
-(define-enum Type
- (in-module "GBus")
- (c-name "GBusType")
- (gtype-id "G_TYPE_BUS_TYPE")
- (values
- '("starter" "G_BUS_TYPE_STARTER")
- '("none" "G_BUS_TYPE_NONE")
- '("system" "G_BUS_TYPE_SYSTEM")
- '("session" "G_BUS_TYPE_SESSION")
- )
-)
-
-(define-flags NameOwnerFlags
- (in-module "GBus")
- (c-name "GBusNameOwnerFlags")
- (gtype-id "G_TYPE_BUS_NAME_OWNER_FLAGS")
- (values
- '("none" "G_BUS_NAME_OWNER_FLAGS_NONE")
- '("allow-replacement" "G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT")
- '("replace" "G_BUS_NAME_OWNER_FLAGS_REPLACE")
- )
-)
-
-(define-flags NameWatcherFlags
- (in-module "GBus")
- (c-name "GBusNameWatcherFlags")
- (gtype-id "G_TYPE_BUS_NAME_WATCHER_FLAGS")
- (values
- '("none" "G_BUS_NAME_WATCHER_FLAGS_NONE")
- '("auto-start" "G_BUS_NAME_WATCHER_FLAGS_AUTO_START")
- )
-)
-
-(define-flags ProxyFlags
- (in-module "GDBus")
- (c-name "GDBusProxyFlags")
- (gtype-id "G_TYPE_D_BUS_PROXY_FLAGS")
- (values
- '("none" "G_DBUS_PROXY_FLAGS_NONE")
- '("do-not-load-properties" "G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES")
- '("do-not-connect-signals" "G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS")
- '("do-not-auto-start" "G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START")
- '("get-invalidated-properties" "G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES")
- '("do-not-auto-start-at-construction" "G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION")
- )
-)
-
-(define-enum Error
- (in-module "GDBus")
- (c-name "GDBusError")
- (gtype-id "G_TYPE_D_BUS_ERROR")
- (values
- '("failed" "G_DBUS_ERROR_FAILED")
- '("no-memory" "G_DBUS_ERROR_NO_MEMORY")
- '("service-unknown" "G_DBUS_ERROR_SERVICE_UNKNOWN")
- '("name-has-no-owner" "G_DBUS_ERROR_NAME_HAS_NO_OWNER")
- '("no-reply" "G_DBUS_ERROR_NO_REPLY")
- '("io-error" "G_DBUS_ERROR_IO_ERROR")
- '("bad-address" "G_DBUS_ERROR_BAD_ADDRESS")
- '("not-supported" "G_DBUS_ERROR_NOT_SUPPORTED")
- '("limits-exceeded" "G_DBUS_ERROR_LIMITS_EXCEEDED")
- '("access-denied" "G_DBUS_ERROR_ACCESS_DENIED")
- '("auth-failed" "G_DBUS_ERROR_AUTH_FAILED")
- '("no-server" "G_DBUS_ERROR_NO_SERVER")
- '("timeout" "G_DBUS_ERROR_TIMEOUT")
- '("no-network" "G_DBUS_ERROR_NO_NETWORK")
- '("address-in-use" "G_DBUS_ERROR_ADDRESS_IN_USE")
- '("disconnected" "G_DBUS_ERROR_DISCONNECTED")
- '("invalid-args" "G_DBUS_ERROR_INVALID_ARGS")
- '("file-not-found" "G_DBUS_ERROR_FILE_NOT_FOUND")
- '("file-exists" "G_DBUS_ERROR_FILE_EXISTS")
- '("unknown-method" "G_DBUS_ERROR_UNKNOWN_METHOD")
- '("timed-out" "G_DBUS_ERROR_TIMED_OUT")
- '("match-rule-not-found" "G_DBUS_ERROR_MATCH_RULE_NOT_FOUND")
- '("match-rule-invalid" "G_DBUS_ERROR_MATCH_RULE_INVALID")
- '("spawn-exec-failed" "G_DBUS_ERROR_SPAWN_EXEC_FAILED")
- '("spawn-fork-failed" "G_DBUS_ERROR_SPAWN_FORK_FAILED")
- '("spawn-child-exited" "G_DBUS_ERROR_SPAWN_CHILD_EXITED")
- '("spawn-child-signaled" "G_DBUS_ERROR_SPAWN_CHILD_SIGNALED")
- '("spawn-failed" "G_DBUS_ERROR_SPAWN_FAILED")
- '("spawn-setup-failed" "G_DBUS_ERROR_SPAWN_SETUP_FAILED")
- '("spawn-config-invalid" "G_DBUS_ERROR_SPAWN_CONFIG_INVALID")
- '("spawn-service-invalid" "G_DBUS_ERROR_SPAWN_SERVICE_INVALID")
- '("spawn-service-not-found" "G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND")
- '("spawn-permissions-invalid" "G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID")
- '("spawn-file-invalid" "G_DBUS_ERROR_SPAWN_FILE_INVALID")
- '("spawn-no-memory" "G_DBUS_ERROR_SPAWN_NO_MEMORY")
- '("unix-process-id-unknown" "G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN")
- '("invalid-signature" "G_DBUS_ERROR_INVALID_SIGNATURE")
- '("invalid-file-content" "G_DBUS_ERROR_INVALID_FILE_CONTENT")
- '("selinux-security-context-unknown" "G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN")
- '("adt-audit-data-unknown" "G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN")
- '("object-path-in-use" "G_DBUS_ERROR_OBJECT_PATH_IN_USE")
- '("unknown-object" "G_DBUS_ERROR_UNKNOWN_OBJECT")
- '("unknown-interface" "G_DBUS_ERROR_UNKNOWN_INTERFACE")
- '("unknown-property" "G_DBUS_ERROR_UNKNOWN_PROPERTY")
- '("property-read-only" "G_DBUS_ERROR_PROPERTY_READ_ONLY")
- )
-)
-
-(define-flags ConnectionFlags
- (in-module "GDBus")
- (c-name "GDBusConnectionFlags")
- (gtype-id "G_TYPE_D_BUS_CONNECTION_FLAGS")
- (values
- '("none" "G_DBUS_CONNECTION_FLAGS_NONE")
- '("authentication-client" "G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT")
- '("authentication-server" "G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER")
- '("authentication-allow-anonymous" "G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS")
- '("message-bus-connection" "G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION")
- '("delay-message-processing" "G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING")
- )
-)
-
-(define-flags CapabilityFlags
- (in-module "GDBus")
- (c-name "GDBusCapabilityFlags")
- (gtype-id "G_TYPE_D_BUS_CAPABILITY_FLAGS")
- (values
- '("none" "G_DBUS_CAPABILITY_FLAGS_NONE")
- '("unix-fd-passing" "G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING")
- )
-)
-
-(define-flags CallFlags
- (in-module "GDBus")
- (c-name "GDBusCallFlags")
- (gtype-id "G_TYPE_D_BUS_CALL_FLAGS")
- (values
- '("none" "G_DBUS_CALL_FLAGS_NONE")
- '("no-auto-start" "G_DBUS_CALL_FLAGS_NO_AUTO_START")
- '("allow-interactive-authorization" "G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION")
- )
-)
-
-(define-enum MessageType
- (in-module "GDBus")
- (c-name "GDBusMessageType")
- (gtype-id "G_TYPE_D_BUS_MESSAGE_TYPE")
- (values
- '("invalid" "G_DBUS_MESSAGE_TYPE_INVALID")
- '("method-call" "G_DBUS_MESSAGE_TYPE_METHOD_CALL")
- '("method-return" "G_DBUS_MESSAGE_TYPE_METHOD_RETURN")
- '("error" "G_DBUS_MESSAGE_TYPE_ERROR")
- '("signal" "G_DBUS_MESSAGE_TYPE_SIGNAL")
- )
-)
-
-(define-flags MessageFlags
- (in-module "GDBus")
- (c-name "GDBusMessageFlags")
- (gtype-id "G_TYPE_D_BUS_MESSAGE_FLAGS")
- (values
- '("none" "G_DBUS_MESSAGE_FLAGS_NONE")
- '("no-reply-expected" "G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED")
- '("no-auto-start" "G_DBUS_MESSAGE_FLAGS_NO_AUTO_START")
- '("allow-interactive-authorization" "G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION")
- )
-)
-
-(define-enum MessageHeaderField
- (in-module "GDBus")
- (c-name "GDBusMessageHeaderField")
- (gtype-id "G_TYPE_D_BUS_MESSAGE_HEADER_FIELD")
- (values
- '("invalid" "G_DBUS_MESSAGE_HEADER_FIELD_INVALID")
- '("path" "G_DBUS_MESSAGE_HEADER_FIELD_PATH")
- '("interface" "G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE")
- '("member" "G_DBUS_MESSAGE_HEADER_FIELD_MEMBER")
- '("error-name" "G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME")
- '("reply-serial" "G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL")
- '("destination" "G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION")
- '("sender" "G_DBUS_MESSAGE_HEADER_FIELD_SENDER")
- '("signature" "G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE")
- '("num-unix-fds" "G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS")
- )
-)
-
-(define-flags PropertyInfoFlags
- (in-module "GDBus")
- (c-name "GDBusPropertyInfoFlags")
- (gtype-id "G_TYPE_D_BUS_PROPERTY_INFO_FLAGS")
- (values
- '("none" "G_DBUS_PROPERTY_INFO_FLAGS_NONE")
- '("readable" "G_DBUS_PROPERTY_INFO_FLAGS_READABLE")
- '("writable" "G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE")
- )
-)
-
-(define-flags SubtreeFlags
- (in-module "GDBus")
- (c-name "GDBusSubtreeFlags")
- (gtype-id "G_TYPE_D_BUS_SUBTREE_FLAGS")
- (values
- '("none" "G_DBUS_SUBTREE_FLAGS_NONE")
- '("dispatch-to-unenumerated-nodes" "G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES")
- )
-)
-
-(define-flags ServerFlags
- (in-module "GDBus")
- (c-name "GDBusServerFlags")
- (gtype-id "G_TYPE_D_BUS_SERVER_FLAGS")
- (values
- '("none" "G_DBUS_SERVER_FLAGS_NONE")
- '("run-in-thread" "G_DBUS_SERVER_FLAGS_RUN_IN_THREAD")
- '("authentication-allow-anonymous" "G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS")
- )
-)
-
-(define-flags SignalFlags
- (in-module "GDBus")
- (c-name "GDBusSignalFlags")
- (gtype-id "G_TYPE_D_BUS_SIGNAL_FLAGS")
- (values
- '("none" "G_DBUS_SIGNAL_FLAGS_NONE")
- '("no-match-rule" "G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE")
- '("match-arg0-namespace" "G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE")
- '("match-arg0-path" "G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH")
- )
-)
-
-(define-flags SendMessageFlags
- (in-module "GDBus")
- (c-name "GDBusSendMessageFlags")
- (gtype-id "G_TYPE_D_BUS_SEND_MESSAGE_FLAGS")
- (values
- '("none" "G_DBUS_SEND_MESSAGE_FLAGS_NONE")
- '("preserve-serial" "G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL")
- )
-)
-
-(define-enum Type
- (in-module "GCredentials")
- (c-name "GCredentialsType")
- (gtype-id "G_TYPE_CREDENTIALS_TYPE")
- (values
- '("invalid" "G_CREDENTIALS_TYPE_INVALID")
- '("linux-ucred" "G_CREDENTIALS_TYPE_LINUX_UCRED")
- '("freebsd-cmsgcred" "G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED")
- '("openbsd-sockpeercred" "G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED")
- '("solaris-ucred" "G_CREDENTIALS_TYPE_SOLARIS_UCRED")
- '("netbsd-unpcbid" "G_CREDENTIALS_TYPE_NETBSD_UNPCBID")
+(define-function g_dbus_annotation_info_lookup
+ (c-name "g_dbus_annotation_info_lookup")
+ (return-type "const-gchar*")
+ (parameters
+ '("GDBusAnnotationInfo**" "annotations")
+ '("const-gchar*" "name")
)
)
-(define-enum MessageByteOrder
- (in-module "GDBus")
- (c-name "GDBusMessageByteOrder")
- (gtype-id "G_TYPE_D_BUS_MESSAGE_BYTE_ORDER")
- (values
- '("big-endian" "G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN")
- '("little-endian" "G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN")
- )
+(define-function g_dbus_error_encode_gerror
+ (c-name "g_dbus_error_encode_gerror")
+ (return-type "gchar*")
+ (parameters
+ '("const-GError*" "error")
+ )
)
-(define-flags Flags
- (in-module "GApplication")
- (c-name "GApplicationFlags")
- (gtype-id "G_TYPE_APPLICATION_FLAGS")
- (values
- '("flags-none" "G_APPLICATION_FLAGS_NONE")
- '("is-service" "G_APPLICATION_IS_SERVICE")
- '("is-launcher" "G_APPLICATION_IS_LAUNCHER")
- '("handles-open" "G_APPLICATION_HANDLES_OPEN")
- '("handles-command-line" "G_APPLICATION_HANDLES_COMMAND_LINE")
- '("send-environment" "G_APPLICATION_SEND_ENVIRONMENT")
- '("non-unique" "G_APPLICATION_NON_UNIQUE")
- '("can-override-app-id" "G_APPLICATION_CAN_OVERRIDE_APP_ID")
+(define-function g_dbus_error_get_remote_error
+ (c-name "g_dbus_error_get_remote_error")
+ (return-type "gchar*")
+ (parameters
+ '("const-GError*" "error")
)
)
-(define-enum Error
- (in-module "GTls")
- (c-name "GTlsError")
- (gtype-id "G_TYPE_TLS_ERROR")
- (values
- '("unavailable" "G_TLS_ERROR_UNAVAILABLE")
- '("misc" "G_TLS_ERROR_MISC")
- '("bad-certificate" "G_TLS_ERROR_BAD_CERTIFICATE")
- '("not-tls" "G_TLS_ERROR_NOT_TLS")
- '("handshake" "G_TLS_ERROR_HANDSHAKE")
- '("certificate-required" "G_TLS_ERROR_CERTIFICATE_REQUIRED")
- '("eof" "G_TLS_ERROR_EOF")
+(define-function g_dbus_error_is_remote_error
+ (c-name "g_dbus_error_is_remote_error")
+ (return-type "gboolean")
+ (parameters
+ '("const-GError*" "error")
)
)
-(define-flags CertificateFlags
- (in-module "GTls")
- (c-name "GTlsCertificateFlags")
- (gtype-id "G_TYPE_TLS_CERTIFICATE_FLAGS")
- (values
- '("unknown-ca" "G_TLS_CERTIFICATE_UNKNOWN_CA")
- '("bad-identity" "G_TLS_CERTIFICATE_BAD_IDENTITY")
- '("not-activated" "G_TLS_CERTIFICATE_NOT_ACTIVATED")
- '("expired" "G_TLS_CERTIFICATE_EXPIRED")
- '("revoked" "G_TLS_CERTIFICATE_REVOKED")
- '("insecure" "G_TLS_CERTIFICATE_INSECURE")
- '("generic-error" "G_TLS_CERTIFICATE_GENERIC_ERROR")
- '("validate-all" "G_TLS_CERTIFICATE_VALIDATE_ALL")
+(define-function g_dbus_error_new_for_dbus_error
+ (c-name "g_dbus_error_new_for_dbus_error")
+ (return-type "GError*")
+ (parameters
+ '("const-gchar*" "dbus_error_name")
+ '("const-gchar*" "dbus_error_message")
)
)
-(define-enum AuthenticationMode
- (in-module "GTls")
- (c-name "GTlsAuthenticationMode")
- (gtype-id "G_TYPE_TLS_AUTHENTICATION_MODE")
- (values
- '("none" "G_TLS_AUTHENTICATION_NONE")
- '("requested" "G_TLS_AUTHENTICATION_REQUESTED")
- '("required" "G_TLS_AUTHENTICATION_REQUIRED")
- )
+(define-function g_dbus_error_quark
+ (c-name "g_dbus_error_quark")
+ (return-type "GQuark")
)
-(define-enum RehandshakeMode
- (in-module "GTls")
- (c-name "GTlsRehandshakeMode")
- (gtype-id "G_TYPE_TLS_REHANDSHAKE_MODE")
- (values
- '("never" "G_TLS_REHANDSHAKE_NEVER")
- '("safely" "G_TLS_REHANDSHAKE_SAFELY")
- '("unsafely" "G_TLS_REHANDSHAKE_UNSAFELY")
+(define-function g_dbus_error_register_error
+ (c-name "g_dbus_error_register_error")
+ (return-type "gboolean")
+ (parameters
+ '("GQuark" "error_domain")
+ '("gint" "error_code")
+ '("const-gchar*" "dbus_error_name")
)
)
-(define-enum InteractionResult
- (in-module "GTls")
- (c-name "GTlsInteractionResult")
- (gtype-id "G_TYPE_TLS_INTERACTION_RESULT")
- (values
- '("unhandled" "G_TLS_INTERACTION_UNHANDLED")
- '("handled" "G_TLS_INTERACTION_HANDLED")
- '("failed" "G_TLS_INTERACTION_FAILED")
+(define-function g_dbus_error_register_error_domain
+ (c-name "g_dbus_error_register_error_domain")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "error_domain_quark_name")
+ '("volatile-gsize*" "quark_volatile")
+ '("const-GDBusErrorEntry*" "entries")
+ '("guint" "num_entries")
)
)
-(define-flags InterfaceSkeletonFlags
- (in-module "GDBus")
- (c-name "GDBusInterfaceSkeletonFlags")
- (gtype-id "G_TYPE_D_BUS_INTERFACE_SKELETON_FLAGS")
- (values
- '("none" "G_DBUS_INTERFACE_SKELETON_FLAGS_NONE")
- '("handle-method-invocations-in-thread"
"G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD")
+(define-function g_dbus_error_strip_remote_error
+ (c-name "g_dbus_error_strip_remote_error")
+ (return-type "gboolean")
+ (parameters
+ '("GError*" "error")
)
)
-
-(define-flags ObjectManagerClientFlags
- (in-module "GDBus")
- (c-name "GDBusObjectManagerClientFlags")
- (gtype-id "G_TYPE_D_BUS_OBJECT_MANAGER_CLIENT_FLAGS")
- (values
- '("none" "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE")
- '("do-not-auto-start" "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START")
+
+(define-function g_dbus_error_unregister_error
+ (c-name "g_dbus_error_unregister_error")
+ (return-type "gboolean")
+ (parameters
+ '("GQuark" "error_domain")
+ '("gint" "error_code")
+ '("const-gchar*" "dbus_error_name")
)
)
-
-(define-enum DatabaseVerifyFlags
- (in-module "GTls")
- (c-name "GTlsDatabaseVerifyFlags")
- (gtype-id "G_TYPE_TLS_DATABASE_VERIFY_FLAGS")
- (values
- '("none" "G_TLS_DATABASE_VERIFY_NONE")
- )
+
+(define-function g_dbus_generate_guid
+ (c-name "g_dbus_generate_guid")
+ (return-type "gchar*")
)
-(define-enum DatabaseLookupFlags
- (in-module "GTls")
- (c-name "GTlsDatabaseLookupFlags")
- (gtype-id "G_TYPE_TLS_DATABASE_LOOKUP_FLAGS")
- (values
- '("none" "G_TLS_DATABASE_LOOKUP_NONE")
- '("keypair" "G_TLS_DATABASE_LOOKUP_KEYPAIR")
+(define-function g_dbus_gvalue_to_gvariant
+ (c-name "g_dbus_gvalue_to_gvariant")
+ (return-type "GVariant*")
+ (parameters
+ '("const-GValue*" "gvalue")
+ '("const-GVariantType*" "type")
)
)
-(define-enum CertificateRequestFlags
- (in-module "GTls")
- (c-name "GTlsCertificateRequestFlags")
- (gtype-id "G_TYPE_TLS_CERTIFICATE_REQUEST_FLAGS")
- (values
- '("none" "G_TLS_CERTIFICATE_REQUEST_NONE")
+(define-function g_dbus_gvariant_to_gvalue
+ (c-name "g_dbus_gvariant_to_gvalue")
+ (return-type "void")
+ (parameters
+ '("GVariant*" "value")
+ '("GValue*" "out_gvalue")
)
)
-(define-enum ScopeFlags
- (in-module "GIOModule")
- (c-name "GIOModuleScopeFlags")
- (gtype-id "G_TYPE_IO_MODULE_SCOPE_FLAGS")
- (values
- '("none" "G_IO_MODULE_SCOPE_NONE")
- '("block-duplicates" "G_IO_MODULE_SCOPE_BLOCK_DUPLICATES")
+(define-function g_dbus_is_address
+ (c-name "g_dbus_is_address")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "string")
)
)
-(define-enum ClientEvent
- (in-module "GSocket")
- (c-name "GSocketClientEvent")
- (gtype-id "G_TYPE_SOCKET_CLIENT_EVENT")
- (values
- '("resolving" "G_SOCKET_CLIENT_RESOLVING")
- '("resolved" "G_SOCKET_CLIENT_RESOLVED")
- '("connecting" "G_SOCKET_CLIENT_CONNECTING")
- '("connected" "G_SOCKET_CLIENT_CONNECTED")
- '("proxy-negotiating" "G_SOCKET_CLIENT_PROXY_NEGOTIATING")
- '("proxy-negotiated" "G_SOCKET_CLIENT_PROXY_NEGOTIATED")
- '("tls-handshaking" "G_SOCKET_CLIENT_TLS_HANDSHAKING")
- '("tls-handshaked" "G_SOCKET_CLIENT_TLS_HANDSHAKED")
- '("complete" "G_SOCKET_CLIENT_COMPLETE")
+(define-function g_dbus_is_guid
+ (c-name "g_dbus_is_guid")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "string")
)
)
-(define-enum ListenerEvent
- (in-module "GSocket")
- (c-name "GSocketListenerEvent")
- (gtype-id "G_TYPE_SOCKET_LISTENER_EVENT")
- (values
- '("binding" "G_SOCKET_LISTENER_BINDING")
- '("bound" "G_SOCKET_LISTENER_BOUND")
- '("listening" "G_SOCKET_LISTENER_LISTENING")
- '("listened" "G_SOCKET_LISTENER_LISTENED")
+(define-function g_dbus_is_interface_name
+ (c-name "g_dbus_is_interface_name")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "string")
)
)
-(define-enum DBusFlags
- (in-module "GTest")
- (c-name "GTestDBusFlags")
- (gtype-id "G_TYPE_TEST_DBUS_FLAGS")
- (values
- '("none" "G_TEST_DBUS_NONE")
+(define-function g_dbus_is_member_name
+ (c-name "g_dbus_is_member_name")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "string")
)
)
-(define-flags Flags
- (in-module "GSubprocess")
- (c-name "GSubprocessFlags")
- (gtype-id "G_TYPE_SUBPROCESS_FLAGS")
- (values
- '("none" "G_SUBPROCESS_FLAGS_NONE")
- '("stdin-pipe" "G_SUBPROCESS_FLAGS_STDIN_PIPE")
- '("stdin-inherit" "G_SUBPROCESS_FLAGS_STDIN_INHERIT")
- '("stdout-pipe" "G_SUBPROCESS_FLAGS_STDOUT_PIPE")
- '("stdout-silence" "G_SUBPROCESS_FLAGS_STDOUT_SILENCE")
- '("stderr-pipe" "G_SUBPROCESS_FLAGS_STDERR_PIPE")
- '("stderr-silence" "G_SUBPROCESS_FLAGS_STDERR_SILENCE")
- '("stderr-merge" "G_SUBPROCESS_FLAGS_STDERR_MERGE")
- '("inherit-fds" "G_SUBPROCESS_FLAGS_INHERIT_FDS")
+(define-function g_dbus_is_name
+ (c-name "g_dbus_is_name")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "string")
)
)
-(define-enum Priority
- (in-module "GNotification")
- (c-name "GNotificationPriority")
- (gtype-id "G_TYPE_NOTIFICATION_PRIORITY")
- (values
- '("normal" "G_NOTIFICATION_PRIORITY_NORMAL")
- '("low" "G_NOTIFICATION_PRIORITY_LOW")
- '("high" "G_NOTIFICATION_PRIORITY_HIGH")
- '("urgent" "G_NOTIFICATION_PRIORITY_URGENT")
+(define-function g_dbus_is_supported_address
+ (c-name "g_dbus_is_supported_address")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "string")
+ '("GError**" "error")
)
)
-(define-enum Connectivity
- (in-module "GNetwork")
- (c-name "GNetworkConnectivity")
- (gtype-id "G_TYPE_NETWORK_CONNECTIVITY")
- (values
- '("local" "G_NETWORK_CONNECTIVITY_LOCAL")
- '("limited" "G_NETWORK_CONNECTIVITY_LIMITED")
- '("portal" "G_NETWORK_CONNECTIVITY_PORTAL")
- '("full" "G_NETWORK_CONNECTIVITY_FULL")
+(define-function g_dbus_is_unique_name
+ (c-name "g_dbus_is_unique_name")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "string")
)
)
-(define-flags BindFlags
- (in-module "GSettings")
- (c-name "GSettingsBindFlags")
- (gtype-id "G_TYPE_SETTINGS_BIND_FLAGS")
- (values
- '("default" "G_SETTINGS_BIND_DEFAULT")
- '("get" "G_SETTINGS_BIND_GET")
- '("set" "G_SETTINGS_BIND_SET")
- '("no-sensitivity" "G_SETTINGS_BIND_NO_SENSITIVITY")
- '("get-no-changes" "G_SETTINGS_BIND_GET_NO_CHANGES")
- '("invert-boolean" "G_SETTINGS_BIND_INVERT_BOOLEAN")
+(define-function g_dtls_client_connection_new
+ (c-name "g_dtls_client_connection_new")
+ (return-type "GDatagramBased*")
+ (parameters
+ '("GDatagramBased*" "base_socket")
+ '("GSocketConnectable*" "server_identity")
+ '("GError**" "error")
)
)
-
-;; From gactiongroupexporter.h
-
-(define-method export_action_group
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_export_action_group")
- (return-type "guint")
+(define-function g_dtls_server_connection_new
+ (c-name "g_dtls_server_connection_new")
+ (return-type "GDatagramBased*")
(parameters
- '("const-gchar*" "object_path")
- '("GActionGroup*" "action_group")
+ '("GDatagramBased*" "base_socket")
+ '("GTlsCertificate*" "certificate")
'("GError**" "error")
)
)
-(define-method unexport_action_group
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_unexport_action_group")
- (return-type "none")
+(define-function g_file_new_for_commandline_arg
+ (c-name "g_file_new_for_commandline_arg")
+ (return-type "GFile*")
(parameters
- '("guint" "export_id")
+ '("const-char*" "arg")
)
)
-
-
-;; From gactiongroup.h
-
-(define-function g_action_group_get_type
- (c-name "g_action_group_get_type")
- (return-type "GType")
+(define-function g_file_new_for_commandline_arg_and_cwd
+ (c-name "g_file_new_for_commandline_arg_and_cwd")
+ (return-type "GFile*")
+ (parameters
+ '("const-gchar*" "arg")
+ '("gchar*" "cwd")
+ )
)
-(define-method has_action
- (of-object "GActionGroup")
- (c-name "g_action_group_has_action")
- (return-type "gboolean")
+(define-function g_file_new_for_path
+ (c-name "g_file_new_for_path")
+ (return-type "GFile*")
(parameters
- '("const-gchar*" "action_name")
+ '("char*" "path")
)
)
-(define-method list_actions
- (of-object "GActionGroup")
- (c-name "g_action_group_list_actions")
- (return-type "gchar**")
+(define-function g_file_new_for_uri
+ (c-name "g_file_new_for_uri")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "uri")
+ )
)
-(define-method get_action_parameter_type
- (of-object "GActionGroup")
- (c-name "g_action_group_get_action_parameter_type")
- (return-type "const-GVariantType*")
+(define-function g_file_new_tmp
+ (c-name "g_file_new_tmp")
+ (return-type "GFile*")
(parameters
- '("const-gchar*" "action_name")
+ '("char*" "tmpl")
+ '("GFileIOStream**" "iostream")
+ '("GError**" "error")
)
)
-(define-method get_action_state_type
- (of-object "GActionGroup")
- (c-name "g_action_group_get_action_state_type")
- (return-type "const-GVariantType*")
+(define-function g_file_parse_name
+ (c-name "g_file_parse_name")
+ (return-type "GFile*")
(parameters
- '("const-gchar*" "action_name")
+ '("const-char*" "parse_name")
)
)
-(define-method get_action_state_hint
- (of-object "GActionGroup")
- (c-name "g_action_group_get_action_state_hint")
- (return-type "GVariant*")
+(define-function g_icon_deserialize
+ (c-name "g_icon_deserialize")
+ (return-type "GIcon*")
(parameters
- '("const-gchar*" "action_name")
+ '("GVariant*" "value")
)
)
-(define-method get_action_enabled
- (of-object "GActionGroup")
- (c-name "g_action_group_get_action_enabled")
- (return-type "gboolean")
+(define-function g_icon_hash
+ (c-name "g_icon_hash")
+ (return-type "guint")
(parameters
- '("const-gchar*" "action_name")
+ '("gconstpointer" "icon")
)
)
-(define-method get_action_state
- (of-object "GActionGroup")
- (c-name "g_action_group_get_action_state")
- (return-type "GVariant*")
+(define-function g_icon_new_for_string
+ (c-name "g_icon_new_for_string")
+ (return-type "GIcon*")
(parameters
- '("const-gchar*" "action_name")
+ '("const-gchar*" "str")
+ '("GError**" "error")
)
)
-(define-method change_action_state
- (of-object "GActionGroup")
- (c-name "g_action_group_change_action_state")
- (return-type "none")
+(define-function g_initable_newv
+ (c-name "g_initable_newv")
+ (return-type "gpointer")
(parameters
- '("const-gchar*" "action_name")
- '("GVariant*" "value")
+ '("GType" "object_type")
+ '("guint" "n_parameters")
+ '("GParameter*" "parameters")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method activate_action
- (of-object "GActionGroup")
- (c-name "g_action_group_activate_action")
- (return-type "none")
+(define-function g_io_error_from_errno
+ (c-name "g_io_error_from_errno")
+ (return-type "GIOErrorEnum")
(parameters
- '("const-gchar*" "action_name")
- '("GVariant*" "parameter")
+ '("gint" "err_no")
)
)
-(define-method action_added
- (of-object "GActionGroup")
- (c-name "g_action_group_action_added")
- (return-type "none")
+(define-function g_io_error_quark
+ (c-name "g_io_error_quark")
+ (return-type "GQuark")
+)
+
+(define-function g_io_extension_point_implement
+ (c-name "g_io_extension_point_implement")
+ (return-type "GIOExtension*")
(parameters
- '("const-gchar*" "action_name")
+ '("const-char*" "extension_point_name")
+ '("GType" "type")
+ '("const-char*" "extension_name")
+ '("gint" "priority")
)
)
-(define-method action_removed
- (of-object "GActionGroup")
- (c-name "g_action_group_action_removed")
- (return-type "none")
+(define-function g_io_extension_point_lookup
+ (c-name "g_io_extension_point_lookup")
+ (return-type "GIOExtensionPoint*")
(parameters
- '("const-gchar*" "action_name")
+ '("const-char*" "name")
)
)
-(define-method action_enabled_changed
- (of-object "GActionGroup")
- (c-name "g_action_group_action_enabled_changed")
- (return-type "none")
+(define-function g_io_extension_point_register
+ (c-name "g_io_extension_point_register")
+ (return-type "GIOExtensionPoint*")
(parameters
- '("const-gchar*" "action_name")
- '("gboolean" "enabled")
+ '("const-char*" "name")
)
)
-(define-method action_state_changed
- (of-object "GActionGroup")
- (c-name "g_action_group_action_state_changed")
- (return-type "none")
+(define-function g_io_modules_load_all_in_directory
+ (c-name "g_io_modules_load_all_in_directory")
+ (return-type "GList*")
(parameters
- '("const-gchar*" "action_name")
- '("GVariant*" "state")
+ '("gchar*" "dirname")
)
)
-(define-method query_action
- (of-object "GActionGroup")
- (c-name "g_action_group_query_action")
- (return-type "gboolean")
+(define-function g_io_modules_load_all_in_directory_with_scope
+ (c-name "g_io_modules_load_all_in_directory_with_scope")
+ (return-type "GList*")
(parameters
- '("const-gchar*" "action_name")
- '("gboolean*" "enabled")
- '("const-GVariantType**" "parameter_type")
- '("const-GVariantType**" "state_type")
- '("GVariant**" "state_hint")
- '("GVariant**" "state")
+ '("gchar*" "dirname")
+ '("GIOModuleScope*" "scope")
)
)
-
-
-;; From gaction.h
-
-(define-function g_action_get_type
- (c-name "g_action_get_type")
- (return-type "GType")
+(define-function g_io_modules_scan_all_in_directory
+ (c-name "g_io_modules_scan_all_in_directory")
+ (return-type "void")
+ (parameters
+ '("char*" "dirname")
+ )
)
-(define-method get_name
- (of-object "GAction")
- (c-name "g_action_get_name")
- (return-type "const-gchar*")
+(define-function g_io_modules_scan_all_in_directory_with_scope
+ (c-name "g_io_modules_scan_all_in_directory_with_scope")
+ (return-type "void")
+ (parameters
+ '("gchar*" "dirname")
+ '("GIOModuleScope*" "scope")
+ )
)
-(define-method get_parameter_type
- (of-object "GAction")
- (c-name "g_action_get_parameter_type")
- (return-type "const-GVariantType*")
+(define-function g_io_scheduler_cancel_all_jobs
+ (c-name "g_io_scheduler_cancel_all_jobs")
+ (return-type "void")
)
-(define-method get_state_type
- (of-object "GAction")
- (c-name "g_action_get_state_type")
- (return-type "const-GVariantType*")
+(define-function g_io_scheduler_push_job
+ (c-name "g_io_scheduler_push_job")
+ (return-type "void")
+ (parameters
+ '("GIOSchedulerJobFunc" "job_func")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "notify")
+ '("gint" "io_priority")
+ '("GCancellable*" "cancellable")
+ )
)
-(define-method get_state_hint
- (of-object "GAction")
- (c-name "g_action_get_state_hint")
- (return-type "GVariant*")
+(define-function g_network_monitor_get_default
+ (c-name "g_network_monitor_get_default")
+ (return-type "GNetworkMonitor*")
)
-(define-method get_enabled
- (of-object "GAction")
- (c-name "g_action_get_enabled")
- (return-type "gboolean")
+(define-function g_networking_init
+ (c-name "g_networking_init")
+ (return-type "void")
)
-(define-method get_state
- (of-object "GAction")
- (c-name "g_action_get_state")
- (return-type "GVariant*")
+(define-function g_pollable_source_new
+ (c-name "g_pollable_source_new")
+ (return-type "GSource*")
+ (parameters
+ '("GObject*" "pollable_stream")
+ )
)
-(define-method change_state
- (of-object "GAction")
- (c-name "g_action_change_state")
- (return-type "none")
+(define-function g_pollable_source_new_full
+ (c-name "g_pollable_source_new_full")
+ (return-type "GSource*")
(parameters
- '("GVariant*" "value")
+ '("gpointer" "pollable_stream")
+ '("GSource*" "child_source")
+ '("GCancellable*" "cancellable")
)
)
-(define-method activate
- (of-object "GAction")
- (c-name "g_action_activate")
- (return-type "none")
+(define-function g_pollable_stream_read
+ (c-name "g_pollable_stream_read")
+ (return-type "gssize")
(parameters
- '("GVariant*" "parameter")
+ '("GInputStream*" "stream")
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("gboolean" "blocking")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_action_name_is_valid
- (c-name "g_action_name_is_valid")
- (return-type "gboolean")
+(define-function g_pollable_stream_write
+ (c-name "g_pollable_stream_write")
+ (return-type "gssize")
(parameters
- '("const-gchar*" "action_name")
+ '("GOutputStream*" "stream")
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("gboolean" "blocking")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_action_parse_detailed_name
- (c-name "g_action_parse_detailed_name")
+(define-function g_pollable_stream_write_all
+ (c-name "g_pollable_stream_write_all")
(return-type "gboolean")
(parameters
- '("const-gchar*" "detailed_name")
- '("gchar**" "action_name")
- '("GVariant**" "target_value")
+ '("GOutputStream*" "stream")
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("gboolean" "blocking")
+ '("gsize*" "bytes_written")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_action_print_detailed_name
- (c-name "g_action_print_detailed_name")
- (return-type "gchar*")
+(define-function g_proxy_get_default_for_protocol
+ (c-name "g_proxy_get_default_for_protocol")
+ (return-type "GProxy*")
(parameters
- '("const-gchar*" "action_name")
- '("GVariant*" "target_value")
+ '("const-gchar*" "protocol")
)
)
+(define-function g_proxy_resolver_get_default
+ (c-name "g_proxy_resolver_get_default")
+ (return-type "GProxyResolver*")
+)
+(define-function g_resolver_error_quark
+ (c-name "g_resolver_error_quark")
+ (return-type "GQuark")
+)
-;; From gactionmap.h
-
-(define-function g_action_map_get_type
- (c-name "g_action_map_get_type")
- (return-type "GType")
+(define-function g_resource_error_quark
+ (c-name "g_resource_error_quark")
+ (return-type "GQuark")
)
-(define-method lookup_action
- (of-object "GActionMap")
- (c-name "g_action_map_lookup_action")
- (return-type "GAction*")
+(define-function g_resource_load
+ (c-name "g_resource_load")
+ (return-type "GResource*")
(parameters
- '("const-gchar*" "action_name")
+ '("gchar*" "filename")
+ '("GError**" "error")
)
)
-(define-method add_action
- (of-object "GActionMap")
- (c-name "g_action_map_add_action")
- (return-type "none")
+(define-function g_resources_enumerate_children
+ (c-name "g_resources_enumerate_children")
+ (return-type "char**")
(parameters
- '("GAction*" "action")
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
)
)
-(define-method remove_action
- (of-object "GActionMap")
- (c-name "g_action_map_remove_action")
- (return-type "none")
+(define-function g_resources_get_info
+ (c-name "g_resources_get_info")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "action_name")
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("gsize*" "size")
+ '("guint32*" "flags")
+ '("GError**" "error")
)
)
-(define-method add_action_entries
- (of-object "GActionMap")
- (c-name "g_action_map_add_action_entries")
- (return-type "none")
+(define-function g_resources_lookup_data
+ (c-name "g_resources_lookup_data")
+ (return-type "GBytes*")
(parameters
- '("const-GActionEntry*" "entries")
- '("gint" "n_entries")
- '("gpointer" "user_data")
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
+ '("GError**" "error")
)
)
-
-
-;; From gappinfo.h
-
-(define-function g_app_info_get_type
- (c-name "g_app_info_get_type")
- (return-type "GType")
-)
-
-(define-function g_app_info_create_from_commandline
- (c-name "g_app_info_create_from_commandline")
- (return-type "GAppInfo*")
+(define-function g_resources_open_stream
+ (c-name "g_resources_open_stream")
+ (return-type "GInputStream*")
(parameters
- '("const-char*" "commandline")
- '("const-char*" "application_name")
- '("GAppInfoCreateFlags" "flags")
+ '("const-char*" "path")
+ '("GResourceLookupFlags" "lookup_flags")
'("GError**" "error")
)
)
-(define-method dup
- (of-object "GAppInfo")
- (c-name "g_app_info_dup")
- (return-type "GAppInfo*")
-)
-
-(define-method equal
- (of-object "GAppInfo")
- (c-name "g_app_info_equal")
- (return-type "gboolean")
+(define-function g_resources_register
+ (c-name "g_resources_register")
+ (return-type "void")
(parameters
- '("GAppInfo*" "appinfo2")
+ '("GResource*" "resource")
)
)
-(define-method get_id
- (of-object "GAppInfo")
- (c-name "g_app_info_get_id")
- (return-type "const-char*")
+(define-function g_resources_unregister
+ (c-name "g_resources_unregister")
+ (return-type "void")
+ (parameters
+ '("GResource*" "resource")
+ )
)
-(define-method get_name
- (of-object "GAppInfo")
- (c-name "g_app_info_get_name")
- (return-type "const-char*")
+(define-function g_settings_schema_source_get_default
+ (c-name "g_settings_schema_source_get_default")
+ (return-type "GSettingsSchemaSource*")
)
-(define-method get_display_name
- (of-object "GAppInfo")
- (c-name "g_app_info_get_display_name")
- (return-type "const-char*")
+(define-function g_simple_async_report_error_in_idle
+ (c-name "g_simple_async_report_error_in_idle")
+ (return-type "void")
+ (parameters
+ '("GObject*" "object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("GQuark" "domain")
+ '("gint" "code")
+ '("const-char*" "format")
+ '("..." "...")
+ )
)
-(define-method get_description
- (of-object "GAppInfo")
- (c-name "g_app_info_get_description")
- (return-type "const-char*")
+(define-function g_simple_async_report_gerror_in_idle
+ (c-name "g_simple_async_report_gerror_in_idle")
+ (return-type "void")
+ (parameters
+ '("GObject*" "object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("const-GError*" "error")
+ )
)
-(define-method get_executable
- (of-object "GAppInfo")
- (c-name "g_app_info_get_executable")
- (return-type "const-char*")
+(define-function g_simple_async_report_take_gerror_in_idle
+ (c-name "g_simple_async_report_take_gerror_in_idle")
+ (return-type "void")
+ (parameters
+ '("GObject*" "object")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("GError*" "error")
+ )
)
-(define-method get_commandline
- (of-object "GAppInfo")
- (c-name "g_app_info_get_commandline")
- (return-type "const-char*")
+(define-function g_srv_target_list_sort
+ (c-name "g_srv_target_list_sort")
+ (return-type "GList*")
+ (parameters
+ '("GList*" "targets")
+ )
)
-(define-method get_icon
- (of-object "GAppInfo")
- (c-name "g_app_info_get_icon")
- (return-type "GIcon*")
+(define-function g_tls_backend_get_default
+ (c-name "g_tls_backend_get_default")
+ (return-type "GTlsBackend*")
)
-(define-method launch
- (of-object "GAppInfo")
- (c-name "g_app_info_launch")
- (return-type "gboolean")
+(define-function g_tls_client_connection_new
+ (c-name "g_tls_client_connection_new")
+ (return-type "GIOStream*")
(parameters
- '("GList*" "files")
- '("GAppLaunchContext*" "launch_context")
+ '("GIOStream*" "base_io_stream")
+ '("GSocketConnectable*" "server_identity")
'("GError**" "error")
)
)
-(define-method supports_uris
- (of-object "GAppInfo")
- (c-name "g_app_info_supports_uris")
- (return-type "gboolean")
-)
-
-(define-method supports_files
- (of-object "GAppInfo")
- (c-name "g_app_info_supports_files")
- (return-type "gboolean")
+(define-function g_tls_error_quark
+ (c-name "g_tls_error_quark")
+ (return-type "GQuark")
)
-(define-method launch_uris
- (of-object "GAppInfo")
- (c-name "g_app_info_launch_uris")
- (return-type "gboolean")
+(define-function g_tls_file_database_new
+ (c-name "g_tls_file_database_new")
+ (return-type "GTlsDatabase*")
(parameters
- '("GList*" "uris")
- '("GAppLaunchContext*" "launch_context")
+ '("gchar*" "anchors")
'("GError**" "error")
)
)
-(define-method should_show
- (of-object "GAppInfo")
- (c-name "g_app_info_should_show")
- (return-type "gboolean")
-)
-
-(define-method set_as_default_for_type
- (of-object "GAppInfo")
- (c-name "g_app_info_set_as_default_for_type")
- (return-type "gboolean")
+(define-function g_tls_server_connection_new
+ (c-name "g_tls_server_connection_new")
+ (return-type "GIOStream*")
(parameters
- '("const-char*" "content_type")
+ '("GIOStream*" "base_io_stream")
+ '("GTlsCertificate*" "certificate")
'("GError**" "error")
)
)
-(define-method set_as_default_for_extension
- (of-object "GAppInfo")
- (c-name "g_app_info_set_as_default_for_extension")
+(define-function g_unix_is_mount_path_system_internal
+ (c-name "g_unix_is_mount_path_system_internal")
(return-type "gboolean")
(parameters
- '("const-char*" "extension")
- '("GError**" "error")
+ '("char*" "mount_path")
)
)
-(define-method add_supports_type
- (of-object "GAppInfo")
- (c-name "g_app_info_add_supports_type")
- (return-type "gboolean")
+(define-function g_unix_mount_at
+ (c-name "g_unix_mount_at")
+ (return-type "GUnixMountEntry*")
(parameters
- '("const-char*" "content_type")
- '("GError**" "error")
+ '("const-char*" "mount_path")
+ '("guint64*" "time_read")
)
)
-(define-method can_remove_supports_type
- (of-object "GAppInfo")
- (c-name "g_app_info_can_remove_supports_type")
- (return-type "gboolean")
+(define-function g_unix_mount_compare
+ (c-name "g_unix_mount_compare")
+ (return-type "gint")
+ (parameters
+ '("GUnixMountEntry*" "mount1")
+ '("GUnixMountEntry*" "mount2")
+ )
)
-(define-method remove_supports_type
- (of-object "GAppInfo")
- (c-name "g_app_info_remove_supports_type")
- (return-type "gboolean")
+(define-function g_unix_mount_free
+ (c-name "g_unix_mount_free")
+ (return-type "void")
(parameters
- '("const-char*" "content_type")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-method get_supported_types
- (of-object "GAppInfo")
- (c-name "g_app_info_get_supported_types")
- (return-type "const-char**")
+(define-function g_unix_mount_get_device_path
+ (c-name "g_unix_mount_get_device_path")
+ (return-type "char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
)
-(define-method can_delete
- (of-object "GAppInfo")
- (c-name "g_app_info_can_delete")
- (return-type "gboolean")
+(define-function g_unix_mount_get_fs_type
+ (c-name "g_unix_mount_get_fs_type")
+ (return-type "const-char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
)
-(define-method delete
- (of-object "GAppInfo")
- (c-name "g_app_info_delete")
- (return-type "gboolean")
+(define-function g_unix_mount_get_mount_path
+ (c-name "g_unix_mount_get_mount_path")
+ (return-type "char*")
+ (parameters
+ '("GUnixMountEntry*" "mount_entry")
+ )
)
-(define-method set_as_last_used_for_type
- (of-object "GAppInfo")
- (c-name "g_app_info_set_as_last_used_for_type")
+(define-function g_unix_mount_guess_can_eject
+ (c-name "g_unix_mount_guess_can_eject")
(return-type "gboolean")
(parameters
- '("const-char*" "content_type")
- '("GError**" "error")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-function g_app_info_get_all
- (c-name "g_app_info_get_all")
- (return-type "GList*")
-)
-
-(define-function g_app_info_get_all_for_type
- (c-name "g_app_info_get_all_for_type")
- (return-type "GList*")
+(define-function g_unix_mount_guess_icon
+ (c-name "g_unix_mount_guess_icon")
+ (return-type "GIcon*")
(parameters
- '("const-char*" "content_type")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-function g_app_info_get_recommended_for_type
- (c-name "g_app_info_get_recommended_for_type")
- (return-type "GList*")
+(define-function g_unix_mount_guess_name
+ (c-name "g_unix_mount_guess_name")
+ (return-type "char*")
(parameters
- '("const-gchar*" "content_type")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-function g_app_info_get_fallback_for_type
- (c-name "g_app_info_get_fallback_for_type")
- (return-type "GList*")
+(define-function g_unix_mount_guess_should_display
+ (c-name "g_unix_mount_guess_should_display")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "content_type")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-function g_app_info_reset_type_associations
- (c-name "g_app_info_reset_type_associations")
- (return-type "none")
+(define-function g_unix_mount_guess_symbolic_icon
+ (c-name "g_unix_mount_guess_symbolic_icon")
+ (return-type "GIcon*")
(parameters
- '("const-char*" "content_type")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-function g_app_info_get_default_for_type
- (c-name "g_app_info_get_default_for_type")
- (return-type "GAppInfo*")
+(define-function g_unix_mount_is_readonly
+ (c-name "g_unix_mount_is_readonly")
+ (return-type "gboolean")
(parameters
- '("const-char*" "content_type")
- '("gboolean" "must_support_uris")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-function g_app_info_get_default_for_uri_scheme
- (c-name "g_app_info_get_default_for_uri_scheme")
- (return-type "GAppInfo*")
+(define-function g_unix_mount_is_system_internal
+ (c-name "g_unix_mount_is_system_internal")
+ (return-type "gboolean")
(parameters
- '("const-char*" "uri_scheme")
+ '("GUnixMountEntry*" "mount_entry")
)
)
-(define-function g_app_info_launch_default_for_uri
- (c-name "g_app_info_launch_default_for_uri")
+(define-function g_unix_mount_points_changed_since
+ (c-name "g_unix_mount_points_changed_since")
(return-type "gboolean")
(parameters
- '("const-char*" "uri")
- '("GAppLaunchContext*" "launch_context")
- '("GError**" "error")
+ '("guint64" "time")
)
)
-(define-function g_app_info_launch_default_for_uri_async
- (c-name "g_app_info_launch_default_for_uri_async")
- (return-type "none")
+(define-function g_unix_mount_points_get
+ (c-name "g_unix_mount_points_get")
+ (return-type "GList*")
(parameters
- '("const-char*" "uri")
- '("GAppLaunchContext*" "launch_context")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("guint64*" "time_read")
)
)
-(define-function g_app_info_launch_default_for_uri_finish
- (c-name "g_app_info_launch_default_for_uri_finish")
+(define-function g_unix_mounts_changed_since
+ (c-name "g_unix_mounts_changed_since")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("guint64" "time")
)
)
-(define-function g_app_launch_context_get_type
- (c-name "g_app_launch_context_get_type")
- (return-type "GType")
-)
-
-(define-function g_app_launch_context_new
- (c-name "g_app_launch_context_new")
- (is-constructor-of "GAppLaunchContext")
- (return-type "GAppLaunchContext*")
-)
-
-(define-method setenv
- (of-object "GAppLaunchContext")
- (c-name "g_app_launch_context_setenv")
- (return-type "none")
+(define-function g_unix_mounts_get
+ (c-name "g_unix_mounts_get")
+ (return-type "GList*")
(parameters
- '("const-char*" "variable")
- '("const-char*" "value")
+ '("guint64*" "time_read")
)
)
-(define-method unsetenv
- (of-object "GAppLaunchContext")
- (c-name "g_app_launch_context_unsetenv")
- (return-type "none")
- (parameters
- '("const-char*" "variable")
- )
+(define-function g_app_info_monitor_get
+ (c-name "g_app_info_monitor_get")
+ (return-type "GAppInfoMonitor*")
)
-(define-method get_environment
- (of-object "GAppLaunchContext")
- (c-name "g_app_launch_context_get_environment")
- (return-type "char**")
+(define-function g_app_launch_context_new
+ (c-name "g_app_launch_context_new")
+ (return-type "GAppLaunchContext*")
)
(define-method get_display
@@ -2456,6 +1221,12 @@
)
)
+(define-method get_environment
+ (of-object "GAppLaunchContext")
+ (c-name "g_app_launch_context_get_environment")
+ (return-type "char**")
+)
+
(define-method get_startup_notify_id
(of-object "GAppLaunchContext")
(c-name "g_app_launch_context_get_startup_notify_id")
@@ -2469,153 +1240,98 @@
(define-method launch_failed
(of-object "GAppLaunchContext")
(c-name "g_app_launch_context_launch_failed")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-char*" "startup_notify_id")
)
)
-(define-function g_app_info_monitor_get_type
- (c-name "g_app_info_monitor_get_type")
- (return-type "GType")
-)
-
-(define-function g_app_info_monitor_get
- (c-name "g_app_info_monitor_get")
- (return-type "GAppInfoMonitor*")
-)
-
-
-
-;; From gapplicationcommandline.h
-
-(define-function g_application_command_line_get_type
- (c-name "g_application_command_line_get_type")
- (return-type "GType")
-)
-
-(define-method get_arguments
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_arguments")
- (return-type "gchar**")
+(define-method setenv
+ (of-object "GAppLaunchContext")
+ (c-name "g_app_launch_context_setenv")
+ (return-type "void")
(parameters
- '("int*" "argc")
+ '("const-char*" "variable")
+ '("const-char*" "value")
)
)
-(define-method get_options_dict
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_options_dict")
- (return-type "GVariantDict*")
-)
-
-(define-method get_stdin
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_stdin")
- (return-type "GInputStream*")
-)
-
-(define-method get_environ
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_environ")
- (return-type "const-gchar*-const*")
+(define-method unsetenv
+ (of-object "GAppLaunchContext")
+ (c-name "g_app_launch_context_unsetenv")
+ (return-type "void")
+ (parameters
+ '("const-char*" "variable")
+ )
)
-(define-method getenv
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_getenv")
- (return-type "const-gchar*")
+(define-function g_application_new
+ (c-name "g_application_new")
+ (return-type "GApplication*")
(parameters
- '("const-gchar*" "name")
+ '("const-gchar*" "application_id")
+ '("GApplicationFlags" "flags")
)
)
-(define-method get_cwd
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_cwd")
- (return-type "const-gchar*")
+(define-function g_application_get_default
+ (c-name "g_application_get_default")
+ (return-type "GApplication*")
)
-(define-method get_is_remote
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_is_remote")
+(define-function g_application_id_is_valid
+ (c-name "g_application_id_is_valid")
(return-type "gboolean")
-)
-
-(define-method print
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_print")
- (return-type "none")
(parameters
- '("const-gchar*" "format")
- )
- (varargs #t)
-)
-
-(define-method printerr
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_printerr")
- (return-type "none")
- (parameters
- '("const-gchar*" "format")
+ '("const-gchar*" "application_id")
)
- (varargs #t)
)
-(define-method get_exit_status
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_exit_status")
- (return-type "int")
+(define-method activate
+ (of-object "GApplication")
+ (c-name "g_application_activate")
+ (return-type "void")
)
-(define-method set_exit_status
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_set_exit_status")
- (return-type "none")
+(define-method add_main_option
+ (of-object "GApplication")
+ (c-name "g_application_add_main_option")
+ (return-type "void")
(parameters
- '("int" "exit_status")
+ '("const-char*" "long_name")
+ '("char" "short_name")
+ '("GOptionFlags" "flags")
+ '("GOptionArg" "arg")
+ '("const-char*" "description")
+ '("const-char*" "arg_description")
)
)
-(define-method get_platform_data
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_get_platform_data")
- (return-type "GVariant*")
-)
-
-(define-method create_file_for_arg
- (of-object "GApplicationCommandLine")
- (c-name "g_application_command_line_create_file_for_arg")
- (return-type "GFile*")
+(define-method add_main_option_entries
+ (of-object "GApplication")
+ (c-name "g_application_add_main_option_entries")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg")
+ '("GOptionEntry*" "entries")
)
)
-
-
-;; From gapplication.h
-
-(define-function g_application_get_type
- (c-name "g_application_get_type")
- (return-type "GType")
-)
-
-(define-function g_application_id_is_valid
- (c-name "g_application_id_is_valid")
- (return-type "gboolean")
+(define-method add_option_group
+ (of-object "GApplication")
+ (c-name "g_application_add_option_group")
+ (return-type "void")
(parameters
- '("const-gchar*" "application_id")
+ '("GOptionGroup*" "group")
)
)
-(define-function g_application_new
- (c-name "g_application_new")
- (is-constructor-of "GApplication")
- (return-type "GApplication*")
+(define-method bind_busy_property
+ (of-object "GApplication")
+ (c-name "g_application_bind_busy_property")
+ (return-type "void")
(parameters
- '("const-gchar*" "application_id")
- '("GApplicationFlags" "flags")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
)
)
@@ -2625,15 +1341,6 @@
(return-type "const-gchar*")
)
-(define-method set_application_id
- (of-object "GApplication")
- (c-name "g_application_set_application_id")
- (return-type "none")
- (parameters
- '("const-gchar*" "application_id")
- )
-)
-
(define-method get_dbus_connection
(of-object "GApplication")
(c-name "g_application_get_dbus_connection")
@@ -2646,34 +1353,34 @@
(return-type "const-gchar*")
)
+(define-method get_flags
+ (of-object "GApplication")
+ (c-name "g_application_get_flags")
+ (return-type "GApplicationFlags")
+)
+
(define-method get_inactivity_timeout
(of-object "GApplication")
(c-name "g_application_get_inactivity_timeout")
(return-type "guint")
)
-(define-method set_inactivity_timeout
+(define-method get_is_busy
(of-object "GApplication")
- (c-name "g_application_set_inactivity_timeout")
- (return-type "none")
- (parameters
- '("guint" "inactivity_timeout")
- )
+ (c-name "g_application_get_is_busy")
+ (return-type "gboolean")
)
-(define-method get_flags
+(define-method get_is_registered
(of-object "GApplication")
- (c-name "g_application_get_flags")
- (return-type "GApplicationFlags")
+ (c-name "g_application_get_is_registered")
+ (return-type "gboolean")
)
-(define-method set_flags
+(define-method get_is_remote
(of-object "GApplication")
- (c-name "g_application_set_flags")
- (return-type "none")
- (parameters
- '("GApplicationFlags" "flags")
- )
+ (c-name "g_application_get_is_remote")
+ (return-type "gboolean")
)
(define-method get_resource_base_path
@@ -2682,66 +1389,33 @@
(return-type "const-gchar*")
)
-(define-method set_resource_base_path
- (of-object "GApplication")
- (c-name "g_application_set_resource_base_path")
- (return-type "none")
- (parameters
- '("const-gchar*" "resource_path")
- )
-)
-
-(define-method set_action_group
- (of-object "GApplication")
- (c-name "g_application_set_action_group")
- (return-type "none")
- (parameters
- '("GActionGroup*" "action_group")
- )
-)
-
-(define-method add_main_option_entries
+(define-method hold
(of-object "GApplication")
- (c-name "g_application_add_main_option_entries")
- (return-type "none")
- (parameters
- '("const-GOptionEntry*" "entries")
- )
+ (c-name "g_application_hold")
+ (return-type "void")
)
-(define-method add_main_option
+(define-method mark_busy
(of-object "GApplication")
- (c-name "g_application_add_main_option")
- (return-type "none")
- (parameters
- '("const-char*" "long_name")
- '("char" "short_name")
- '("GOptionFlags" "flags")
- '("GOptionArg" "arg")
- '("const-char*" "description")
- '("const-char*" "arg_description")
- )
+ (c-name "g_application_mark_busy")
+ (return-type "void")
)
-(define-method add_option_group
+(define-method open
(of-object "GApplication")
- (c-name "g_application_add_option_group")
- (return-type "none")
+ (c-name "g_application_open")
+ (return-type "void")
(parameters
- '("GOptionGroup*" "group")
+ '("GFile**" "files")
+ '("gint" "n_files")
+ '("const-gchar*" "hint")
)
)
-(define-method get_is_registered
- (of-object "GApplication")
- (c-name "g_application_get_is_registered")
- (return-type "gboolean")
-)
-
-(define-method get_is_remote
+(define-method quit
(of-object "GApplication")
- (c-name "g_application_get_is_remote")
- (return-type "gboolean")
+ (c-name "g_application_quit")
+ (return-type "void")
)
(define-method register
@@ -2754,33 +1428,10 @@
)
)
-(define-method hold
- (of-object "GApplication")
- (c-name "g_application_hold")
- (return-type "none")
-)
-
(define-method release
(of-object "GApplication")
(c-name "g_application_release")
- (return-type "none")
-)
-
-(define-method activate
- (of-object "GApplication")
- (c-name "g_application_activate")
- (return-type "none")
-)
-
-(define-method open
- (of-object "GApplication")
- (c-name "g_application_open")
- (return-type "none")
- (parameters
- '("GFile**" "files")
- '("gint" "n_files")
- '("const-gchar*" "hint")
- )
+ (return-type "void")
)
(define-method run
@@ -2793,300 +1444,192 @@
)
)
-(define-method quit
- (of-object "GApplication")
- (c-name "g_application_quit")
- (return-type "none")
-)
-
-(define-function g_application_get_default
- (c-name "g_application_get_default")
- (return-type "GApplication*")
-)
-
-(define-method set_default
+(define-method send_notification
(of-object "GApplication")
- (c-name "g_application_set_default")
- (return-type "none")
+ (c-name "g_application_send_notification")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "id")
+ '("GNotification*" "notification")
+ )
)
-(define-method mark_busy
+(define-method set_action_group
(of-object "GApplication")
- (c-name "g_application_mark_busy")
- (return-type "none")
+ (c-name "g_application_set_action_group")
+ (return-type "void")
+ (parameters
+ '("GActionGroup*" "action_group")
+ )
)
-(define-method unmark_busy
+(define-method set_application_id
(of-object "GApplication")
- (c-name "g_application_unmark_busy")
- (return-type "none")
+ (c-name "g_application_set_application_id")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "application_id")
+ )
)
-(define-method get_is_busy
+(define-method set_default
(of-object "GApplication")
- (c-name "g_application_get_is_busy")
- (return-type "gboolean")
+ (c-name "g_application_set_default")
+ (return-type "void")
)
-(define-method send_notification
+(define-method set_flags
(of-object "GApplication")
- (c-name "g_application_send_notification")
- (return-type "none")
+ (c-name "g_application_set_flags")
+ (return-type "void")
(parameters
- '("const-gchar*" "id")
- '("GNotification*" "notification")
+ '("GApplicationFlags" "flags")
)
)
-(define-method withdraw_notification
+(define-method set_inactivity_timeout
(of-object "GApplication")
- (c-name "g_application_withdraw_notification")
- (return-type "none")
+ (c-name "g_application_set_inactivity_timeout")
+ (return-type "void")
(parameters
- '("const-gchar*" "id")
+ '("guint" "inactivity_timeout")
)
)
-(define-method bind_busy_property
+(define-method set_resource_base_path
(of-object "GApplication")
- (c-name "g_application_bind_busy_property")
- (return-type "none")
+ (c-name "g_application_set_resource_base_path")
+ (return-type "void")
(parameters
- '("gpointer" "object")
- '("const-gchar*" "property")
+ '("const-gchar*" "resource_path")
)
)
(define-method unbind_busy_property
(of-object "GApplication")
(c-name "g_application_unbind_busy_property")
- (return-type "none")
+ (return-type "void")
(parameters
'("gpointer" "object")
'("const-gchar*" "property")
)
)
-
-
-;; From gapplicationimpl.h
-
-(define-method destroy
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_destroy")
- (return-type "none")
-)
-
-(define-method impl_register
+(define-method unmark_busy
(of-object "GApplication")
- (c-name "g_application_impl_register")
- (return-type "GApplicationImpl*")
- (parameters
- '("const-gchar*" "appid")
- '("GApplicationFlags" "flags")
- '("GActionGroup*" "exported_actions")
- '("GRemoteActionGroup**" "remote_actions")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+ (c-name "g_application_unmark_busy")
+ (return-type "void")
)
-(define-method activate
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_activate")
- (return-type "none")
+(define-method withdraw_notification
+ (of-object "GApplication")
+ (c-name "g_application_withdraw_notification")
+ (return-type "void")
(parameters
- '("GVariant*" "platform_data")
+ '("const-gchar*" "id")
)
)
-(define-method open
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_open")
- (return-type "none")
+(define-method create_file_for_arg
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_create_file_for_arg")
+ (return-type "GFile*")
(parameters
- '("GFile**" "files")
- '("gint" "n_files")
- '("const-gchar*" "hint")
- '("GVariant*" "platform_data")
+ '("const-gchar*" "arg")
)
)
-(define-method command_line
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_command_line")
- (return-type "int")
+(define-method get_arguments
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_arguments")
+ (return-type "gchar**")
(parameters
- '("const-gchar*-const*" "arguments")
- '("GVariant*" "platform_data")
+ '("int*" "argc")
)
)
-(define-method flush
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_flush")
- (return-type "none")
-)
-
-(define-method get_dbus_connection
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_get_dbus_connection")
- (return-type "GDBusConnection*")
-)
-
-(define-method get_dbus_object_path
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_get_dbus_object_path")
+(define-method get_cwd
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_cwd")
(return-type "const-gchar*")
)
-(define-method set_busy_state
- (of-object "GApplicationImpl")
- (c-name "g_application_impl_set_busy_state")
- (return-type "none")
- (parameters
- '("gboolean" "busy")
- )
+(define-method get_environ
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_environ")
+ (return-type "const-gchar*-const*")
)
-
-
-;; From gasynchelper.h
-
-
-
-;; From gasyncinitable.h
-
-(define-function g_async_initable_get_type
- (c-name "g_async_initable_get_type")
- (return-type "GType")
+(define-method get_exit_status
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_exit_status")
+ (return-type "int")
)
-(define-method init_async
- (of-object "GAsyncInitable")
- (c-name "g_async_initable_init_async")
- (return-type "none")
- (parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_is_remote
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_is_remote")
+ (return-type "gboolean")
)
-(define-method init_finish
- (of-object "GAsyncInitable")
- (c-name "g_async_initable_init_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
+(define-method get_options_dict
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_options_dict")
+ (return-type "GVariantDict*")
)
-(define-function g_async_initable_new_async
- (c-name "g_async_initable_new_async")
- (return-type "none")
- (parameters
- '("GType" "object_type")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("const-gchar*" "first_property_name")
- )
- (varargs #t)
+(define-method get_platform_data
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_platform_data")
+ (return-type "GVariant*")
)
-(define-function g_async_initable_newv_async
- (c-name "g_async_initable_newv_async")
- (return-type "none")
- (parameters
- '("GType" "object_type")
- '("guint" "n_parameters")
- '("GParameter*" "parameters")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_stdin
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_stdin")
+ (return-type "GInputStream*")
)
-(define-function g_async_initable_new_valist_async
- (c-name "g_async_initable_new_valist_async")
- (return-type "none")
+(define-method getenv
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_getenv")
+ (return-type "const-gchar*")
(parameters
- '("GType" "object_type")
- '("const-gchar*" "first_property_name")
- '("va_list" "var_args")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "name")
)
)
-(define-method new_finish
- (of-object "GAsyncInitable")
- (c-name "g_async_initable_new_finish")
- (return-type "GObject*")
+(define-method print
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_print")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-gchar*" "format")
+ '("..." "...")
)
)
-
-
-;; From gasyncresult.h
-
-(define-function g_async_result_get_type
- (c-name "g_async_result_get_type")
- (return-type "GType")
-)
-
-(define-method get_user_data
- (of-object "GAsyncResult")
- (c-name "g_async_result_get_user_data")
- (return-type "gpointer")
-)
-
-(define-method get_source_object
- (of-object "GAsyncResult")
- (c-name "g_async_result_get_source_object")
- (return-type "GObject*")
-)
-
-(define-method legacy_propagate_error
- (of-object "GAsyncResult")
- (c-name "g_async_result_legacy_propagate_error")
- (return-type "gboolean")
+(define-method printerr
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_printerr")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("const-gchar*" "format")
+ '("..." "...")
)
)
-(define-method is_tagged
- (of-object "GAsyncResult")
- (c-name "g_async_result_is_tagged")
- (return-type "gboolean")
+(define-method set_exit_status
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_set_exit_status")
+ (return-type "void")
(parameters
- '("gpointer" "source_tag")
+ '("int" "exit_status")
)
)
-
-
-;; From gbufferedinputstream.h
-
-(define-function g_buffered_input_stream_get_type
- (c-name "g_buffered_input_stream_get_type")
- (return-type "GType")
-)
-
(define-function g_buffered_input_stream_new
(c-name "g_buffered_input_stream_new")
- (is-constructor-of "GBufferedInputStream")
(return-type "GInputStream*")
(parameters
'("GInputStream*" "base_stream")
@@ -3102,18 +1645,37 @@
)
)
-(define-method get_buffer_size
+(define-method fill
(of-object "GBufferedInputStream")
- (c-name "g_buffered_input_stream_get_buffer_size")
- (return-type "gsize")
+ (c-name "g_buffered_input_stream_fill")
+ (return-type "gssize")
+ (parameters
+ '("gssize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method set_buffer_size
+(define-method fill_async
(of-object "GBufferedInputStream")
- (c-name "g_buffered_input_stream_set_buffer_size")
- (return-type "none")
+ (c-name "g_buffered_input_stream_fill_async")
+ (return-type "void")
(parameters
- '("gsize" "size")
+ '("gssize" "count")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method fill_finish
+ (of-object "GBufferedInputStream")
+ (c-name "g_buffered_input_stream_fill_finish")
+ (return-type "gssize")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
@@ -3123,6 +1685,12 @@
(return-type "gsize")
)
+(define-method get_buffer_size
+ (of-object "GBufferedInputStream")
+ (c-name "g_buffered_input_stream_get_buffer_size")
+ (return-type "gsize")
+)
+
(define-method peek
(of-object "GBufferedInputStream")
(c-name "g_buffered_input_stream_peek")
@@ -3143,40 +1711,6 @@
)
)
-(define-method fill
- (of-object "GBufferedInputStream")
- (c-name "g_buffered_input_stream_fill")
- (return-type "gssize")
- (parameters
- '("gssize" "count")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method fill_async
- (of-object "GBufferedInputStream")
- (c-name "g_buffered_input_stream_fill_async")
- (return-type "none")
- (parameters
- '("gssize" "count")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method fill_finish
- (of-object "GBufferedInputStream")
- (c-name "g_buffered_input_stream_fill_finish")
- (return-type "gssize")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
(define-method read_byte
(of-object "GBufferedInputStream")
(c-name "g_buffered_input_stream_read_byte")
@@ -3187,18 +1721,17 @@
)
)
-
-
-;; From gbufferedoutputstream.h
-
-(define-function g_buffered_output_stream_get_type
- (c-name "g_buffered_output_stream_get_type")
- (return-type "GType")
+(define-method set_buffer_size
+ (of-object "GBufferedInputStream")
+ (c-name "g_buffered_input_stream_set_buffer_size")
+ (return-type "void")
+ (parameters
+ '("gsize" "size")
+ )
)
(define-function g_buffered_output_stream_new
(c-name "g_buffered_output_stream_new")
- (is-constructor-of "GBufferedOutputStream")
(return-type "GOutputStream*")
(parameters
'("GOutputStream*" "base_stream")
@@ -3214,49 +1747,42 @@
)
)
-(define-method get_buffer_size
- (of-object "GBufferedOutputStream")
- (c-name "g_buffered_output_stream_get_buffer_size")
- (return-type "gsize")
-)
-
-(define-method set_buffer_size
- (of-object "GBufferedOutputStream")
- (c-name "g_buffered_output_stream_set_buffer_size")
- (return-type "none")
- (parameters
- '("gsize" "size")
- )
-)
-
(define-method get_auto_grow
(of-object "GBufferedOutputStream")
(c-name "g_buffered_output_stream_get_auto_grow")
(return-type "gboolean")
)
+(define-method get_buffer_size
+ (of-object "GBufferedOutputStream")
+ (c-name "g_buffered_output_stream_get_buffer_size")
+ (return-type "gsize")
+)
+
(define-method set_auto_grow
(of-object "GBufferedOutputStream")
(c-name "g_buffered_output_stream_set_auto_grow")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "auto_grow")
)
)
-
-
-;; From gbytesicon.h
-
-(define-function g_bytes_icon_get_type
- (c-name "g_bytes_icon_get_type")
- (return-type "GType")
+(define-method set_buffer_size
+ (of-object "GBufferedOutputStream")
+ (c-name "g_buffered_output_stream_set_buffer_size")
+ (return-type "void")
+ (parameters
+ '("gsize" "size")
+ )
)
-(define-method icon_new
- (of-object "GBytes")
+(define-function g_bytes_icon_new
(c-name "g_bytes_icon_new")
(return-type "GIcon*")
+ (parameters
+ '("GBytes*" "bytes")
+ )
)
(define-method get_bytes
@@ -3265,33 +1791,39 @@
(return-type "GBytes*")
)
-
-
-;; From gcancellable.h
-
-(define-function g_cancellable_get_type
- (c-name "g_cancellable_get_type")
- (return-type "GType")
-)
-
(define-function g_cancellable_new
(c-name "g_cancellable_new")
- (is-constructor-of "GCancellable")
(return-type "GCancellable*")
)
-(define-method is_cancelled
+(define-function g_cancellable_get_current
+ (c-name "g_cancellable_get_current")
+ (return-type "GCancellable*")
+)
+
+(define-method cancel
(of-object "GCancellable")
- (c-name "g_cancellable_is_cancelled")
- (return-type "gboolean")
+ (c-name "g_cancellable_cancel")
+ (return-type "void")
)
-(define-method set_error_if_cancelled
+(define-method connect
(of-object "GCancellable")
- (c-name "g_cancellable_set_error_if_cancelled")
- (return-type "gboolean")
+ (c-name "g_cancellable_connect")
+ (return-type "gulong")
(parameters
- '("GError**" "error")
+ '("GCallback" "callback")
+ '("gpointer" "data")
+ '("GDestroyNotify" "data_destroy_func")
+ )
+)
+
+(define-method disconnect
+ (of-object "GCancellable")
+ (c-name "g_cancellable_disconnect")
+ (return-type "void")
+ (parameters
+ '("gulong" "handler_id")
)
)
@@ -3301,6 +1833,12 @@
(return-type "int")
)
+(define-method is_cancelled
+ (of-object "GCancellable")
+ (c-name "g_cancellable_is_cancelled")
+ (return-type "gboolean")
+)
+
(define-method make_pollfd
(of-object "GCancellable")
(c-name "g_cancellable_make_pollfd")
@@ -3310,93 +1848,59 @@
)
)
-(define-method release_fd
- (of-object "GCancellable")
- (c-name "g_cancellable_release_fd")
- (return-type "none")
-)
-
-(define-method source_new
+(define-method pop_current
(of-object "GCancellable")
- (c-name "g_cancellable_source_new")
- (return-type "GSource*")
-)
-
-(define-function g_cancellable_get_current
- (c-name "g_cancellable_get_current")
- (return-type "GCancellable*")
+ (c-name "g_cancellable_pop_current")
+ (return-type "void")
)
(define-method push_current
(of-object "GCancellable")
(c-name "g_cancellable_push_current")
- (return-type "none")
+ (return-type "void")
)
-(define-method pop_current
+(define-method release_fd
(of-object "GCancellable")
- (c-name "g_cancellable_pop_current")
- (return-type "none")
+ (c-name "g_cancellable_release_fd")
+ (return-type "void")
)
(define-method reset
(of-object "GCancellable")
(c-name "g_cancellable_reset")
- (return-type "none")
-)
-
-(define-method connect
- (of-object "GCancellable")
- (c-name "g_cancellable_connect")
- (return-type "gulong")
- (parameters
- '("GCallback" "callback")
- '("gpointer" "data")
- '("GDestroyNotify" "data_destroy_func")
- )
+ (return-type "void")
)
-(define-method disconnect
+(define-method set_error_if_cancelled
(of-object "GCancellable")
- (c-name "g_cancellable_disconnect")
- (return-type "none")
+ (c-name "g_cancellable_set_error_if_cancelled")
+ (return-type "gboolean")
(parameters
- '("gulong" "handler_id")
+ '("GError**" "error")
)
)
-(define-method cancel
+(define-method source_new
(of-object "GCancellable")
- (c-name "g_cancellable_cancel")
- (return-type "none")
-)
-
-
-
-;; From gcharsetconverter.h
-
-(define-function g_charset_converter_get_type
- (c-name "g_charset_converter_get_type")
- (return-type "GType")
+ (c-name "g_cancellable_source_new")
+ (return-type "GSource*")
)
-(define-method set_converter_new
- (of-object "gchar")
+(define-function g_charset_converter_new
(c-name "g_charset_converter_new")
(return-type "GCharsetConverter*")
(parameters
+ '("const-gchar*" "to_charset")
'("const-gchar*" "from_charset")
'("GError**" "error")
)
)
-(define-method set_use_fallback
+(define-method get_num_fallbacks
(of-object "GCharsetConverter")
- (c-name "g_charset_converter_set_use_fallback")
- (return-type "none")
- (parameters
- '("gboolean" "use_fallback")
- )
+ (c-name "g_charset_converter_get_num_fallbacks")
+ (return-type "guint")
)
(define-method get_use_fallback
@@ -3405,204 +1909,17 @@
(return-type "gboolean")
)
-(define-method get_num_fallbacks
+(define-method set_use_fallback
(of-object "GCharsetConverter")
- (c-name "g_charset_converter_get_num_fallbacks")
- (return-type "guint")
-)
-
-
-
-;; From gconstructor_as_data.h
-
-
-
-;; From gcontenttype.h
-
-(define-function g_content_type_equals
- (c-name "g_content_type_equals")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "type1")
- '("const-gchar*" "type2")
- )
-)
-
-(define-function g_content_type_is_a
- (c-name "g_content_type_is_a")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "type")
- '("const-gchar*" "supertype")
- )
-)
-
-(define-function g_content_type_is_unknown
- (c-name "g_content_type_is_unknown")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "type")
- )
-)
-
-(define-function g_content_type_get_description
- (c-name "g_content_type_get_description")
- (return-type "gchar*")
- (parameters
- '("const-gchar*" "type")
- )
-)
-
-(define-function g_content_type_get_mime_type
- (c-name "g_content_type_get_mime_type")
- (return-type "gchar*")
- (parameters
- '("const-gchar*" "type")
- )
-)
-
-(define-function g_content_type_get_icon
- (c-name "g_content_type_get_icon")
- (return-type "GIcon*")
- (parameters
- '("const-gchar*" "type")
- )
-)
-
-(define-function g_content_type_get_symbolic_icon
- (c-name "g_content_type_get_symbolic_icon")
- (return-type "GIcon*")
- (parameters
- '("const-gchar*" "type")
- )
-)
-
-(define-function g_content_type_get_generic_icon_name
- (c-name "g_content_type_get_generic_icon_name")
- (return-type "gchar*")
- (parameters
- '("const-gchar*" "type")
- )
-)
-
-(define-function g_content_type_can_be_executable
- (c-name "g_content_type_can_be_executable")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "type")
- )
-)
-
-(define-function g_content_type_from_mime_type
- (c-name "g_content_type_from_mime_type")
- (return-type "gchar*")
- (parameters
- '("const-gchar*" "mime_type")
- )
-)
-
-(define-function g_content_type_guess
- (c-name "g_content_type_guess")
- (return-type "gchar*")
- (parameters
- '("const-gchar*" "filename")
- '("const-guchar*" "data")
- '("gsize" "data_size")
- '("gboolean*" "result_uncertain")
- )
-)
-
-(define-function g_content_type_guess_for_tree
- (c-name "g_content_type_guess_for_tree")
- (return-type "gchar**")
- (parameters
- '("GFile*" "root")
- )
-)
-
-(define-function g_content_types_get_registered
- (c-name "g_content_types_get_registered")
- (return-type "GList*")
-)
-
-
-
-;; From gcontextspecificgroup.h
-
-(define-method get
- (of-object "GContextSpecificGroup")
- (c-name "g_context_specific_group_get")
- (return-type "gpointer")
- (parameters
- '("GType" "type")
- '("goffset" "context_offset")
- '("GCallback" "start_func")
- )
-)
-
-(define-method remove
- (of-object "GContextSpecificGroup")
- (c-name "g_context_specific_group_remove")
- (return-type "none")
- (parameters
- '("GMainContext*" "context")
- '("gpointer" "instance")
- '("GCallback" "stop_func")
- )
-)
-
-(define-method emit
- (of-object "GContextSpecificGroup")
- (c-name "g_context_specific_group_emit")
- (return-type "none")
- (parameters
- '("guint" "signal_id")
- )
-)
-
-
-
-;; From gconverter.h
-
-(define-function g_converter_get_type
- (c-name "g_converter_get_type")
- (return-type "GType")
-)
-
-(define-method convert
- (of-object "GConverter")
- (c-name "g_converter_convert")
- (return-type "GConverterResult")
+ (c-name "g_charset_converter_set_use_fallback")
+ (return-type "void")
(parameters
- '("const-void*" "inbuf")
- '("gsize" "inbuf_size")
- '("void*" "outbuf")
- '("gsize" "outbuf_size")
- '("GConverterFlags" "flags")
- '("gsize*" "bytes_read")
- '("gsize*" "bytes_written")
- '("GError**" "error")
+ '("gboolean" "use_fallback")
)
)
-(define-method reset
- (of-object "GConverter")
- (c-name "g_converter_reset")
- (return-type "none")
-)
-
-
-
-;; From gconverterinputstream.h
-
-(define-function g_converter_input_stream_get_type
- (c-name "g_converter_input_stream_get_type")
- (return-type "GType")
-)
-
(define-function g_converter_input_stream_new
(c-name "g_converter_input_stream_new")
- (is-constructor-of "GConverterInputStream")
(return-type "GInputStream*")
(parameters
'("GInputStream*" "base_stream")
@@ -3616,18 +1933,8 @@
(return-type "GConverter*")
)
-
-
-;; From gconverteroutputstream.h
-
-(define-function g_converter_output_stream_get_type
- (c-name "g_converter_output_stream_get_type")
- (return-type "GType")
-)
-
(define-function g_converter_output_stream_new
(c-name "g_converter_output_stream_new")
- (is-constructor-of "GConverterOutputStream")
(return-type "GOutputStream*")
(parameters
'("GOutputStream*" "base_stream")
@@ -3641,27 +1948,11 @@
(return-type "GConverter*")
)
-
-
-;; From gcredentials.h
-
-(define-function g_credentials_get_type
- (c-name "g_credentials_get_type")
- (return-type "GType")
-)
-
(define-function g_credentials_new
(c-name "g_credentials_new")
- (is-constructor-of "GCredentials")
(return-type "GCredentials*")
)
-(define-method to_string
- (of-object "GCredentials")
- (c-name "g_credentials_to_string")
- (return-type "gchar*")
-)
-
(define-method get_native
(of-object "GCredentials")
(c-name "g_credentials_get_native")
@@ -3671,26 +1962,6 @@
)
)
-(define-method set_native
- (of-object "GCredentials")
- (c-name "g_credentials_set_native")
- (return-type "none")
- (parameters
- '("GCredentialsType" "native_type")
- '("gpointer" "native")
- )
-)
-
-(define-method is_same_user
- (of-object "GCredentials")
- (c-name "g_credentials_is_same_user")
- (return-type "gboolean")
- (parameters
- '("GCredentials*" "other_credentials")
- '("GError**" "error")
- )
-)
-
(define-method get_unix_pid
(of-object "GCredentials")
(c-name "g_credentials_get_unix_pid")
@@ -3709,734 +1980,408 @@
)
)
-(define-method set_unix_user
+(define-method is_same_user
(of-object "GCredentials")
- (c-name "g_credentials_set_unix_user")
+ (c-name "g_credentials_is_same_user")
(return-type "gboolean")
(parameters
- '("uid_t" "uid")
- '("GError**" "error")
- )
-)
-
-
-
-;; From gdatagrambased.h
-
-(define-function g_datagram_based_get_type
- (c-name "g_datagram_based_get_type")
- (return-type "GType")
-)
-
-(define-method receive_messages
- (of-object "GDatagramBased")
- (c-name "g_datagram_based_receive_messages")
- (return-type "gint")
- (parameters
- '("GInputMessage*" "messages")
- '("guint" "num_messages")
- '("gint" "flags")
- '("gint64" "timeout")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method send_messages
- (of-object "GDatagramBased")
- (c-name "g_datagram_based_send_messages")
- (return-type "gint")
- (parameters
- '("GOutputMessage*" "messages")
- '("guint" "num_messages")
- '("gint" "flags")
- '("gint64" "timeout")
- '("GCancellable*" "cancellable")
+ '("GCredentials*" "other_credentials")
'("GError**" "error")
)
)
-(define-method create_source
- (of-object "GDatagramBased")
- (c-name "g_datagram_based_create_source")
- (return-type "GSource*")
- (parameters
- '("GIOCondition" "condition")
- '("GCancellable*" "cancellable")
- )
-)
-
-(define-method condition_check
- (of-object "GDatagramBased")
- (c-name "g_datagram_based_condition_check")
- (return-type "GIOCondition")
+(define-method set_native
+ (of-object "GCredentials")
+ (c-name "g_credentials_set_native")
+ (return-type "void")
(parameters
- '("GIOCondition" "condition")
+ '("GCredentialsType" "native_type")
+ '("gpointer" "native")
)
)
-(define-method condition_wait
- (of-object "GDatagramBased")
- (c-name "g_datagram_based_condition_wait")
+(define-method set_unix_user
+ (of-object "GCredentials")
+ (c-name "g_credentials_set_unix_user")
(return-type "gboolean")
(parameters
- '("GIOCondition" "condition")
- '("gint64" "timeout")
- '("GCancellable*" "cancellable")
+ '("uid_t" "uid")
'("GError**" "error")
)
)
-
-
-;; From gdatainputstream.h
-
-(define-function g_data_input_stream_get_type
- (c-name "g_data_input_stream_get_type")
- (return-type "GType")
+(define-method to_string
+ (of-object "GCredentials")
+ (c-name "g_credentials_to_string")
+ (return-type "gchar*")
)
-(define-function g_data_input_stream_new
- (c-name "g_data_input_stream_new")
- (is-constructor-of "GDataInputStream")
- (return-type "GDataInputStream*")
+(define-function g_dbus_action_group_get
+ (c-name "g_dbus_action_group_get")
+ (return-type "GDBusActionGroup*")
(parameters
- '("GInputStream*" "base_stream")
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "bus_name")
+ '("const-gchar*" "object_path")
)
)
-(define-method set_byte_order
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_set_byte_order")
- (return-type "none")
- (parameters
- '("GDataStreamByteOrder" "order")
- )
+(define-method ref
+ (of-object "GDBusAnnotationInfo")
+ (c-name "g_dbus_annotation_info_ref")
+ (return-type "GDBusAnnotationInfo*")
)
-(define-method get_byte_order
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_get_byte_order")
- (return-type "GDataStreamByteOrder")
+(define-method unref
+ (of-object "GDBusAnnotationInfo")
+ (c-name "g_dbus_annotation_info_unref")
+ (return-type "void")
)
-(define-method set_newline_type
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_set_newline_type")
- (return-type "none")
+(define-function g_dbus_annotation_info_lookup
+ (c-name "g_dbus_annotation_info_lookup")
+ (return-type "const-gchar*")
(parameters
- '("GDataStreamNewlineType" "type")
+ '("GDBusAnnotationInfo**" "annotations")
+ '("const-gchar*" "name")
)
)
-(define-method get_newline_type
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_get_newline_type")
- (return-type "GDataStreamNewlineType")
-)
-
-(define-method read_byte
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_byte")
- (return-type "guchar")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method ref
+ (of-object "GDBusArgInfo")
+ (c-name "g_dbus_arg_info_ref")
+ (return-type "GDBusArgInfo*")
)
-(define-method read_int16
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_int16")
- (return-type "gint16")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method unref
+ (of-object "GDBusArgInfo")
+ (c-name "g_dbus_arg_info_unref")
+ (return-type "void")
)
-(define-method read_uint16
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_uint16")
- (return-type "guint16")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-function g_dbus_auth_observer_new
+ (c-name "g_dbus_auth_observer_new")
+ (return-type "GDBusAuthObserver*")
)
-(define-method read_int32
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_int32")
- (return-type "gint32")
+(define-method allow_mechanism
+ (of-object "GDBusAuthObserver")
+ (c-name "g_dbus_auth_observer_allow_mechanism")
+ (return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "mechanism")
)
)
-(define-method read_uint32
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_uint32")
- (return-type "guint32")
+(define-method authorize_authenticated_peer
+ (of-object "GDBusAuthObserver")
+ (c-name "g_dbus_auth_observer_authorize_authenticated_peer")
+ (return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GIOStream*" "stream")
+ '("GCredentials*" "credentials")
)
)
-(define-method read_int64
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_int64")
- (return-type "gint64")
+(define-function g_dbus_connection_new_finish
+ (c-name "g_dbus_connection_new_finish")
+ (return-type "GDBusConnection*")
(parameters
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method read_uint64
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_uint64")
- (return-type "guint64")
+(define-function g_dbus_connection_new_for_address_finish
+ (c-name "g_dbus_connection_new_for_address_finish")
+ (return-type "GDBusConnection*")
(parameters
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method read_line
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_line")
- (return-type "char*")
+(define-function g_dbus_connection_new_for_address_sync
+ (c-name "g_dbus_connection_new_for_address_sync")
+ (return-type "GDBusConnection*")
(parameters
- '("gsize*" "length")
+ '("const-gchar*" "address")
+ '("GDBusConnectionFlags" "flags")
+ '("GDBusAuthObserver*" "observer")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method read_line_utf8
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_line_utf8")
- (return-type "char*")
+(define-function g_dbus_connection_new_sync
+ (c-name "g_dbus_connection_new_sync")
+ (return-type "GDBusConnection*")
(parameters
- '("gsize*" "length")
+ '("GIOStream*" "stream")
+ '("const-gchar*" "guid")
+ '("GDBusConnectionFlags" "flags")
+ '("GDBusAuthObserver*" "observer")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method read_line_async
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_line_async")
- (return-type "none")
+(define-function g_dbus_connection_new
+ (c-name "g_dbus_connection_new")
+ (return-type "void")
(parameters
- '("gint" "io_priority")
+ '("GIOStream*" "stream")
+ '("const-gchar*" "guid")
+ '("GDBusConnectionFlags" "flags")
+ '("GDBusAuthObserver*" "observer")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method read_line_finish
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_line_finish")
- (return-type "char*")
- (parameters
- '("GAsyncResult*" "result")
- '("gsize*" "length")
- '("GError**" "error")
- )
-)
-
-(define-method read_line_finish_utf8
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_line_finish_utf8")
- (return-type "char*")
- (parameters
- '("GAsyncResult*" "result")
- '("gsize*" "length")
- '("GError**" "error")
- )
-)
-
-(define-method read_until
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_until")
- (return-type "char*")
- (parameters
- '("const-gchar*" "stop_chars")
- '("gsize*" "length")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method read_until_async
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_until_async")
- (return-type "none")
+(define-function g_dbus_connection_new_for_address
+ (c-name "g_dbus_connection_new_for_address")
+ (return-type "void")
(parameters
- '("const-gchar*" "stop_chars")
- '("gint" "io_priority")
+ '("const-gchar*" "address")
+ '("GDBusConnectionFlags" "flags")
+ '("GDBusAuthObserver*" "observer")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method read_until_finish
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_until_finish")
- (return-type "char*")
- (parameters
- '("GAsyncResult*" "result")
- '("gsize*" "length")
- '("GError**" "error")
- )
-)
-
-(define-method read_upto
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_upto")
- (return-type "char*")
+(define-method add_filter
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_add_filter")
+ (return-type "guint")
(parameters
- '("const-gchar*" "stop_chars")
- '("gssize" "stop_chars_len")
- '("gsize*" "length")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GDBusMessageFilterFunction" "filter_function")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_free_func")
)
)
-(define-method read_upto_async
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_upto_async")
- (return-type "none")
+(define-method call
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_call")
+ (return-type "void")
(parameters
- '("const-gchar*" "stop_chars")
- '("gssize" "stop_chars_len")
- '("gint" "io_priority")
+ '("const-gchar*" "bus_name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
+ '("const-gchar*" "method_name")
+ '("GVariant*" "parameters")
+ '("const-GVariantType*" "reply_type")
+ '("GDBusCallFlags" "flags")
+ '("gint" "timeout_msec")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method read_upto_finish
- (of-object "GDataInputStream")
- (c-name "g_data_input_stream_read_upto_finish")
- (return-type "char*")
- (parameters
- '("GAsyncResult*" "result")
- '("gsize*" "length")
- '("GError**" "error")
- )
-)
-
-
-
-;; From gdataoutputstream.h
-
-(define-function g_data_output_stream_get_type
- (c-name "g_data_output_stream_get_type")
- (return-type "GType")
-)
-
-(define-function g_data_output_stream_new
- (c-name "g_data_output_stream_new")
- (is-constructor-of "GDataOutputStream")
- (return-type "GDataOutputStream*")
- (parameters
- '("GOutputStream*" "base_stream")
- )
-)
-
-(define-method set_byte_order
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_set_byte_order")
- (return-type "none")
- (parameters
- '("GDataStreamByteOrder" "order")
- )
-)
-
-(define-method get_byte_order
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_get_byte_order")
- (return-type "GDataStreamByteOrder")
-)
-
-(define-method put_byte
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_byte")
- (return-type "gboolean")
- (parameters
- '("guchar" "data")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method put_int16
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_int16")
- (return-type "gboolean")
- (parameters
- '("gint16" "data")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method put_uint16
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_uint16")
- (return-type "gboolean")
- (parameters
- '("guint16" "data")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method put_int32
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_int32")
- (return-type "gboolean")
- (parameters
- '("gint32" "data")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method put_uint32
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_uint32")
- (return-type "gboolean")
- (parameters
- '("guint32" "data")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method put_int64
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_int64")
- (return-type "gboolean")
- (parameters
- '("gint64" "data")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method put_uint64
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_uint64")
- (return-type "gboolean")
+(define-method call_finish
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_call_finish")
+ (return-type "GVariant*")
(parameters
- '("guint64" "data")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method put_string
- (of-object "GDataOutputStream")
- (c-name "g_data_output_stream_put_string")
- (return-type "gboolean")
+(define-method call_sync
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_call_sync")
+ (return-type "GVariant*")
(parameters
- '("const-char*" "str")
+ '("const-gchar*" "bus_name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
+ '("const-gchar*" "method_name")
+ '("GVariant*" "parameters")
+ '("const-GVariantType*" "reply_type")
+ '("GDBusCallFlags" "flags")
+ '("gint" "timeout_msec")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-
-
-;; From gdbusactiongroup.h
-
-(define-function g_dbus_action_group_get_type
- (c-name "g_dbus_action_group_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_action_group_get
- (c-name "g_dbus_action_group_get")
- (return-type "GDBusActionGroup*")
+(define-method call_with_unix_fd_list
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_call_with_unix_fd_list")
+ (return-type "void")
(parameters
- '("GDBusConnection*" "connection")
'("const-gchar*" "bus_name")
'("const-gchar*" "object_path")
- )
-)
-
-
-
-;; From gdbusaddress.h
-
-(define-function g_dbus_address_escape_value
- (c-name "g_dbus_address_escape_value")
- (return-type "gchar*")
- (parameters
- '("const-gchar*" "string")
- )
-)
-
-(define-function g_dbus_is_address
- (c-name "g_dbus_is_address")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "string")
- )
-)
-
-(define-function g_dbus_is_supported_address
- (c-name "g_dbus_is_supported_address")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "string")
- '("GError**" "error")
- )
-)
-
-(define-function g_dbus_address_get_stream
- (c-name "g_dbus_address_get_stream")
- (return-type "none")
- (parameters
- '("const-gchar*" "address")
+ '("const-gchar*" "interface_name")
+ '("const-gchar*" "method_name")
+ '("GVariant*" "parameters")
+ '("const-GVariantType*" "reply_type")
+ '("GDBusCallFlags" "flags")
+ '("gint" "timeout_msec")
+ '("GUnixFDList*" "fd_list")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-function g_dbus_address_get_stream_finish
- (c-name "g_dbus_address_get_stream_finish")
- (return-type "GIOStream*")
+(define-method call_with_unix_fd_list_finish
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_call_with_unix_fd_list_finish")
+ (return-type "GVariant*")
(parameters
+ '("GUnixFDList**" "out_fd_list")
'("GAsyncResult*" "res")
- '("gchar**" "out_guid")
- '("GError**" "error")
- )
-)
-
-(define-function g_dbus_address_get_stream_sync
- (c-name "g_dbus_address_get_stream_sync")
- (return-type "GIOStream*")
- (parameters
- '("const-gchar*" "address")
- '("gchar**" "out_guid")
- '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_dbus_address_get_for_bus_sync
- (c-name "g_dbus_address_get_for_bus_sync")
- (return-type "gchar*")
+(define-method call_with_unix_fd_list_sync
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_call_with_unix_fd_list_sync")
+ (return-type "GVariant*")
(parameters
- '("GBusType" "bus_type")
+ '("const-gchar*" "bus_name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
+ '("const-gchar*" "method_name")
+ '("GVariant*" "parameters")
+ '("const-GVariantType*" "reply_type")
+ '("GDBusCallFlags" "flags")
+ '("gint" "timeout_msec")
+ '("GUnixFDList*" "fd_list")
+ '("GUnixFDList**" "out_fd_list")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-
-
-;; From gdbusauth.h
-
-
-
-;; From gdbusauthmechanismanon.h
-
-
-
-;; From gdbusauthmechanismexternal.h
-
-
-
-;; From gdbusauthmechanism.h
-
-
-
-;; From gdbusauthmechanismsha1.h
-
-
-
-;; From gdbusauthobserver.h
-
-(define-function g_dbus_auth_observer_get_type
- (c-name "g_dbus_auth_observer_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_auth_observer_new
- (c-name "g_dbus_auth_observer_new")
- (is-constructor-of "GDbusAuthObserver")
- (return-type "GDBusAuthObserver*")
-)
-
-(define-method authorize_authenticated_peer
- (of-object "GDBusAuthObserver")
- (c-name "g_dbus_auth_observer_authorize_authenticated_peer")
- (return-type "gboolean")
- (parameters
- '("GIOStream*" "stream")
- '("GCredentials*" "credentials")
- )
-)
-
-(define-method allow_mechanism
- (of-object "GDBusAuthObserver")
- (c-name "g_dbus_auth_observer_allow_mechanism")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "mechanism")
- )
-)
-
-
-
-;; From gdbusconnection.h
-
-(define-function g_dbus_connection_get_type
- (c-name "g_dbus_connection_get_type")
- (return-type "GType")
-)
-
-(define-function g_bus_get
- (c-name "g_bus_get")
- (return-type "none")
+(define-method close
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_close")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-function g_bus_get_finish
- (c-name "g_bus_get_finish")
- (return-type "GDBusConnection*")
+(define-method close_finish
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_close_finish")
+ (return-type "gboolean")
(parameters
'("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-function g_bus_get_sync
- (c-name "g_bus_get_sync")
- (return-type "GDBusConnection*")
+(define-method close_sync
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_close_sync")
+ (return-type "gboolean")
(parameters
- '("GBusType" "bus_type")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_dbus_connection_new
- (c-name "g_dbus_connection_new")
- (return-type "none")
+(define-method emit_signal
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_emit_signal")
+ (return-type "gboolean")
(parameters
- '("GIOStream*" "stream")
- '("const-gchar*" "guid")
- '("GDBusConnectionFlags" "flags")
- '("GDBusAuthObserver*" "observer")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "destination_bus_name")
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
+ '("const-gchar*" "signal_name")
+ '("GVariant*" "parameters")
+ '("GError**" "error")
)
)
-(define-function g_dbus_connection_new_finish
- (c-name "g_dbus_connection_new_finish")
- (return-type "GDBusConnection*")
+(define-method export_action_group
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_export_action_group")
+ (return-type "guint")
(parameters
- '("GAsyncResult*" "res")
+ '("const-gchar*" "object_path")
+ '("GActionGroup*" "action_group")
'("GError**" "error")
)
)
-(define-function g_dbus_connection_new_sync
- (c-name "g_dbus_connection_new_sync")
- (return-type "GDBusConnection*")
+(define-method export_menu_model
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_export_menu_model")
+ (return-type "guint")
(parameters
- '("GIOStream*" "stream")
- '("const-gchar*" "guid")
- '("GDBusConnectionFlags" "flags")
- '("GDBusAuthObserver*" "observer")
- '("GCancellable*" "cancellable")
+ '("const-gchar*" "object_path")
+ '("GMenuModel*" "menu")
'("GError**" "error")
)
)
-(define-function g_dbus_connection_new_for_address
- (c-name "g_dbus_connection_new_for_address")
- (return-type "none")
+(define-method flush
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_flush")
+ (return-type "void")
(parameters
- '("const-gchar*" "address")
- '("GDBusConnectionFlags" "flags")
- '("GDBusAuthObserver*" "observer")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-function g_dbus_connection_new_for_address_finish
- (c-name "g_dbus_connection_new_for_address_finish")
- (return-type "GDBusConnection*")
+(define-method flush_finish
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_flush_finish")
+ (return-type "gboolean")
(parameters
'("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-function g_dbus_connection_new_for_address_sync
- (c-name "g_dbus_connection_new_for_address_sync")
- (return-type "GDBusConnection*")
+(define-method flush_sync
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_flush_sync")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "address")
- '("GDBusConnectionFlags" "flags")
- '("GDBusAuthObserver*" "observer")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method start_message_processing
+(define-method get_capabilities
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_start_message_processing")
- (return-type "none")
+ (c-name "g_dbus_connection_get_capabilities")
+ (return-type "GDBusCapabilityFlags")
)
-(define-method is_closed
+(define-method get_exit_on_close
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_is_closed")
+ (c-name "g_dbus_connection_get_exit_on_close")
(return-type "gboolean")
)
-(define-method get_stream
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_get_stream")
- (return-type "GIOStream*")
-)
-
(define-method get_guid
(of-object "GDBusConnection")
(c-name "g_dbus_connection_get_guid")
(return-type "const-gchar*")
)
-(define-method get_unique_name
+(define-method get_last_serial
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_get_unique_name")
- (return-type "const-gchar*")
+ (c-name "g_dbus_connection_get_last_serial")
+ (return-type "guint32")
)
(define-method get_peer_credentials
@@ -4445,92 +2390,72 @@
(return-type "GCredentials*")
)
-(define-method get_last_serial
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_get_last_serial")
- (return-type "guint32")
-)
-
-(define-method get_exit_on_close
+(define-method get_stream
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_get_exit_on_close")
- (return-type "gboolean")
+ (c-name "g_dbus_connection_get_stream")
+ (return-type "GIOStream*")
)
-(define-method set_exit_on_close
+(define-method get_unique_name
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_set_exit_on_close")
- (return-type "none")
- (parameters
- '("gboolean" "exit_on_close")
- )
+ (c-name "g_dbus_connection_get_unique_name")
+ (return-type "const-gchar*")
)
-(define-method get_capabilities
+(define-method is_closed
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_get_capabilities")
- (return-type "GDBusCapabilityFlags")
+ (c-name "g_dbus_connection_is_closed")
+ (return-type "gboolean")
)
-(define-method close
+(define-method register_object
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_close")
- (return-type "none")
+ (c-name "g_dbus_connection_register_object")
+ (return-type "guint")
(parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
+ '("const-gchar*" "object_path")
+ '("GDBusInterfaceInfo*" "interface_info")
+ '("const-GDBusInterfaceVTable*" "vtable")
'("gpointer" "user_data")
- )
-)
-
-(define-method close_finish
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_close_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "res")
+ '("GDestroyNotify" "user_data_free_func")
'("GError**" "error")
)
)
-(define-method close_sync
+(define-method register_object_with_closures
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_close_sync")
- (return-type "gboolean")
+ (c-name "g_dbus_connection_register_object_with_closures")
+ (return-type "guint")
(parameters
- '("GCancellable*" "cancellable")
+ '("const-gchar*" "object_path")
+ '("GDBusInterfaceInfo*" "interface_info")
+ '("GClosure*" "method_call_closure")
+ '("GClosure*" "get_property_closure")
+ '("GClosure*" "set_property_closure")
'("GError**" "error")
)
)
-(define-method flush
+(define-method register_subtree
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_flush")
- (return-type "none")
+ (c-name "g_dbus_connection_register_subtree")
+ (return-type "guint")
(parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
+ '("const-gchar*" "object_path")
+ '("const-GDBusSubtreeVTable*" "vtable")
+ '("GDBusSubtreeFlags" "flags")
'("gpointer" "user_data")
- )
-)
-
-(define-method flush_finish
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_flush_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "res")
+ '("GDestroyNotify" "user_data_free_func")
'("GError**" "error")
)
)
-(define-method flush_sync
+(define-method remove_filter
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_flush_sync")
- (return-type "gboolean")
+ (c-name "g_dbus_connection_remove_filter")
+ (return-type "void")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("guint" "filter_id")
)
)
@@ -4549,7 +2474,7 @@
(define-method send_message_with_reply
(of-object "GDBusConnection")
(c-name "g_dbus_connection_send_message_with_reply")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusMessage*" "message")
'("GDBusSendMessageFlags" "flags")
@@ -4585,175 +2510,12 @@
)
)
-(define-method emit_signal
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_emit_signal")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "destination_bus_name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("const-gchar*" "signal_name")
- '("GVariant*" "parameters")
- '("GError**" "error")
- )
-)
-
-(define-method call
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_call")
- (return-type "none")
- (parameters
- '("const-gchar*" "bus_name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("const-gchar*" "method_name")
- '("GVariant*" "parameters")
- '("const-GVariantType*" "reply_type")
- '("GDBusCallFlags" "flags")
- '("gint" "timeout_msec")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method call_finish
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_call_finish")
- (return-type "GVariant*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-method call_sync
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_call_sync")
- (return-type "GVariant*")
- (parameters
- '("const-gchar*" "bus_name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("const-gchar*" "method_name")
- '("GVariant*" "parameters")
- '("const-GVariantType*" "reply_type")
- '("GDBusCallFlags" "flags")
- '("gint" "timeout_msec")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method call_with_unix_fd_list
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_call_with_unix_fd_list")
- (return-type "none")
- (parameters
- '("const-gchar*" "bus_name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("const-gchar*" "method_name")
- '("GVariant*" "parameters")
- '("const-GVariantType*" "reply_type")
- '("GDBusCallFlags" "flags")
- '("gint" "timeout_msec")
- '("GUnixFDList*" "fd_list")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method call_with_unix_fd_list_finish
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_call_with_unix_fd_list_finish")
- (return-type "GVariant*")
- (parameters
- '("GUnixFDList**" "out_fd_list")
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-method call_with_unix_fd_list_sync
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_call_with_unix_fd_list_sync")
- (return-type "GVariant*")
- (parameters
- '("const-gchar*" "bus_name")
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- '("const-gchar*" "method_name")
- '("GVariant*" "parameters")
- '("const-GVariantType*" "reply_type")
- '("GDBusCallFlags" "flags")
- '("gint" "timeout_msec")
- '("GUnixFDList*" "fd_list")
- '("GUnixFDList**" "out_fd_list")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method register_object
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_register_object")
- (return-type "guint")
- (parameters
- '("const-gchar*" "object_path")
- '("GDBusInterfaceInfo*" "interface_info")
- '("const-GDBusInterfaceVTable*" "vtable")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- '("GError**" "error")
- )
-)
-
-(define-method register_object_with_closures
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_register_object_with_closures")
- (return-type "guint")
- (parameters
- '("const-gchar*" "object_path")
- '("GDBusInterfaceInfo*" "interface_info")
- '("GClosure*" "method_call_closure")
- '("GClosure*" "get_property_closure")
- '("GClosure*" "set_property_closure")
- '("GError**" "error")
- )
-)
-
-(define-method unregister_object
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_unregister_object")
- (return-type "gboolean")
- (parameters
- '("guint" "registration_id")
- )
-)
-
-(define-method register_subtree
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_register_subtree")
- (return-type "guint")
- (parameters
- '("const-gchar*" "object_path")
- '("const-GDBusSubtreeVTable*" "vtable")
- '("GDBusSubtreeFlags" "flags")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- '("GError**" "error")
- )
-)
-
-(define-method unregister_subtree
+(define-method set_exit_on_close
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_unregister_subtree")
- (return-type "gboolean")
+ (c-name "g_dbus_connection_set_exit_on_close")
+ (return-type "void")
(parameters
- '("guint" "registration_id")
+ '("gboolean" "exit_on_close")
)
)
@@ -4777,188 +2539,142 @@
(define-method signal_unsubscribe
(of-object "GDBusConnection")
(c-name "g_dbus_connection_signal_unsubscribe")
- (return-type "none")
+ (return-type "void")
(parameters
'("guint" "subscription_id")
)
)
-(define-method add_filter
+(define-method start_message_processing
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_add_filter")
- (return-type "guint")
- (parameters
- '("GDBusMessageFilterFunction" "filter_function")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- )
+ (c-name "g_dbus_connection_start_message_processing")
+ (return-type "void")
)
-(define-method remove_filter
+(define-method unexport_action_group
(of-object "GDBusConnection")
- (c-name "g_dbus_connection_remove_filter")
- (return-type "none")
- (parameters
- '("guint" "filter_id")
- )
-)
-
-
-
-;; From gdbus-daemon-generated.h
-
-
-
-;; From gdbusdaemon.h
-
-
-
-;; From gdbuserror.h
-
-(define-function g_dbus_error_quark
- (c-name "g_dbus_error_quark")
- (return-type "GQuark")
-)
-
-(define-function g_dbus_error_is_remote_error
- (c-name "g_dbus_error_is_remote_error")
- (return-type "gboolean")
+ (c-name "g_dbus_connection_unexport_action_group")
+ (return-type "void")
(parameters
- '("const-GError*" "error")
+ '("guint" "export_id")
)
)
-(define-function g_dbus_error_get_remote_error
- (c-name "g_dbus_error_get_remote_error")
- (return-type "gchar*")
+(define-method unexport_menu_model
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_unexport_menu_model")
+ (return-type "void")
(parameters
- '("const-GError*" "error")
+ '("guint" "export_id")
)
)
-(define-function g_dbus_error_strip_remote_error
- (c-name "g_dbus_error_strip_remote_error")
+(define-method unregister_object
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_unregister_object")
(return-type "gboolean")
(parameters
- '("GError*" "error")
+ '("guint" "registration_id")
)
)
-(define-function g_dbus_error_register_error
- (c-name "g_dbus_error_register_error")
+(define-method unregister_subtree
+ (of-object "GDBusConnection")
+ (c-name "g_dbus_connection_unregister_subtree")
(return-type "gboolean")
(parameters
- '("GQuark" "error_domain")
- '("gint" "error_code")
- '("const-gchar*" "dbus_error_name")
+ '("guint" "registration_id")
)
)
-(define-function g_dbus_error_unregister_error
- (c-name "g_dbus_error_unregister_error")
- (return-type "gboolean")
- (parameters
- '("GQuark" "error_domain")
- '("gint" "error_code")
- '("const-gchar*" "dbus_error_name")
- )
+(define-method cache_build
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_cache_build")
+ (return-type "void")
)
-(define-function g_dbus_error_register_error_domain
- (c-name "g_dbus_error_register_error_domain")
- (return-type "none")
- (parameters
- '("const-gchar*" "error_domain_quark_name")
- '("volatile-gsize*" "quark_volatile")
- '("const-GDBusErrorEntry*" "entries")
- '("guint" "num_entries")
- )
+(define-method cache_release
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_cache_release")
+ (return-type "void")
)
-(define-function g_dbus_error_new_for_dbus_error
- (c-name "g_dbus_error_new_for_dbus_error")
- (return-type "GError*")
+(define-method generate_xml
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_generate_xml")
+ (return-type "void")
(parameters
- '("const-gchar*" "dbus_error_name")
- '("const-gchar*" "dbus_error_message")
+ '("guint" "indent")
+ '("GString*" "string_builder")
)
)
-(define-function g_dbus_error_set_dbus_error
- (c-name "g_dbus_error_set_dbus_error")
- (return-type "none")
+(define-method lookup_method
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_lookup_method")
+ (return-type "GDBusMethodInfo*")
(parameters
- '("GError**" "error")
- '("const-gchar*" "dbus_error_name")
- '("const-gchar*" "dbus_error_message")
- '("const-gchar*" "format")
+ '("const-gchar*" "name")
)
- (varargs #t)
)
-(define-function g_dbus_error_set_dbus_error_valist
- (c-name "g_dbus_error_set_dbus_error_valist")
- (return-type "none")
+(define-method lookup_property
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_lookup_property")
+ (return-type "GDBusPropertyInfo*")
(parameters
- '("GError**" "error")
- '("const-gchar*" "dbus_error_name")
- '("const-gchar*" "dbus_error_message")
- '("const-gchar*" "format")
- '("va_list" "var_args")
+ '("const-gchar*" "name")
)
)
-(define-function g_dbus_error_encode_gerror
- (c-name "g_dbus_error_encode_gerror")
- (return-type "gchar*")
+(define-method lookup_signal
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_lookup_signal")
+ (return-type "GDBusSignalInfo*")
(parameters
- '("const-GError*" "error")
+ '("const-gchar*" "name")
)
)
-
-
-;; From gdbusinterface.h
-
-(define-function g_dbus_interface_get_type
- (c-name "g_dbus_interface_get_type")
- (return-type "GType")
-)
-
-(define-method get_info
- (of-object "GDBusInterface")
- (c-name "g_dbus_interface_get_info")
+(define-method ref
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_ref")
(return-type "GDBusInterfaceInfo*")
)
-(define-method get_object
- (of-object "GDBusInterface")
- (c-name "g_dbus_interface_get_object")
- (return-type "GDBusObject*")
+(define-method unref
+ (of-object "GDBusInterfaceInfo")
+ (c-name "g_dbus_interface_info_unref")
+ (return-type "void")
)
-(define-method set_object
- (of-object "GDBusInterface")
- (c-name "g_dbus_interface_set_object")
- (return-type "none")
+(define-method export
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_export")
+ (return-type "gboolean")
(parameters
- '("GDBusObject*" "object")
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "object_path")
+ '("GError**" "error")
)
)
-(define-method dup_object
- (of-object "GDBusInterface")
- (c-name "g_dbus_interface_dup_object")
- (return-type "GDBusObject*")
+(define-method flush
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_flush")
+ (return-type "void")
)
+(define-method get_connection
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_connection")
+ (return-type "GDBusConnection*")
+)
-
-;; From gdbusinterfaceskeleton.h
-
-(define-function g_dbus_interface_skeleton_get_type
- (c-name "g_dbus_interface_skeleton_get_type")
- (return-type "GType")
+(define-method get_connections
+ (of-object "GDBusInterfaceSkeleton")
+ (c-name "g_dbus_interface_skeleton_get_connections")
+ (return-type "GList*")
)
(define-method get_flags
@@ -4967,25 +2683,16 @@
(return-type "GDBusInterfaceSkeletonFlags")
)
-(define-method set_flags
- (of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_set_flags")
- (return-type "none")
- (parameters
- '("GDBusInterfaceSkeletonFlags" "flags")
- )
-)
-
(define-method get_info
(of-object "GDBusInterfaceSkeleton")
(c-name "g_dbus_interface_skeleton_get_info")
(return-type "GDBusInterfaceInfo*")
)
-(define-method get_vtable
+(define-method get_object_path
(of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_get_vtable")
- (return-type "GDBusInterfaceVTable*")
+ (c-name "g_dbus_interface_skeleton_get_object_path")
+ (return-type "const-gchar*")
)
(define-method get_properties
@@ -4994,344 +2701,253 @@
(return-type "GVariant*")
)
-(define-method flush
+(define-method get_vtable
(of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_flush")
- (return-type "none")
+ (c-name "g_dbus_interface_skeleton_get_vtable")
+ (return-type "GDBusInterfaceVTable*")
)
-(define-method export
+(define-method has_connection
(of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_export")
+ (c-name "g_dbus_interface_skeleton_has_connection")
(return-type "gboolean")
(parameters
'("GDBusConnection*" "connection")
- '("const-gchar*" "object_path")
- '("GError**" "error")
)
)
-(define-method unexport
- (of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_unexport")
- (return-type "none")
-)
-
-(define-method unexport_from_connection
+(define-method set_flags
(of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_unexport_from_connection")
- (return-type "none")
+ (c-name "g_dbus_interface_skeleton_set_flags")
+ (return-type "void")
(parameters
- '("GDBusConnection*" "connection")
+ '("GDBusInterfaceSkeletonFlags" "flags")
)
)
-(define-method get_connection
- (of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_get_connection")
- (return-type "GDBusConnection*")
-)
-
-(define-method get_connections
+(define-method unexport
(of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_get_connections")
- (return-type "GList*")
+ (c-name "g_dbus_interface_skeleton_unexport")
+ (return-type "void")
)
-(define-method has_connection
+(define-method unexport_from_connection
(of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_has_connection")
- (return-type "gboolean")
+ (c-name "g_dbus_interface_skeleton_unexport_from_connection")
+ (return-type "void")
(parameters
'("GDBusConnection*" "connection")
)
)
-(define-method get_object_path
- (of-object "GDBusInterfaceSkeleton")
- (c-name "g_dbus_interface_skeleton_get_object_path")
- (return-type "const-gchar*")
-)
-
-
-
-;; From gdbusintrospection.h
-
-(define-function g_dbus_annotation_info_lookup
- (c-name "g_dbus_annotation_info_lookup")
- (return-type "const-gchar*")
+(define-function g_dbus_menu_model_get
+ (c-name "g_dbus_menu_model_get")
+ (return-type "GDBusMenuModel*")
(parameters
- '("GDBusAnnotationInfo**" "annotations")
- '("const-gchar*" "name")
+ '("GDBusConnection*" "connection")
+ '("const-gchar*" "bus_name")
+ '("const-gchar*" "object_path")
)
)
-(define-method lookup_method
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_lookup_method")
- (return-type "GDBusMethodInfo*")
- (parameters
- '("const-gchar*" "name")
- )
+(define-function g_dbus_message_new
+ (c-name "g_dbus_message_new")
+ (return-type "GDBusMessage*")
)
-(define-method lookup_signal
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_lookup_signal")
- (return-type "GDBusSignalInfo*")
+(define-function g_dbus_message_new_from_blob
+ (c-name "g_dbus_message_new_from_blob")
+ (return-type "GDBusMessage*")
(parameters
- '("const-gchar*" "name")
+ '("guchar*" "blob")
+ '("gsize" "blob_len")
+ '("GDBusCapabilityFlags" "capabilities")
+ '("GError**" "error")
)
)
-(define-method lookup_property
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_lookup_property")
- (return-type "GDBusPropertyInfo*")
+(define-function g_dbus_message_new_method_call
+ (c-name "g_dbus_message_new_method_call")
+ (return-type "GDBusMessage*")
(parameters
'("const-gchar*" "name")
+ '("const-gchar*" "path")
+ '("const-gchar*" "interface_")
+ '("const-gchar*" "method")
)
)
-(define-method cache_build
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_cache_build")
- (return-type "none")
-)
-
-(define-method cache_release
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_cache_release")
- (return-type "none")
-)
-
-(define-method generate_xml
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_generate_xml")
- (return-type "none")
+(define-function g_dbus_message_new_signal
+ (c-name "g_dbus_message_new_signal")
+ (return-type "GDBusMessage*")
(parameters
- '("guint" "indent")
- '("GString*" "string_builder")
+ '("const-gchar*" "path")
+ '("const-gchar*" "interface_")
+ '("const-gchar*" "signal")
)
)
-(define-function g_dbus_node_info_new_for_xml
- (c-name "g_dbus_node_info_new_for_xml")
- (return-type "GDBusNodeInfo*")
+(define-function g_dbus_message_bytes_needed
+ (c-name "g_dbus_message_bytes_needed")
+ (return-type "gssize")
(parameters
- '("const-gchar*" "xml_data")
+ '("guchar*" "blob")
+ '("gsize" "blob_len")
'("GError**" "error")
)
)
-(define-method lookup_interface
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_lookup_interface")
- (return-type "GDBusInterfaceInfo*")
- (parameters
- '("const-gchar*" "name")
- )
-)
-
-(define-method generate_xml
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_generate_xml")
- (return-type "none")
+(define-method copy
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_copy")
+ (return-type "GDBusMessage*")
(parameters
- '("guint" "indent")
- '("GString*" "string_builder")
+ '("GError**" "error")
)
)
-(define-method ref
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_ref")
- (return-type "GDBusNodeInfo*")
-)
-
-(define-method ref
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_ref")
- (return-type "GDBusInterfaceInfo*")
-)
-
-(define-method ref
- (of-object "GDBusMethodInfo")
- (c-name "g_dbus_method_info_ref")
- (return-type "GDBusMethodInfo*")
-)
-
-(define-method ref
- (of-object "GDBusSignalInfo")
- (c-name "g_dbus_signal_info_ref")
- (return-type "GDBusSignalInfo*")
-)
-
-(define-method ref
- (of-object "GDBusPropertyInfo")
- (c-name "g_dbus_property_info_ref")
- (return-type "GDBusPropertyInfo*")
-)
-
-(define-method ref
- (of-object "GDBusArgInfo")
- (c-name "g_dbus_arg_info_ref")
- (return-type "GDBusArgInfo*")
-)
-
-(define-method ref
- (of-object "GDBusAnnotationInfo")
- (c-name "g_dbus_annotation_info_ref")
- (return-type "GDBusAnnotationInfo*")
+(define-method get_arg0
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_arg0")
+ (return-type "const-gchar*")
)
-(define-method unref
- (of-object "GDBusNodeInfo")
- (c-name "g_dbus_node_info_unref")
- (return-type "none")
+(define-method get_body
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_body")
+ (return-type "GVariant*")
)
-(define-method unref
- (of-object "GDBusInterfaceInfo")
- (c-name "g_dbus_interface_info_unref")
- (return-type "none")
+(define-method get_byte_order
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_byte_order")
+ (return-type "GDBusMessageByteOrder")
)
-(define-method unref
- (of-object "GDBusMethodInfo")
- (c-name "g_dbus_method_info_unref")
- (return-type "none")
+(define-method get_destination
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_destination")
+ (return-type "const-gchar*")
)
-(define-method unref
- (of-object "GDBusSignalInfo")
- (c-name "g_dbus_signal_info_unref")
- (return-type "none")
+(define-method get_error_name
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_error_name")
+ (return-type "const-gchar*")
)
-(define-method unref
- (of-object "GDBusPropertyInfo")
- (c-name "g_dbus_property_info_unref")
- (return-type "none")
+(define-method get_flags
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_flags")
+ (return-type "GDBusMessageFlags")
)
-(define-method unref
- (of-object "GDBusArgInfo")
- (c-name "g_dbus_arg_info_unref")
- (return-type "none")
+(define-method get_header
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_header")
+ (return-type "GVariant*")
+ (parameters
+ '("GDBusMessageHeaderField" "header_field")
+ )
)
-(define-method unref
- (of-object "GDBusAnnotationInfo")
- (c-name "g_dbus_annotation_info_unref")
- (return-type "none")
+(define-method get_header_fields
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_header_fields")
+ (return-type "guchar*")
)
-(define-function g_dbus_node_info_get_type
- (c-name "g_dbus_node_info_get_type")
- (return-type "GType")
+(define-method get_interface
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_interface")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_interface_info_get_type
- (c-name "g_dbus_interface_info_get_type")
- (return-type "GType")
+(define-method get_locked
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_locked")
+ (return-type "gboolean")
)
-(define-function g_dbus_method_info_get_type
- (c-name "g_dbus_method_info_get_type")
- (return-type "GType")
+(define-method get_member
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_member")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_signal_info_get_type
- (c-name "g_dbus_signal_info_get_type")
- (return-type "GType")
+(define-method get_message_type
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_message_type")
+ (return-type "GDBusMessageType")
)
-(define-function g_dbus_property_info_get_type
- (c-name "g_dbus_property_info_get_type")
- (return-type "GType")
+(define-method get_num_unix_fds
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_num_unix_fds")
+ (return-type "guint32")
)
-(define-function g_dbus_arg_info_get_type
- (c-name "g_dbus_arg_info_get_type")
- (return-type "GType")
+(define-method get_path
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_path")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_annotation_info_get_type
- (c-name "g_dbus_annotation_info_get_type")
- (return-type "GType")
+(define-method get_reply_serial
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_reply_serial")
+ (return-type "guint32")
)
-
-
-;; From gdbusmenumodel.h
-
-(define-function g_dbus_menu_model_get_type
- (c-name "g_dbus_menu_model_get_type")
- (return-type "GType")
+(define-method get_sender
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_sender")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_menu_model_get
- (c-name "g_dbus_menu_model_get")
- (return-type "GDBusMenuModel*")
- (parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "bus_name")
- '("const-gchar*" "object_path")
- )
+(define-method get_serial
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_serial")
+ (return-type "guint32")
)
-
-
-;; From gdbusmessage.h
-
-(define-function g_dbus_message_get_type
- (c-name "g_dbus_message_get_type")
- (return-type "GType")
+(define-method get_signature
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_signature")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_message_new
- (c-name "g_dbus_message_new")
- (is-constructor-of "GDbusMessage")
- (return-type "GDBusMessage*")
+(define-method get_unix_fd_list
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_get_unix_fd_list")
+ (return-type "GUnixFDList*")
)
-(define-function g_dbus_message_new_signal
- (c-name "g_dbus_message_new_signal")
- (return-type "GDBusMessage*")
- (parameters
- '("const-gchar*" "path")
- '("const-gchar*" "interface_")
- '("const-gchar*" "signal")
- )
+(define-method lock
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_lock")
+ (return-type "void")
)
-(define-function g_dbus_message_new_method_call
- (c-name "g_dbus_message_new_method_call")
+(define-method new_method_error
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_new_method_error")
(return-type "GDBusMessage*")
(parameters
- '("const-gchar*" "name")
- '("const-gchar*" "path")
- '("const-gchar*" "interface_")
- '("const-gchar*" "method")
+ '("const-gchar*" "error_name")
+ '("const-gchar*" "error_message_format")
+ '("..." "...")
)
)
-(define-method new_method_reply
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_new_method_reply")
- (return-type "GDBusMessage*")
-)
-
-(define-method new_method_error
+(define-method new_method_error_literal
(of-object "GDBusMessage")
- (c-name "g_dbus_message_new_method_error")
+ (c-name "g_dbus_message_new_method_error_literal")
(return-type "GDBusMessage*")
(parameters
'("const-gchar*" "error_name")
- '("const-gchar*" "error_message_format")
+ '("const-gchar*" "error_message")
)
- (varargs #t)
)
(define-method new_method_error_valist
@@ -5345,14 +2961,10 @@
)
)
-(define-method new_method_error_literal
+(define-method new_method_reply
(of-object "GDBusMessage")
- (c-name "g_dbus_message_new_method_error_literal")
+ (c-name "g_dbus_message_new_method_reply")
(return-type "GDBusMessage*")
- (parameters
- '("const-gchar*" "error_name")
- '("const-gchar*" "error_message")
- )
)
(define-method print
@@ -5364,301 +2976,148 @@
)
)
-(define-method get_locked
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_locked")
- (return-type "gboolean")
-)
-
-(define-method lock
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_lock")
- (return-type "none")
-)
-
-(define-method copy
+(define-method set_body
(of-object "GDBusMessage")
- (c-name "g_dbus_message_copy")
- (return-type "GDBusMessage*")
+ (c-name "g_dbus_message_set_body")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("GVariant*" "body")
)
)
-(define-method get_byte_order
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_byte_order")
- (return-type "GDBusMessageByteOrder")
-)
-
(define-method set_byte_order
(of-object "GDBusMessage")
(c-name "g_dbus_message_set_byte_order")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusMessageByteOrder" "byte_order")
)
)
-(define-method get_message_type
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_message_type")
- (return-type "GDBusMessageType")
-)
-
-(define-method set_message_type
+(define-method set_destination
(of-object "GDBusMessage")
- (c-name "g_dbus_message_set_message_type")
- (return-type "none")
+ (c-name "g_dbus_message_set_destination")
+ (return-type "void")
(parameters
- '("GDBusMessageType" "type")
+ '("const-gchar*" "value")
)
)
-(define-method get_flags
+(define-method set_error_name
(of-object "GDBusMessage")
- (c-name "g_dbus_message_get_flags")
- (return-type "GDBusMessageFlags")
+ (c-name "g_dbus_message_set_error_name")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "value")
+ )
)
(define-method set_flags
(of-object "GDBusMessage")
(c-name "g_dbus_message_set_flags")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusMessageFlags" "flags")
)
)
-(define-method get_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_serial")
- (return-type "guint32")
-)
-
-(define-method set_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_serial")
- (return-type "none")
- (parameters
- '("guint32" "serial")
- )
-)
-
-(define-method get_header
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_header")
- (return-type "GVariant*")
- (parameters
- '("GDBusMessageHeaderField" "header_field")
- )
-)
-
(define-method set_header
(of-object "GDBusMessage")
(c-name "g_dbus_message_set_header")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusMessageHeaderField" "header_field")
'("GVariant*" "value")
)
)
-(define-method get_header_fields
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_header_fields")
- (return-type "guchar*")
-)
-
-(define-method get_body
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_body")
- (return-type "GVariant*")
-)
-
-(define-method set_body
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_body")
- (return-type "none")
- (parameters
- '("GVariant*" "body")
- )
-)
-
-(define-method get_unix_fd_list
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_unix_fd_list")
- (return-type "GUnixFDList*")
-)
-
-(define-method set_unix_fd_list
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_unix_fd_list")
- (return-type "none")
- (parameters
- '("GUnixFDList*" "fd_list")
- )
-)
-
-(define-method get_reply_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_reply_serial")
- (return-type "guint32")
-)
-
-(define-method set_reply_serial
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_set_reply_serial")
- (return-type "none")
- (parameters
- '("guint32" "value")
- )
-)
-
-(define-method get_interface
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_interface")
- (return-type "const-gchar*")
-)
-
(define-method set_interface
(of-object "GDBusMessage")
(c-name "g_dbus_message_set_interface")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "value")
)
)
-(define-method get_member
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_member")
- (return-type "const-gchar*")
-)
-
(define-method set_member
(of-object "GDBusMessage")
(c-name "g_dbus_message_set_member")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "value")
)
)
-(define-method get_path
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_path")
- (return-type "const-gchar*")
-)
-
-(define-method set_path
+(define-method set_message_type
(of-object "GDBusMessage")
- (c-name "g_dbus_message_set_path")
- (return-type "none")
+ (c-name "g_dbus_message_set_message_type")
+ (return-type "void")
(parameters
- '("const-gchar*" "value")
+ '("GDBusMessageType" "type")
)
)
-(define-method get_sender
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_sender")
- (return-type "const-gchar*")
-)
-
-(define-method set_sender
+(define-method set_num_unix_fds
(of-object "GDBusMessage")
- (c-name "g_dbus_message_set_sender")
- (return-type "none")
+ (c-name "g_dbus_message_set_num_unix_fds")
+ (return-type "void")
(parameters
- '("const-gchar*" "value")
+ '("guint32" "value")
)
)
-(define-method get_destination
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_destination")
- (return-type "const-gchar*")
-)
-
-(define-method set_destination
+(define-method set_path
(of-object "GDBusMessage")
- (c-name "g_dbus_message_set_destination")
- (return-type "none")
+ (c-name "g_dbus_message_set_path")
+ (return-type "void")
(parameters
'("const-gchar*" "value")
)
)
-(define-method get_error_name
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_error_name")
- (return-type "const-gchar*")
-)
-
-(define-method set_error_name
+(define-method set_reply_serial
(of-object "GDBusMessage")
- (c-name "g_dbus_message_set_error_name")
- (return-type "none")
+ (c-name "g_dbus_message_set_reply_serial")
+ (return-type "void")
(parameters
- '("const-gchar*" "value")
+ '("guint32" "value")
)
)
-(define-method get_signature
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_signature")
- (return-type "const-gchar*")
-)
-
-(define-method set_signature
+(define-method set_sender
(of-object "GDBusMessage")
- (c-name "g_dbus_message_set_signature")
- (return-type "none")
+ (c-name "g_dbus_message_set_sender")
+ (return-type "void")
(parameters
'("const-gchar*" "value")
)
)
-(define-method get_num_unix_fds
- (of-object "GDBusMessage")
- (c-name "g_dbus_message_get_num_unix_fds")
- (return-type "guint32")
-)
-
-(define-method set_num_unix_fds
+(define-method set_serial
(of-object "GDBusMessage")
- (c-name "g_dbus_message_set_num_unix_fds")
- (return-type "none")
+ (c-name "g_dbus_message_set_serial")
+ (return-type "void")
(parameters
- '("guint32" "value")
+ '("guint32" "serial")
)
)
-(define-method get_arg0
+(define-method set_signature
(of-object "GDBusMessage")
- (c-name "g_dbus_message_get_arg0")
- (return-type "const-gchar*")
-)
-
-(define-function g_dbus_message_new_from_blob
- (c-name "g_dbus_message_new_from_blob")
- (return-type "GDBusMessage*")
+ (c-name "g_dbus_message_set_signature")
+ (return-type "void")
(parameters
- '("guchar*" "blob")
- '("gsize" "blob_len")
- '("GDBusCapabilityFlags" "capabilities")
- '("GError**" "error")
+ '("const-gchar*" "value")
)
)
-(define-function g_dbus_message_bytes_needed
- (c-name "g_dbus_message_bytes_needed")
- (return-type "gssize")
+(define-method set_unix_fd_list
+ (of-object "GDBusMessage")
+ (c-name "g_dbus_message_set_unix_fd_list")
+ (return-type "void")
(parameters
- '("guchar*" "blob")
- '("gsize" "blob_len")
- '("GError**" "error")
+ '("GUnixFDList*" "fd_list")
)
)
@@ -5682,25 +3141,22 @@
)
)
-
-
-;; From gdbusmethodinvocation.h
-
-(define-function g_dbus_method_invocation_get_type
- (c-name "g_dbus_method_invocation_get_type")
- (return-type "GType")
+(define-method ref
+ (of-object "GDBusMethodInfo")
+ (c-name "g_dbus_method_info_ref")
+ (return-type "GDBusMethodInfo*")
)
-(define-method get_sender
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_sender")
- (return-type "const-gchar*")
+(define-method unref
+ (of-object "GDBusMethodInfo")
+ (c-name "g_dbus_method_info_unref")
+ (return-type "void")
)
-(define-method get_object_path
+(define-method get_connection
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_object_path")
- (return-type "const-gchar*")
+ (c-name "g_dbus_method_invocation_get_connection")
+ (return-type "GDBusConnection*")
)
(define-method get_interface_name
@@ -5709,10 +3165,10 @@
(return-type "const-gchar*")
)
-(define-method get_method_name
+(define-method get_message
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_method_name")
- (return-type "const-gchar*")
+ (c-name "g_dbus_method_invocation_get_message")
+ (return-type "GDBusMessage*")
)
(define-method get_method_info
@@ -5721,22 +3177,16 @@
(return-type "const-GDBusMethodInfo*")
)
-(define-method get_property_info
- (of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_property_info")
- (return-type "const-GDBusPropertyInfo*")
-)
-
-(define-method get_connection
+(define-method get_method_name
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_connection")
- (return-type "GDBusConnection*")
+ (c-name "g_dbus_method_invocation_get_method_name")
+ (return-type "const-gchar*")
)
-(define-method get_message
+(define-method get_object_path
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_message")
- (return-type "GDBusMessage*")
+ (c-name "g_dbus_method_invocation_get_object_path")
+ (return-type "const-gchar*")
)
(define-method get_parameters
@@ -5745,268 +3195,169 @@
(return-type "GVariant*")
)
-(define-method get_user_data
+(define-method get_property_info
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_get_user_data")
- (return-type "gpointer")
+ (c-name "g_dbus_method_invocation_get_property_info")
+ (return-type "const-GDBusPropertyInfo*")
)
-(define-method return_value
+(define-method get_sender
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_value")
- (return-type "none")
- (parameters
- '("GVariant*" "parameters")
- )
+ (c-name "g_dbus_method_invocation_get_sender")
+ (return-type "const-gchar*")
)
-(define-method return_value_with_unix_fd_list
+(define-method get_user_data
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_value_with_unix_fd_list")
- (return-type "none")
+ (c-name "g_dbus_method_invocation_get_user_data")
+ (return-type "gpointer")
+)
+
+(define-method return_dbus_error
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_return_dbus_error")
+ (return-type "void")
(parameters
- '("GVariant*" "parameters")
- '("GUnixFDList*" "fd_list")
+ '("const-gchar*" "error_name")
+ '("const-gchar*" "error_message")
)
)
(define-method return_error
(of-object "GDBusMethodInvocation")
(c-name "g_dbus_method_invocation_return_error")
- (return-type "none")
+ (return-type "void")
(parameters
'("GQuark" "domain")
'("gint" "code")
'("const-gchar*" "format")
+ '("..." "...")
)
- (varargs #t)
)
-(define-method return_error_valist
+(define-method return_error_literal
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_error_valist")
- (return-type "none")
+ (c-name "g_dbus_method_invocation_return_error_literal")
+ (return-type "void")
(parameters
'("GQuark" "domain")
'("gint" "code")
- '("const-gchar*" "format")
- '("va_list" "var_args")
+ '("const-gchar*" "message")
)
)
-(define-method return_error_literal
+(define-method return_error_valist
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_error_literal")
- (return-type "none")
+ (c-name "g_dbus_method_invocation_return_error_valist")
+ (return-type "void")
(parameters
'("GQuark" "domain")
'("gint" "code")
- '("const-gchar*" "message")
+ '("const-gchar*" "format")
+ '("va_list" "var_args")
)
)
(define-method return_gerror
(of-object "GDBusMethodInvocation")
(c-name "g_dbus_method_invocation_return_gerror")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-GError*" "error")
)
)
-(define-method take_error
+(define-method return_value
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_take_error")
- (return-type "none")
+ (c-name "g_dbus_method_invocation_return_value")
+ (return-type "void")
(parameters
- '("GError*" "error")
+ '("GVariant*" "parameters")
)
)
-(define-method return_dbus_error
+(define-method return_value_with_unix_fd_list
(of-object "GDBusMethodInvocation")
- (c-name "g_dbus_method_invocation_return_dbus_error")
- (return-type "none")
- (parameters
- '("const-gchar*" "error_name")
- '("const-gchar*" "error_message")
- )
-)
-
-
-
-;; From gdbusnameowning.h
-
-(define-function g_bus_own_name
- (c-name "g_bus_own_name")
- (return-type "guint")
- (parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GBusAcquiredCallback" "bus_acquired_handler")
- '("GBusNameAcquiredCallback" "name_acquired_handler")
- '("GBusNameLostCallback" "name_lost_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- )
-)
-
-(define-function g_bus_own_name_on_connection
- (c-name "g_bus_own_name_on_connection")
- (return-type "guint")
- (parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GBusNameAcquiredCallback" "name_acquired_handler")
- '("GBusNameLostCallback" "name_lost_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
- )
-)
-
-(define-function g_bus_own_name_with_closures
- (c-name "g_bus_own_name_with_closures")
- (return-type "guint")
+ (c-name "g_dbus_method_invocation_return_value_with_unix_fd_list")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GClosure*" "bus_acquired_closure")
- '("GClosure*" "name_acquired_closure")
- '("GClosure*" "name_lost_closure")
+ '("GVariant*" "parameters")
+ '("GUnixFDList*" "fd_list")
)
)
-(define-function g_bus_own_name_on_connection_with_closures
- (c-name "g_bus_own_name_on_connection_with_closures")
- (return-type "guint")
+(define-method take_error
+ (of-object "GDBusMethodInvocation")
+ (c-name "g_dbus_method_invocation_take_error")
+ (return-type "void")
(parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameOwnerFlags" "flags")
- '("GClosure*" "name_acquired_closure")
- '("GClosure*" "name_lost_closure")
+ '("GError*" "error")
)
)
-(define-function g_bus_unown_name
- (c-name "g_bus_unown_name")
- (return-type "none")
+(define-function g_dbus_node_info_new_for_xml
+ (c-name "g_dbus_node_info_new_for_xml")
+ (return-type "GDBusNodeInfo*")
(parameters
- '("guint" "owner_id")
+ '("const-gchar*" "xml_data")
+ '("GError**" "error")
)
)
-
-
-;; From gdbusnamewatching.h
-
-(define-function g_bus_watch_name
- (c-name "g_bus_watch_name")
- (return-type "guint")
+(define-method generate_xml
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_generate_xml")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GBusNameAppearedCallback" "name_appeared_handler")
- '("GBusNameVanishedCallback" "name_vanished_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
+ '("guint" "indent")
+ '("GString*" "string_builder")
)
)
-(define-function g_bus_watch_name_on_connection
- (c-name "g_bus_watch_name_on_connection")
- (return-type "guint")
+(define-method lookup_interface
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_lookup_interface")
+ (return-type "GDBusInterfaceInfo*")
(parameters
- '("GDBusConnection*" "connection")
'("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GBusNameAppearedCallback" "name_appeared_handler")
- '("GBusNameVanishedCallback" "name_vanished_handler")
- '("gpointer" "user_data")
- '("GDestroyNotify" "user_data_free_func")
)
)
-(define-function g_bus_watch_name_with_closures
- (c-name "g_bus_watch_name_with_closures")
- (return-type "guint")
- (parameters
- '("GBusType" "bus_type")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GClosure*" "name_appeared_closure")
- '("GClosure*" "name_vanished_closure")
- )
+(define-method ref
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_ref")
+ (return-type "GDBusNodeInfo*")
)
-(define-function g_bus_watch_name_on_connection_with_closures
- (c-name "g_bus_watch_name_on_connection_with_closures")
- (return-type "guint")
- (parameters
- '("GDBusConnection*" "connection")
- '("const-gchar*" "name")
- '("GBusNameWatcherFlags" "flags")
- '("GClosure*" "name_appeared_closure")
- '("GClosure*" "name_vanished_closure")
- )
+(define-method unref
+ (of-object "GDBusNodeInfo")
+ (c-name "g_dbus_node_info_unref")
+ (return-type "void")
)
-(define-function g_bus_unwatch_name
- (c-name "g_bus_unwatch_name")
- (return-type "none")
+(define-function g_dbus_object_manager_client_new_finish
+ (c-name "g_dbus_object_manager_client_new_finish")
+ (return-type "GDBusObjectManager*")
(parameters
- '("guint" "watcher_id")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-
-
-;; From gdbusobject.h
-
-(define-function g_dbus_object_get_type
- (c-name "g_dbus_object_get_type")
- (return-type "GType")
-)
-
-(define-method get_object_path
- (of-object "GDBusObject")
- (c-name "g_dbus_object_get_object_path")
- (return-type "const-gchar*")
-)
-
-(define-method get_interfaces
- (of-object "GDBusObject")
- (c-name "g_dbus_object_get_interfaces")
- (return-type "GList*")
-)
-
-(define-method get_interface
- (of-object "GDBusObject")
- (c-name "g_dbus_object_get_interface")
- (return-type "GDBusInterface*")
+(define-function g_dbus_object_manager_client_new_for_bus_finish
+ (c-name "g_dbus_object_manager_client_new_for_bus_finish")
+ (return-type "GDBusObjectManager*")
(parameters
- '("const-gchar*" "interface_name")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-
-
-;; From gdbusobjectmanagerclient.h
-
-(define-function g_dbus_object_manager_client_get_type
- (c-name "g_dbus_object_manager_client_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_object_manager_client_new
- (c-name "g_dbus_object_manager_client_new")
- (return-type "none")
+(define-function g_dbus_object_manager_client_new_for_bus_sync
+ (c-name "g_dbus_object_manager_client_new_for_bus_sync")
+ (return-type "GDBusObjectManager*")
(parameters
- '("GDBusConnection*" "connection")
+ '("GBusType" "bus_type")
'("GDBusObjectManagerClientFlags" "flags")
'("const-gchar*" "name")
'("const-gchar*" "object_path")
@@ -6014,16 +3365,6 @@
'("gpointer" "get_proxy_type_user_data")
'("GDestroyNotify" "get_proxy_type_destroy_notify")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-function g_dbus_object_manager_client_new_finish
- (c-name "g_dbus_object_manager_client_new_finish")
- (return-type "GDBusObjectManager*")
- (parameters
- '("GAsyncResult*" "res")
'("GError**" "error")
)
)
@@ -6044,11 +3385,11 @@
)
)
-(define-function g_dbus_object_manager_client_new_for_bus
- (c-name "g_dbus_object_manager_client_new_for_bus")
- (return-type "none")
+(define-function g_dbus_object_manager_client_new
+ (c-name "g_dbus_object_manager_client_new")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
+ '("GDBusConnection*" "connection")
'("GDBusObjectManagerClientFlags" "flags")
'("const-gchar*" "name")
'("const-gchar*" "object_path")
@@ -6061,18 +3402,9 @@
)
)
-(define-function g_dbus_object_manager_client_new_for_bus_finish
- (c-name "g_dbus_object_manager_client_new_for_bus_finish")
- (return-type "GDBusObjectManager*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-function g_dbus_object_manager_client_new_for_bus_sync
- (c-name "g_dbus_object_manager_client_new_for_bus_sync")
- (return-type "GDBusObjectManager*")
+(define-function g_dbus_object_manager_client_new_for_bus
+ (c-name "g_dbus_object_manager_client_new_for_bus")
+ (return-type "void")
(parameters
'("GBusType" "bus_type")
'("GDBusObjectManagerClientFlags" "flags")
@@ -6082,7 +3414,8 @@
'("gpointer" "get_proxy_type_user_data")
'("GDestroyNotify" "get_proxy_type_destroy_notify")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
@@ -6110,83 +3443,18 @@
(return-type "gchar*")
)
-
-
-;; From gdbusobjectmanager.h
-
-(define-function g_dbus_object_manager_get_type
- (c-name "g_dbus_object_manager_get_type")
- (return-type "GType")
-)
-
-(define-method get_object_path
- (of-object "GDBusObjectManager")
- (c-name "g_dbus_object_manager_get_object_path")
- (return-type "const-gchar*")
-)
-
-(define-method get_objects
- (of-object "GDBusObjectManager")
- (c-name "g_dbus_object_manager_get_objects")
- (return-type "GList*")
-)
-
-(define-method get_object
- (of-object "GDBusObjectManager")
- (c-name "g_dbus_object_manager_get_object")
- (return-type "GDBusObject*")
- (parameters
- '("const-gchar*" "object_path")
- )
-)
-
-(define-method get_interface
- (of-object "GDBusObjectManager")
- (c-name "g_dbus_object_manager_get_interface")
- (return-type "GDBusInterface*")
- (parameters
- '("const-gchar*" "object_path")
- '("const-gchar*" "interface_name")
- )
-)
-
-
-
-;; From gdbusobjectmanagerserver.h
-
-(define-function g_dbus_object_manager_server_get_type
- (c-name "g_dbus_object_manager_server_get_type")
- (return-type "GType")
-)
-
(define-function g_dbus_object_manager_server_new
(c-name "g_dbus_object_manager_server_new")
- (is-constructor-of "GDbusObjectManagerServer")
(return-type "GDBusObjectManagerServer*")
(parameters
'("const-gchar*" "object_path")
)
)
-(define-method get_connection
- (of-object "GDBusObjectManagerServer")
- (c-name "g_dbus_object_manager_server_get_connection")
- (return-type "GDBusConnection*")
-)
-
-(define-method set_connection
- (of-object "GDBusObjectManagerServer")
- (c-name "g_dbus_object_manager_server_set_connection")
- (return-type "none")
- (parameters
- '("GDBusConnection*" "connection")
- )
-)
-
(define-method export
(of-object "GDBusObjectManagerServer")
(c-name "g_dbus_object_manager_server_export")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusObjectSkeleton*" "object")
)
@@ -6195,12 +3463,18 @@
(define-method export_uniquely
(of-object "GDBusObjectManagerServer")
(c-name "g_dbus_object_manager_server_export_uniquely")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusObjectSkeleton*" "object")
)
)
+(define-method get_connection
+ (of-object "GDBusObjectManagerServer")
+ (c-name "g_dbus_object_manager_server_get_connection")
+ (return-type "GDBusConnection*")
+)
+
(define-method is_exported
(of-object "GDBusObjectManagerServer")
(c-name "g_dbus_object_manager_server_is_exported")
@@ -6210,6 +3484,15 @@
)
)
+(define-method set_connection
+ (of-object "GDBusObjectManagerServer")
+ (c-name "g_dbus_object_manager_server_set_connection")
+ (return-type "void")
+ (parameters
+ '("GDBusConnection*" "connection")
+ )
+)
+
(define-method unexport
(of-object "GDBusObjectManagerServer")
(c-name "g_dbus_object_manager_server_unexport")
@@ -6219,18 +3502,8 @@
)
)
-
-
-;; From gdbusobjectproxy.h
-
-(define-function g_dbus_object_proxy_get_type
- (c-name "g_dbus_object_proxy_get_type")
- (return-type "GType")
-)
-
(define-function g_dbus_object_proxy_new
(c-name "g_dbus_object_proxy_new")
- (is-constructor-of "GDbusObjectProxy")
(return-type "GDBusObjectProxy*")
(parameters
'("GDBusConnection*" "connection")
@@ -6244,43 +3517,33 @@
(return-type "GDBusConnection*")
)
-
-
-;; From gdbusobjectskeleton.h
-
-(define-function g_dbus_object_skeleton_get_type
- (c-name "g_dbus_object_skeleton_get_type")
- (return-type "GType")
-)
-
(define-function g_dbus_object_skeleton_new
(c-name "g_dbus_object_skeleton_new")
- (is-constructor-of "GDbusObjectSkeleton")
(return-type "GDBusObjectSkeleton*")
(parameters
'("const-gchar*" "object_path")
)
)
-(define-method flush
- (of-object "GDBusObjectSkeleton")
- (c-name "g_dbus_object_skeleton_flush")
- (return-type "none")
-)
-
(define-method add_interface
(of-object "GDBusObjectSkeleton")
(c-name "g_dbus_object_skeleton_add_interface")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusInterfaceSkeleton*" "interface_")
)
)
+(define-method flush
+ (of-object "GDBusObjectSkeleton")
+ (c-name "g_dbus_object_skeleton_flush")
+ (return-type "void")
+)
+
(define-method remove_interface
(of-object "GDBusObjectSkeleton")
(c-name "g_dbus_object_skeleton_remove_interface")
- (return-type "none")
+ (return-type "void")
(parameters
'("GDBusInterfaceSkeleton*" "interface_")
)
@@ -6289,7 +3552,7 @@
(define-method remove_interface_by_name
(of-object "GDBusObjectSkeleton")
(c-name "g_dbus_object_skeleton_remove_interface_by_name")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "interface_name")
)
@@ -6298,42 +3561,53 @@
(define-method set_object_path
(of-object "GDBusObjectSkeleton")
(c-name "g_dbus_object_skeleton_set_object_path")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "object_path")
)
)
+(define-method ref
+ (of-object "GDBusPropertyInfo")
+ (c-name "g_dbus_property_info_ref")
+ (return-type "GDBusPropertyInfo*")
+)
+(define-method unref
+ (of-object "GDBusPropertyInfo")
+ (c-name "g_dbus_property_info_unref")
+ (return-type "void")
+)
-;; From gdbusproxy.h
+(define-function g_dbus_proxy_new_finish
+ (c-name "g_dbus_proxy_new_finish")
+ (return-type "GDBusProxy*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
+)
-(define-function g_dbus_proxy_get_type
- (c-name "g_dbus_proxy_get_type")
- (return-type "GType")
+(define-function g_dbus_proxy_new_for_bus_finish
+ (c-name "g_dbus_proxy_new_for_bus_finish")
+ (return-type "GDBusProxy*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-function g_dbus_proxy_new
- (c-name "g_dbus_proxy_new")
- (return-type "none")
+(define-function g_dbus_proxy_new_for_bus_sync
+ (c-name "g_dbus_proxy_new_for_bus_sync")
+ (return-type "GDBusProxy*")
(parameters
- '("GDBusConnection*" "connection")
+ '("GBusType" "bus_type")
'("GDBusProxyFlags" "flags")
'("GDBusInterfaceInfo*" "info")
'("const-gchar*" "name")
'("const-gchar*" "object_path")
'("const-gchar*" "interface_name")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-function g_dbus_proxy_new_finish
- (c-name "g_dbus_proxy_new_finish")
- (return-type "GDBusProxy*")
- (parameters
- '("GAsyncResult*" "res")
'("GError**" "error")
)
)
@@ -6353,11 +3627,11 @@
)
)
-(define-function g_dbus_proxy_new_for_bus
- (c-name "g_dbus_proxy_new_for_bus")
- (return-type "none")
+(define-function g_dbus_proxy_new
+ (c-name "g_dbus_proxy_new")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
+ '("GDBusConnection*" "connection")
'("GDBusProxyFlags" "flags")
'("GDBusInterfaceInfo*" "info")
'("const-gchar*" "name")
@@ -6369,18 +3643,9 @@
)
)
-(define-function g_dbus_proxy_new_for_bus_finish
- (c-name "g_dbus_proxy_new_for_bus_finish")
- (return-type "GDBusProxy*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-function g_dbus_proxy_new_for_bus_sync
- (c-name "g_dbus_proxy_new_for_bus_sync")
- (return-type "GDBusProxy*")
+(define-function g_dbus_proxy_new_for_bus
+ (c-name "g_dbus_proxy_new_for_bus")
+ (return-type "void")
(parameters
'("GBusType" "bus_type")
'("GDBusProxyFlags" "flags")
@@ -6389,105 +3654,15 @@
'("const-gchar*" "object_path")
'("const-gchar*" "interface_name")
'("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method get_connection
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_connection")
- (return-type "GDBusConnection*")
-)
-
-(define-method get_flags
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_flags")
- (return-type "GDBusProxyFlags")
-)
-
-(define-method get_name
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_name")
- (return-type "const-gchar*")
-)
-
-(define-method get_name_owner
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_name_owner")
- (return-type "gchar*")
-)
-
-(define-method get_object_path
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_object_path")
- (return-type "const-gchar*")
-)
-
-(define-method get_interface_name
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_interface_name")
- (return-type "const-gchar*")
-)
-
-(define-method get_default_timeout
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_default_timeout")
- (return-type "gint")
-)
-
-(define-method set_default_timeout
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_set_default_timeout")
- (return-type "none")
- (parameters
- '("gint" "timeout_msec")
- )
-)
-
-(define-method get_interface_info
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_interface_info")
- (return-type "GDBusInterfaceInfo*")
-)
-
-(define-method set_interface_info
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_set_interface_info")
- (return-type "none")
- (parameters
- '("GDBusInterfaceInfo*" "info")
- )
-)
-
-(define-method get_cached_property
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_cached_property")
- (return-type "GVariant*")
- (parameters
- '("const-gchar*" "property_name")
- )
-)
-
-(define-method set_cached_property
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_set_cached_property")
- (return-type "none")
- (parameters
- '("const-gchar*" "property_name")
- '("GVariant*" "value")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_cached_property_names
- (of-object "GDBusProxy")
- (c-name "g_dbus_proxy_get_cached_property_names")
- (return-type "gchar**")
-)
-
(define-method call
(of-object "GDBusProxy")
(c-name "g_dbus_proxy_call")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "method_name")
'("GVariant*" "parameters")
@@ -6526,7 +3701,7 @@
(define-method call_with_unix_fd_list
(of-object "GDBusProxy")
(c-name "g_dbus_proxy_call_with_unix_fd_list")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "method_name")
'("GVariant*" "parameters")
@@ -6566,2226 +3741,875 @@
)
)
-
-
-;; From gdbusserver.h
-
-(define-function g_dbus_server_get_type
- (c-name "g_dbus_server_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_server_new_sync
- (c-name "g_dbus_server_new_sync")
- (return-type "GDBusServer*")
+(define-method get_cached_property
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_cached_property")
+ (return-type "GVariant*")
(parameters
- '("const-gchar*" "address")
- '("GDBusServerFlags" "flags")
- '("const-gchar*" "guid")
- '("GDBusAuthObserver*" "observer")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "property_name")
)
)
-(define-method get_client_address
- (of-object "GDBusServer")
- (c-name "g_dbus_server_get_client_address")
- (return-type "const-gchar*")
+(define-method get_cached_property_names
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_cached_property_names")
+ (return-type "gchar**")
)
-(define-method get_guid
- (of-object "GDBusServer")
- (c-name "g_dbus_server_get_guid")
- (return-type "const-gchar*")
+(define-method get_connection
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_connection")
+ (return-type "GDBusConnection*")
)
-(define-method get_flags
- (of-object "GDBusServer")
- (c-name "g_dbus_server_get_flags")
- (return-type "GDBusServerFlags")
+(define-method get_default_timeout
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_default_timeout")
+ (return-type "gint")
)
-(define-method start
- (of-object "GDBusServer")
- (c-name "g_dbus_server_start")
- (return-type "none")
+(define-method get_flags
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_flags")
+ (return-type "GDBusProxyFlags")
)
-(define-method stop
- (of-object "GDBusServer")
- (c-name "g_dbus_server_stop")
- (return-type "none")
+(define-method get_interface_info
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_interface_info")
+ (return-type "GDBusInterfaceInfo*")
)
-(define-method is_active
- (of-object "GDBusServer")
- (c-name "g_dbus_server_is_active")
- (return-type "gboolean")
+(define-method get_interface_name
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_interface_name")
+ (return-type "const-gchar*")
)
-
-
-;; From gdbusutils.h
-
-(define-function g_dbus_is_guid
- (c-name "g_dbus_is_guid")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "string")
- )
+(define-method get_name
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_name")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_generate_guid
- (c-name "g_dbus_generate_guid")
+(define-method get_name_owner
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_name_owner")
(return-type "gchar*")
)
-(define-function g_dbus_is_name
- (c-name "g_dbus_is_name")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "string")
- )
-)
-
-(define-function g_dbus_is_unique_name
- (c-name "g_dbus_is_unique_name")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "string")
- )
-)
-
-(define-function g_dbus_is_member_name
- (c-name "g_dbus_is_member_name")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "string")
- )
-)
-
-(define-function g_dbus_is_interface_name
- (c-name "g_dbus_is_interface_name")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "string")
- )
+(define-method get_object_path
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_get_object_path")
+ (return-type "const-gchar*")
)
-(define-function g_dbus_gvariant_to_gvalue
- (c-name "g_dbus_gvariant_to_gvalue")
- (return-type "none")
+(define-method set_cached_property
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_set_cached_property")
+ (return-type "void")
(parameters
+ '("const-gchar*" "property_name")
'("GVariant*" "value")
- '("GValue*" "out_gvalue")
- )
-)
-
-(define-function g_dbus_gvalue_to_gvariant
- (c-name "g_dbus_gvalue_to_gvariant")
- (return-type "GVariant*")
- (parameters
- '("const-GValue*" "gvalue")
- '("const-GVariantType*" "type")
- )
-)
-
-
-
-;; From gdelayedsettingsbackend.h
-
-(define-function g_delayed_settings_backend_get_type
- (c-name "g_delayed_settings_backend_get_type")
- (return-type "GType")
-)
-
-(define-function g_delayed_settings_backend_new
- (c-name "g_delayed_settings_backend_new")
- (is-constructor-of "GDelayedSettingsBackend")
- (return-type "GDelayedSettingsBackend*")
- (parameters
- '("GSettingsBackend*" "backend")
- '("gpointer" "owner")
- '("GMainContext*" "owner_context")
)
)
-(define-method revert
- (of-object "GDelayedSettingsBackend")
- (c-name "g_delayed_settings_backend_revert")
- (return-type "none")
-)
-
-(define-method apply
- (of-object "GDelayedSettingsBackend")
- (c-name "g_delayed_settings_backend_apply")
- (return-type "none")
-)
-
-(define-method get_has_unapplied
- (of-object "GDelayedSettingsBackend")
- (c-name "g_delayed_settings_backend_get_has_unapplied")
- (return-type "gboolean")
-)
-
-
-
-;; From gdesktopappinfo.h
-
-(define-function g_desktop_app_info_get_type
- (c-name "g_desktop_app_info_get_type")
- (return-type "GType")
-)
-
-(define-function g_desktop_app_info_new_from_filename
- (c-name "g_desktop_app_info_new_from_filename")
- (return-type "GDesktopAppInfo*")
+(define-method set_default_timeout
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_set_default_timeout")
+ (return-type "void")
(parameters
- '("const-char*" "filename")
+ '("gint" "timeout_msec")
)
)
-(define-function g_desktop_app_info_new_from_keyfile
- (c-name "g_desktop_app_info_new_from_keyfile")
- (return-type "GDesktopAppInfo*")
+(define-method set_interface_info
+ (of-object "GDBusProxy")
+ (c-name "g_dbus_proxy_set_interface_info")
+ (return-type "void")
(parameters
- '("GKeyFile*" "key_file")
+ '("GDBusInterfaceInfo*" "info")
)
)
-(define-method get_filename
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_filename")
- (return-type "const-char*")
-)
-
-(define-method get_generic_name
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_generic_name")
- (return-type "const-char*")
-)
-
-(define-method get_categories
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_categories")
- (return-type "const-char*")
-)
-
-(define-method get_keywords
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_keywords")
- (return-type "const-char*-const*")
-)
-
-(define-method get_nodisplay
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_nodisplay")
- (return-type "gboolean")
-)
-
-(define-method get_show_in
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_show_in")
- (return-type "gboolean")
+(define-function g_dbus_server_new_sync
+ (c-name "g_dbus_server_new_sync")
+ (return-type "GDBusServer*")
(parameters
- '("const-gchar*" "desktop_env")
+ '("const-gchar*" "address")
+ '("GDBusServerFlags" "flags")
+ '("const-gchar*" "guid")
+ '("GDBusAuthObserver*" "observer")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_startup_wm_class
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_startup_wm_class")
- (return-type "const-char*")
-)
-
-(define-function g_desktop_app_info_new
- (c-name "g_desktop_app_info_new")
- (is-constructor-of "GDesktopAppInfo")
- (return-type "GDesktopAppInfo*")
- (parameters
- '("const-char*" "desktop_id")
- )
+(define-method get_client_address
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_get_client_address")
+ (return-type "const-gchar*")
)
-(define-method get_is_hidden
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_is_hidden")
- (return-type "gboolean")
+(define-method get_flags
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_get_flags")
+ (return-type "GDBusServerFlags")
)
-(define-function g_desktop_app_info_set_desktop_env
- (c-name "g_desktop_app_info_set_desktop_env")
- (return-type "none")
- (parameters
- '("const-char*" "desktop_env")
- )
+(define-method get_guid
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_get_guid")
+ (return-type "const-gchar*")
)
-(define-method has_key
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_has_key")
+(define-method is_active
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_is_active")
(return-type "gboolean")
- (parameters
- '("const-char*" "key")
- )
)
-(define-method get_string
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_string")
- (return-type "char*")
- (parameters
- '("const-char*" "key")
- )
+(define-method start
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_start")
+ (return-type "void")
)
-(define-method get_boolean
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_boolean")
- (return-type "gboolean")
- (parameters
- '("const-char*" "key")
- )
+(define-method stop
+ (of-object "GDBusServer")
+ (c-name "g_dbus_server_stop")
+ (return-type "void")
)
-(define-method list_actions
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_list_actions")
- (return-type "const-gchar*-const*")
+(define-method ref
+ (of-object "GDBusSignalInfo")
+ (c-name "g_dbus_signal_info_ref")
+ (return-type "GDBusSignalInfo*")
)
-(define-method launch_action
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_launch_action")
- (return-type "none")
- (parameters
- '("const-gchar*" "action_name")
- '("GAppLaunchContext*" "launch_context")
- )
+(define-method unref
+ (of-object "GDBusSignalInfo")
+ (c-name "g_dbus_signal_info_unref")
+ (return-type "void")
)
-(define-method get_action_name
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_get_action_name")
- (return-type "gchar*")
+(define-function g_data_input_stream_new
+ (c-name "g_data_input_stream_new")
+ (return-type "GDataInputStream*")
(parameters
- '("const-gchar*" "action_name")
+ '("GInputStream*" "base_stream")
)
)
-(define-function g_desktop_app_info_lookup_get_type
- (c-name "g_desktop_app_info_lookup_get_type")
- (return-type "GType")
+(define-method get_byte_order
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_get_byte_order")
+ (return-type "GDataStreamByteOrder")
)
-(define-method get_default_for_uri_scheme
- (of-object "GDesktopAppInfoLookup")
- (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme")
- (return-type "GAppInfo*")
- (parameters
- '("const-char*" "uri_scheme")
- )
+(define-method get_newline_type
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_get_newline_type")
+ (return-type "GDataStreamNewlineType")
)
-(define-method launch_uris_as_manager
- (of-object "GDesktopAppInfo")
- (c-name "g_desktop_app_info_launch_uris_as_manager")
- (return-type "gboolean")
+(define-method read_byte
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_byte")
+ (return-type "guchar")
(parameters
- '("GList*" "uris")
- '("GAppLaunchContext*" "launch_context")
- '("GSpawnFlags" "spawn_flags")
- '("GSpawnChildSetupFunc" "user_setup")
- '("gpointer" "user_setup_data")
- '("GDesktopAppLaunchCallback" "pid_callback")
- '("gpointer" "pid_callback_data")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_desktop_app_info_search
- (c-name "g_desktop_app_info_search")
- (return-type "gchar***")
- (parameters
- '("const-gchar*" "search_string")
- )
-)
-
-(define-function g_desktop_app_info_get_implementations
- (c-name "g_desktop_app_info_get_implementations")
- (return-type "GList*")
- (parameters
- '("const-gchar*" "interface")
- )
-)
-
-
-
-;; From gdocumentportal.h
-
-(define-function g_document_portal_add_document
- (c-name "g_document_portal_add_document")
- (return-type "char*")
+(define-method read_int16
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_int16")
+ (return-type "gint16")
(parameters
- '("GFile*" "file")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-
-
-;; From gdrive.h
-
-(define-function g_drive_get_type
- (c-name "g_drive_get_type")
- (return-type "GType")
-)
-
-(define-method get_name
- (of-object "GDrive")
- (c-name "g_drive_get_name")
- (return-type "char*")
-)
-
-(define-method get_icon
- (of-object "GDrive")
- (c-name "g_drive_get_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_symbolic_icon
- (of-object "GDrive")
- (c-name "g_drive_get_symbolic_icon")
- (return-type "GIcon*")
-)
-
-(define-method has_volumes
- (of-object "GDrive")
- (c-name "g_drive_has_volumes")
- (return-type "gboolean")
-)
-
-(define-method get_volumes
- (of-object "GDrive")
- (c-name "g_drive_get_volumes")
- (return-type "GList*")
-)
-
-(define-method is_removable
- (of-object "GDrive")
- (c-name "g_drive_is_removable")
- (return-type "gboolean")
-)
-
-(define-method is_media_removable
- (of-object "GDrive")
- (c-name "g_drive_is_media_removable")
- (return-type "gboolean")
-)
-
-(define-method has_media
- (of-object "GDrive")
- (c-name "g_drive_has_media")
- (return-type "gboolean")
-)
-
-(define-method is_media_check_automatic
- (of-object "GDrive")
- (c-name "g_drive_is_media_check_automatic")
- (return-type "gboolean")
-)
-
-(define-method can_poll_for_media
- (of-object "GDrive")
- (c-name "g_drive_can_poll_for_media")
- (return-type "gboolean")
-)
-
-(define-method can_eject
- (of-object "GDrive")
- (c-name "g_drive_can_eject")
- (return-type "gboolean")
-)
-
-(define-method eject
- (of-object "GDrive")
- (c-name "g_drive_eject")
- (return-type "none")
+(define-method read_int32
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_int32")
+ (return-type "gint32")
(parameters
- '("GMountUnmountFlags" "flags")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method eject_finish
- (of-object "GDrive")
- (c-name "g_drive_eject_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method poll_for_media
- (of-object "GDrive")
- (c-name "g_drive_poll_for_media")
- (return-type "none")
+(define-method read_int64
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_int64")
+ (return-type "gint64")
(parameters
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method poll_for_media_finish
- (of-object "GDrive")
- (c-name "g_drive_poll_for_media_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method get_identifier
- (of-object "GDrive")
- (c-name "g_drive_get_identifier")
+(define-method read_line
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_line")
(return-type "char*")
(parameters
- '("const-char*" "kind")
- )
-)
-
-(define-method enumerate_identifiers
- (of-object "GDrive")
- (c-name "g_drive_enumerate_identifiers")
- (return-type "char**")
-)
-
-(define-method get_start_stop_type
- (of-object "GDrive")
- (c-name "g_drive_get_start_stop_type")
- (return-type "GDriveStartStopType")
-)
-
-(define-method can_start
- (of-object "GDrive")
- (c-name "g_drive_can_start")
- (return-type "gboolean")
-)
-
-(define-method can_start_degraded
- (of-object "GDrive")
- (c-name "g_drive_can_start_degraded")
- (return-type "gboolean")
-)
-
-(define-method start
- (of-object "GDrive")
- (c-name "g_drive_start")
- (return-type "none")
- (parameters
- '("GDriveStartFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("gsize*" "length")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method start_finish
- (of-object "GDrive")
- (c-name "g_drive_start_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method can_stop
- (of-object "GDrive")
- (c-name "g_drive_can_stop")
- (return-type "gboolean")
-)
-
-(define-method stop
- (of-object "GDrive")
- (c-name "g_drive_stop")
- (return-type "none")
+(define-method read_line_async
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_line_async")
+ (return-type "void")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("gint" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method stop_finish
- (of-object "GDrive")
- (c-name "g_drive_stop_finish")
- (return-type "gboolean")
+(define-method read_line_finish
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_line_finish")
+ (return-type "char*")
(parameters
'("GAsyncResult*" "result")
+ '("gsize*" "length")
'("GError**" "error")
)
)
-(define-method eject_with_operation
- (of-object "GDrive")
- (c-name "g_drive_eject_with_operation")
- (return-type "none")
- (parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method eject_with_operation_finish
- (of-object "GDrive")
- (c-name "g_drive_eject_with_operation_finish")
- (return-type "gboolean")
+(define-method read_line_finish_utf8
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_line_finish_utf8")
+ (return-type "char*")
(parameters
'("GAsyncResult*" "result")
+ '("gsize*" "length")
'("GError**" "error")
)
)
-(define-method get_sort_key
- (of-object "GDrive")
- (c-name "g_drive_get_sort_key")
- (return-type "const-gchar*")
-)
-
-
-
-;; From gdtlsclientconnection.h
-
-(define-function g_dtls_client_connection_get_type
- (c-name "g_dtls_client_connection_get_type")
- (return-type "GType")
-)
-
-(define-function g_dtls_client_connection_new
- (c-name "g_dtls_client_connection_new")
- (is-constructor-of "GDtlsClientConnection")
- (return-type "GDatagramBased*")
- (parameters
- '("GDatagramBased*" "base_socket")
- '("GSocketConnectable*" "server_identity")
- '("GError**" "error")
- )
-)
-
-(define-method get_validation_flags
- (of-object "GDtlsClientConnection")
- (c-name "g_dtls_client_connection_get_validation_flags")
- (return-type "GTlsCertificateFlags")
-)
-
-(define-method set_validation_flags
- (of-object "GDtlsClientConnection")
- (c-name "g_dtls_client_connection_set_validation_flags")
- (return-type "none")
- (parameters
- '("GTlsCertificateFlags" "flags")
- )
-)
-
-(define-method get_server_identity
- (of-object "GDtlsClientConnection")
- (c-name "g_dtls_client_connection_get_server_identity")
- (return-type "GSocketConnectable*")
-)
-
-(define-method set_server_identity
- (of-object "GDtlsClientConnection")
- (c-name "g_dtls_client_connection_set_server_identity")
- (return-type "none")
- (parameters
- '("GSocketConnectable*" "identity")
- )
-)
-
-(define-method get_accepted_cas
- (of-object "GDtlsClientConnection")
- (c-name "g_dtls_client_connection_get_accepted_cas")
- (return-type "GList*")
-)
-
-
-
-;; From gdtlsconnection.h
-
-(define-function g_dtls_connection_get_type
- (c-name "g_dtls_connection_get_type")
- (return-type "GType")
-)
-
-(define-method set_database
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_set_database")
- (return-type "none")
- (parameters
- '("GTlsDatabase*" "database")
- )
-)
-
-(define-method get_database
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_get_database")
- (return-type "GTlsDatabase*")
-)
-
-(define-method set_certificate
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_set_certificate")
- (return-type "none")
- (parameters
- '("GTlsCertificate*" "certificate")
- )
-)
-
-(define-method get_certificate
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_get_certificate")
- (return-type "GTlsCertificate*")
-)
-
-(define-method set_interaction
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_set_interaction")
- (return-type "none")
- (parameters
- '("GTlsInteraction*" "interaction")
- )
-)
-
-(define-method get_interaction
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_get_interaction")
- (return-type "GTlsInteraction*")
-)
-
-(define-method get_peer_certificate
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_get_peer_certificate")
- (return-type "GTlsCertificate*")
-)
-
-(define-method get_peer_certificate_errors
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_get_peer_certificate_errors")
- (return-type "GTlsCertificateFlags")
-)
-
-(define-method set_require_close_notify
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_set_require_close_notify")
- (return-type "none")
- (parameters
- '("gboolean" "require_close_notify")
- )
-)
-
-(define-method get_require_close_notify
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_get_require_close_notify")
- (return-type "gboolean")
-)
-
-(define-method set_rehandshake_mode
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_set_rehandshake_mode")
- (return-type "none")
- (parameters
- '("GTlsRehandshakeMode" "mode")
- )
-)
-
-(define-method get_rehandshake_mode
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_get_rehandshake_mode")
- (return-type "GTlsRehandshakeMode")
-)
-
-(define-method handshake
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_handshake")
- (return-type "gboolean")
+(define-method read_line_utf8
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_line_utf8")
+ (return-type "char*")
(parameters
+ '("gsize*" "length")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method handshake_async
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_handshake_async")
- (return-type "none")
+(define-method read_uint16
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_uint16")
+ (return-type "guint16")
(parameters
- '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method handshake_finish
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_handshake_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method shutdown
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_shutdown")
- (return-type "gboolean")
+(define-method read_uint32
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_uint32")
+ (return-type "guint32")
(parameters
- '("gboolean" "shutdown_read")
- '("gboolean" "shutdown_write")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method shutdown_async
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_shutdown_async")
- (return-type "none")
+(define-method read_uint64
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_uint64")
+ (return-type "guint64")
(parameters
- '("gboolean" "shutdown_read")
- '("gboolean" "shutdown_write")
- '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method shutdown_finish
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_shutdown_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method close
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_close")
- (return-type "gboolean")
+(define-method read_until
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_until")
+ (return-type "char*")
(parameters
+ '("const-gchar*" "stop_chars")
+ '("gsize*" "length")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method close_async
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_close_async")
- (return-type "none")
+(define-method read_until_async
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_until_async")
+ (return-type "void")
(parameters
- '("int" "io_priority")
+ '("const-gchar*" "stop_chars")
+ '("gint" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method close_finish
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_close_finish")
- (return-type "gboolean")
+(define-method read_until_finish
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_until_finish")
+ (return-type "char*")
(parameters
'("GAsyncResult*" "result")
+ '("gsize*" "length")
'("GError**" "error")
)
)
-(define-method emit_accept_certificate
- (of-object "GDtlsConnection")
- (c-name "g_dtls_connection_emit_accept_certificate")
- (return-type "gboolean")
- (parameters
- '("GTlsCertificate*" "peer_cert")
- '("GTlsCertificateFlags" "errors")
- )
-)
-
-
-
-;; From gdtlsserverconnection.h
-
-(define-function g_dtls_server_connection_get_type
- (c-name "g_dtls_server_connection_get_type")
- (return-type "GType")
-)
-
-(define-function g_dtls_server_connection_new
- (c-name "g_dtls_server_connection_new")
- (is-constructor-of "GDtlsServerConnection")
- (return-type "GDatagramBased*")
- (parameters
- '("GDatagramBased*" "base_socket")
- '("GTlsCertificate*" "certificate")
- '("GError**" "error")
- )
-)
-
-
-
-;; From gdummyfile.h
-
-
-
-;; From gdummyproxyresolver.h
-
-
-
-;; From gdummytlsbackend.h
-
-
-
-;; From gemblemedicon.h
-
-(define-function g_emblemed_icon_get_type
- (c-name "g_emblemed_icon_get_type")
- (return-type "GType")
-)
-
-(define-function g_emblemed_icon_new
- (c-name "g_emblemed_icon_new")
- (is-constructor-of "GEmblemedIcon")
- (return-type "GIcon*")
- (parameters
- '("GIcon*" "icon")
- '("GEmblem*" "emblem")
- )
-)
-
-(define-method get_icon
- (of-object "GEmblemedIcon")
- (c-name "g_emblemed_icon_get_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_emblems
- (of-object "GEmblemedIcon")
- (c-name "g_emblemed_icon_get_emblems")
- (return-type "GList*")
-)
-
-(define-method add_emblem
- (of-object "GEmblemedIcon")
- (c-name "g_emblemed_icon_add_emblem")
- (return-type "none")
- (parameters
- '("GEmblem*" "emblem")
- )
-)
-
-(define-method clear_emblems
- (of-object "GEmblemedIcon")
- (c-name "g_emblemed_icon_clear_emblems")
- (return-type "none")
-)
-
-
-
-;; From gemblem.h
-
-(define-function g_emblem_get_type
- (c-name "g_emblem_get_type")
- (return-type "GType")
-)
-
-(define-function g_emblem_new
- (c-name "g_emblem_new")
- (is-constructor-of "GEmblem")
- (return-type "GEmblem*")
- (parameters
- '("GIcon*" "icon")
- )
-)
-
-(define-function g_emblem_new_with_origin
- (c-name "g_emblem_new_with_origin")
- (return-type "GEmblem*")
- (parameters
- '("GIcon*" "icon")
- '("GEmblemOrigin" "origin")
- )
-)
-
-(define-method get_icon
- (of-object "GEmblem")
- (c-name "g_emblem_get_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_origin
- (of-object "GEmblem")
- (c-name "g_emblem_get_origin")
- (return-type "GEmblemOrigin")
-)
-
-
-
-;; From gfileattribute.h
-
-(define-function g_file_attribute_info_list_get_type
- (c-name "g_file_attribute_info_list_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_attribute_info_list_new
- (c-name "g_file_attribute_info_list_new")
- (is-constructor-of "GFileAttributeInfoList")
- (return-type "GFileAttributeInfoList*")
-)
-
-(define-method ref
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_ref")
- (return-type "GFileAttributeInfoList*")
-)
-
-(define-method unref
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_unref")
- (return-type "none")
-)
-
-(define-method dup
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_dup")
- (return-type "GFileAttributeInfoList*")
-)
-
-(define-method lookup
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_lookup")
- (return-type "const-GFileAttributeInfo*")
- (parameters
- '("const-char*" "name")
- )
-)
-
-(define-method add
- (of-object "GFileAttributeInfoList")
- (c-name "g_file_attribute_info_list_add")
- (return-type "none")
- (parameters
- '("const-char*" "name")
- '("GFileAttributeType" "type")
- '("GFileAttributeInfoFlags" "flags")
- )
-)
-
-
-
-;; From gfileattribute-priv.h
-
-
-
-;; From gfiledescriptorbased.h
-
-(define-function g_file_descriptor_based_get_type
- (c-name "g_file_descriptor_based_get_type")
- (return-type "GType")
-)
-
-(define-method get_fd
- (of-object "GFileDescriptorBased")
- (c-name "g_file_descriptor_based_get_fd")
- (return-type "int")
-)
-
-
-
-;; From gfileenumerator.h
-
-(define-function g_file_enumerator_get_type
- (c-name "g_file_enumerator_get_type")
- (return-type "GType")
-)
-
-(define-method next_file
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_next_file")
- (return-type "GFileInfo*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method close
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_close")
- (return-type "gboolean")
+(define-method read_upto
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_upto")
+ (return-type "char*")
(parameters
+ '("const-gchar*" "stop_chars")
+ '("gssize" "stop_chars_len")
+ '("gsize*" "length")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method next_files_async
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_next_files_async")
- (return-type "none")
+(define-method read_upto_async
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_upto_async")
+ (return-type "void")
(parameters
- '("int" "num_files")
- '("int" "io_priority")
+ '("const-gchar*" "stop_chars")
+ '("gssize" "stop_chars_len")
+ '("gint" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method next_files_finish
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_next_files_finish")
- (return-type "GList*")
+(define-method read_upto_finish
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_read_upto_finish")
+ (return-type "char*")
(parameters
'("GAsyncResult*" "result")
+ '("gsize*" "length")
'("GError**" "error")
)
)
-(define-method close_async
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_close_async")
- (return-type "none")
+(define-method set_byte_order
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_set_byte_order")
+ (return-type "void")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GDataStreamByteOrder" "order")
)
)
-(define-method close_finish
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_close_finish")
- (return-type "gboolean")
+(define-method set_newline_type
+ (of-object "GDataInputStream")
+ (c-name "g_data_input_stream_set_newline_type")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("GDataStreamNewlineType" "type")
)
)
-(define-method is_closed
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_is_closed")
- (return-type "gboolean")
-)
-
-(define-method has_pending
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_has_pending")
- (return-type "gboolean")
-)
-
-(define-method set_pending
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_set_pending")
- (return-type "none")
+(define-function g_data_output_stream_new
+ (c-name "g_data_output_stream_new")
+ (return-type "GDataOutputStream*")
(parameters
- '("gboolean" "pending")
+ '("GOutputStream*" "base_stream")
)
)
-(define-method get_container
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_get_container")
- (return-type "GFile*")
-)
-
-(define-method get_child
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_get_child")
- (return-type "GFile*")
- (parameters
- '("GFileInfo*" "info")
- )
+(define-method get_byte_order
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_get_byte_order")
+ (return-type "GDataStreamByteOrder")
)
-(define-method iterate
- (of-object "GFileEnumerator")
- (c-name "g_file_enumerator_iterate")
+(define-method put_byte
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_byte")
(return-type "gboolean")
(parameters
- '("GFileInfo**" "out_info")
- '("GFile**" "out_child")
+ '("guchar" "data")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-
-
-;; From gfile.h
-
-(define-function g_file_get_type
- (c-name "g_file_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_new_for_path
- (c-name "g_file_new_for_path")
- (return-type "GFile*")
- (parameters
- '("const-char*" "path")
- )
-)
-
-(define-function g_file_new_for_uri
- (c-name "g_file_new_for_uri")
- (return-type "GFile*")
- (parameters
- '("const-char*" "uri")
- )
-)
-
-(define-function g_file_new_for_commandline_arg
- (c-name "g_file_new_for_commandline_arg")
- (return-type "GFile*")
- (parameters
- '("const-char*" "arg")
- )
-)
-
-(define-function g_file_new_for_commandline_arg_and_cwd
- (c-name "g_file_new_for_commandline_arg_and_cwd")
- (return-type "GFile*")
- (parameters
- '("const-gchar*" "arg")
- '("const-gchar*" "cwd")
- )
-)
-
-(define-function g_file_new_tmp
- (c-name "g_file_new_tmp")
- (return-type "GFile*")
- (parameters
- '("const-char*" "tmpl")
- '("GFileIOStream**" "iostream")
- '("GError**" "error")
- )
-)
-
-(define-function g_file_parse_name
- (c-name "g_file_parse_name")
- (return-type "GFile*")
- (parameters
- '("const-char*" "parse_name")
- )
-)
-
-(define-method dup
- (of-object "GFile")
- (c-name "g_file_dup")
- (return-type "GFile*")
-)
-
-(define-function g_file_hash
- (c-name "g_file_hash")
- (return-type "guint")
- (parameters
- '("gconstpointer" "file")
- )
-)
-
-(define-method equal
- (of-object "GFile")
- (c-name "g_file_equal")
- (return-type "gboolean")
- (parameters
- '("GFile*" "file2")
- )
-)
-
-(define-method get_basename
- (of-object "GFile")
- (c-name "g_file_get_basename")
- (return-type "char*")
-)
-
-(define-method get_path
- (of-object "GFile")
- (c-name "g_file_get_path")
- (return-type "char*")
-)
-
-(define-method get_uri
- (of-object "GFile")
- (c-name "g_file_get_uri")
- (return-type "char*")
-)
-
-(define-method get_parse_name
- (of-object "GFile")
- (c-name "g_file_get_parse_name")
- (return-type "char*")
-)
-
-(define-method get_parent
- (of-object "GFile")
- (c-name "g_file_get_parent")
- (return-type "GFile*")
-)
-
-(define-method has_parent
- (of-object "GFile")
- (c-name "g_file_has_parent")
- (return-type "gboolean")
- (parameters
- '("GFile*" "parent")
- )
-)
-
-(define-method get_child
- (of-object "GFile")
- (c-name "g_file_get_child")
- (return-type "GFile*")
- (parameters
- '("const-char*" "name")
- )
-)
-
-(define-method get_child_for_display_name
- (of-object "GFile")
- (c-name "g_file_get_child_for_display_name")
- (return-type "GFile*")
- (parameters
- '("const-char*" "display_name")
- '("GError**" "error")
- )
-)
-
-(define-method has_prefix
- (of-object "GFile")
- (c-name "g_file_has_prefix")
- (return-type "gboolean")
- (parameters
- '("GFile*" "prefix")
- )
-)
-
-(define-method get_relative_path
- (of-object "GFile")
- (c-name "g_file_get_relative_path")
- (return-type "char*")
- (parameters
- '("GFile*" "descendant")
- )
-)
-
-(define-method resolve_relative_path
- (of-object "GFile")
- (c-name "g_file_resolve_relative_path")
- (return-type "GFile*")
- (parameters
- '("const-char*" "relative_path")
- )
-)
-
-(define-method is_native
- (of-object "GFile")
- (c-name "g_file_is_native")
- (return-type "gboolean")
-)
-
-(define-method has_uri_scheme
- (of-object "GFile")
- (c-name "g_file_has_uri_scheme")
+(define-method put_int16
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_int16")
(return-type "gboolean")
(parameters
- '("const-char*" "uri_scheme")
- )
-)
-
-(define-method get_uri_scheme
- (of-object "GFile")
- (c-name "g_file_get_uri_scheme")
- (return-type "char*")
-)
-
-(define-method read
- (of-object "GFile")
- (c-name "g_file_read")
- (return-type "GFileInputStream*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method read_async
- (of-object "GFile")
- (c-name "g_file_read_async")
- (return-type "none")
- (parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method read_finish
- (of-object "GFile")
- (c-name "g_file_read_finish")
- (return-type "GFileInputStream*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-method append_to
- (of-object "GFile")
- (c-name "g_file_append_to")
- (return-type "GFileOutputStream*")
- (parameters
- '("GFileCreateFlags" "flags")
+ '("gint16" "data")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method create
- (of-object "GFile")
- (c-name "g_file_create")
- (return-type "GFileOutputStream*")
+(define-method put_int32
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_int32")
+ (return-type "gboolean")
(parameters
- '("GFileCreateFlags" "flags")
+ '("gint32" "data")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method replace
- (of-object "GFile")
- (c-name "g_file_replace")
- (return-type "GFileOutputStream*")
+(define-method put_int64
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_int64")
+ (return-type "gboolean")
(parameters
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
+ '("gint64" "data")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method append_to_async
- (of-object "GFile")
- (c-name "g_file_append_to_async")
- (return-type "none")
+(define-method put_string
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_string")
+ (return-type "gboolean")
(parameters
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
+ '("const-char*" "str")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method append_to_finish
- (of-object "GFile")
- (c-name "g_file_append_to_finish")
- (return-type "GFileOutputStream*")
- (parameters
- '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method create_async
- (of-object "GFile")
- (c-name "g_file_create_async")
- (return-type "none")
+(define-method put_uint16
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_uint16")
+ (return-type "gboolean")
(parameters
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
+ '("guint16" "data")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method create_finish
- (of-object "GFile")
- (c-name "g_file_create_finish")
- (return-type "GFileOutputStream*")
- (parameters
- '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method replace_async
- (of-object "GFile")
- (c-name "g_file_replace_async")
- (return-type "none")
+(define-method put_uint32
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_uint32")
+ (return-type "gboolean")
(parameters
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
+ '("guint32" "data")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method replace_finish
- (of-object "GFile")
- (c-name "g_file_replace_finish")
- (return-type "GFileOutputStream*")
- (parameters
- '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method open_readwrite
- (of-object "GFile")
- (c-name "g_file_open_readwrite")
- (return-type "GFileIOStream*")
+(define-method put_uint64
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_put_uint64")
+ (return-type "gboolean")
(parameters
+ '("guint64" "data")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method open_readwrite_async
- (of-object "GFile")
- (c-name "g_file_open_readwrite_async")
- (return-type "none")
+(define-method set_byte_order
+ (of-object "GDataOutputStream")
+ (c-name "g_data_output_stream_set_byte_order")
+ (return-type "void")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GDataStreamByteOrder" "order")
)
)
-(define-method open_readwrite_finish
- (of-object "GFile")
- (c-name "g_file_open_readwrite_finish")
- (return-type "GFileIOStream*")
+(define-function g_desktop_app_info_new
+ (c-name "g_desktop_app_info_new")
+ (return-type "GDesktopAppInfo*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-char*" "desktop_id")
)
)
-(define-method create_readwrite
- (of-object "GFile")
- (c-name "g_file_create_readwrite")
- (return-type "GFileIOStream*")
+(define-function g_desktop_app_info_new_from_filename
+ (c-name "g_desktop_app_info_new_from_filename")
+ (return-type "GDesktopAppInfo*")
(parameters
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("char*" "filename")
)
)
-(define-method create_readwrite_async
- (of-object "GFile")
- (c-name "g_file_create_readwrite_async")
- (return-type "none")
+(define-function g_desktop_app_info_new_from_keyfile
+ (c-name "g_desktop_app_info_new_from_keyfile")
+ (return-type "GDesktopAppInfo*")
(parameters
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GKeyFile*" "key_file")
)
)
-(define-method create_readwrite_finish
- (of-object "GFile")
- (c-name "g_file_create_readwrite_finish")
- (return-type "GFileIOStream*")
+(define-function g_desktop_app_info_get_implementations
+ (c-name "g_desktop_app_info_get_implementations")
+ (return-type "GList*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-gchar*" "interface")
)
)
-(define-method replace_readwrite
- (of-object "GFile")
- (c-name "g_file_replace_readwrite")
- (return-type "GFileIOStream*")
+(define-function g_desktop_app_info_search
+ (c-name "g_desktop_app_info_search")
+ (return-type "gchar***")
(parameters
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "search_string")
)
)
-(define-method replace_readwrite_async
- (of-object "GFile")
- (c-name "g_file_replace_readwrite_async")
- (return-type "none")
+(define-function g_desktop_app_info_set_desktop_env
+ (c-name "g_desktop_app_info_set_desktop_env")
+ (return-type "void")
(parameters
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-char*" "desktop_env")
)
)
-(define-method replace_readwrite_finish
- (of-object "GFile")
- (c-name "g_file_replace_readwrite_finish")
- (return-type "GFileIOStream*")
+(define-method get_action_name
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_action_name")
+ (return-type "gchar*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-gchar*" "action_name")
)
)
-(define-method query_exists
- (of-object "GFile")
- (c-name "g_file_query_exists")
+(define-method get_boolean
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_boolean")
(return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- )
-)
-
-(define-method query_file_type
- (of-object "GFile")
- (c-name "g_file_query_file_type")
- (return-type "GFileType")
- (parameters
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- )
-)
-
-(define-method query_info
- (of-object "GFile")
- (c-name "g_file_query_info")
- (return-type "GFileInfo*")
- (parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method query_info_async
- (of-object "GFile")
- (c-name "g_file_query_info_async")
- (return-type "none")
- (parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method query_info_finish
- (of-object "GFile")
- (c-name "g_file_query_info_finish")
- (return-type "GFileInfo*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-method query_filesystem_info
- (of-object "GFile")
- (c-name "g_file_query_filesystem_info")
- (return-type "GFileInfo*")
- (parameters
- '("const-char*" "attributes")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method query_filesystem_info_async
- (of-object "GFile")
- (c-name "g_file_query_filesystem_info_async")
- (return-type "none")
- (parameters
- '("const-char*" "attributes")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method query_filesystem_info_finish
- (of-object "GFile")
- (c-name "g_file_query_filesystem_info_finish")
- (return-type "GFileInfo*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
-)
-
-(define-method find_enclosing_mount
- (of-object "GFile")
- (c-name "g_file_find_enclosing_mount")
- (return-type "GMount*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method find_enclosing_mount_async
- (of-object "GFile")
- (c-name "g_file_find_enclosing_mount_async")
- (return-type "none")
- (parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method find_enclosing_mount_finish
- (of-object "GFile")
- (c-name "g_file_find_enclosing_mount_finish")
- (return-type "GMount*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("const-char*" "key")
)
)
-(define-method enumerate_children
- (of-object "GFile")
- (c-name "g_file_enumerate_children")
- (return-type "GFileEnumerator*")
- (parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_categories
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_categories")
+ (return-type "const-char*")
)
-(define-method enumerate_children_async
- (of-object "GFile")
- (c-name "g_file_enumerate_children_async")
- (return-type "none")
- (parameters
- '("const-char*" "attributes")
- '("GFileQueryInfoFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_filename
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_filename")
+ (return-type "const-char*")
)
-(define-method enumerate_children_finish
- (of-object "GFile")
- (c-name "g_file_enumerate_children_finish")
- (return-type "GFileEnumerator*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
+(define-method get_generic_name
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_generic_name")
+ (return-type "const-char*")
)
-(define-method set_display_name
- (of-object "GFile")
- (c-name "g_file_set_display_name")
- (return-type "GFile*")
- (parameters
- '("const-char*" "display_name")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_is_hidden
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_is_hidden")
+ (return-type "gboolean")
)
-(define-method set_display_name_async
- (of-object "GFile")
- (c-name "g_file_set_display_name_async")
- (return-type "none")
- (parameters
- '("const-char*" "display_name")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_keywords
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_keywords")
+ (return-type "const-char*-const*")
)
-(define-method set_display_name_finish
- (of-object "GFile")
- (c-name "g_file_set_display_name_finish")
- (return-type "GFile*")
- (parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
- )
+(define-method get_nodisplay
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_nodisplay")
+ (return-type "gboolean")
)
-(define-method delete
- (of-object "GFile")
- (c-name "g_file_delete")
+(define-method get_show_in
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_show_in")
(return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "desktop_env")
)
)
-(define-method delete_async
- (of-object "GFile")
- (c-name "g_file_delete_async")
- (return-type "none")
- (parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_startup_wm_class
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_startup_wm_class")
+ (return-type "const-char*")
)
-(define-method delete_finish
- (of-object "GFile")
- (c-name "g_file_delete_finish")
- (return-type "gboolean")
+(define-method get_string
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_string")
+ (return-type "char*")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-char*" "key")
)
)
-(define-method trash
- (of-object "GFile")
- (c-name "g_file_trash")
+(define-method has_key
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_has_key")
(return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "key")
)
)
-(define-method trash_async
- (of-object "GFile")
- (c-name "g_file_trash_async")
- (return-type "none")
+(define-method launch_action
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_launch_action")
+ (return-type "void")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "action_name")
+ '("GAppLaunchContext*" "launch_context")
)
)
-(define-method trash_finish
- (of-object "GFile")
- (c-name "g_file_trash_finish")
+(define-method launch_uris_as_manager
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_launch_uris_as_manager")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
+ '("GList*" "uris")
+ '("GAppLaunchContext*" "launch_context")
+ '("GSpawnFlags" "spawn_flags")
+ '("GSpawnChildSetupFunc" "user_setup")
+ '("gpointer" "user_setup_data")
+ '("GDesktopAppLaunchCallback" "pid_callback")
+ '("gpointer" "pid_callback_data")
'("GError**" "error")
)
)
-(define-method copy
- (of-object "GFile")
- (c-name "g_file_copy")
- (return-type "gboolean")
- (parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GFileProgressCallback" "progress_callback")
- '("gpointer" "progress_callback_data")
- '("GError**" "error")
- )
+(define-method list_actions
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_list_actions")
+ (return-type "const-gchar*-const*")
)
-(define-method copy_async
- (of-object "GFile")
- (c-name "g_file_copy_async")
- (return-type "none")
+(define-function g_emblem_new
+ (c-name "g_emblem_new")
+ (return-type "GEmblem*")
(parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GFileProgressCallback" "progress_callback")
- '("gpointer" "progress_callback_data")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GIcon*" "icon")
)
)
-(define-method copy_finish
- (of-object "GFile")
- (c-name "g_file_copy_finish")
- (return-type "gboolean")
+(define-function g_emblem_new_with_origin
+ (c-name "g_emblem_new_with_origin")
+ (return-type "GEmblem*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("GIcon*" "icon")
+ '("GEmblemOrigin" "origin")
)
)
-(define-method move
- (of-object "GFile")
- (c-name "g_file_move")
- (return-type "gboolean")
- (parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GFileProgressCallback" "progress_callback")
- '("gpointer" "progress_callback_data")
- '("GError**" "error")
- )
+(define-method get_icon
+ (of-object "GEmblem")
+ (c-name "g_emblem_get_icon")
+ (return-type "GIcon*")
)
-(define-method make_directory
- (of-object "GFile")
- (c-name "g_file_make_directory")
- (return-type "gboolean")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_origin
+ (of-object "GEmblem")
+ (c-name "g_emblem_get_origin")
+ (return-type "GEmblemOrigin")
)
-(define-method make_directory_async
- (of-object "GFile")
- (c-name "g_file_make_directory_async")
- (return-type "none")
+(define-function g_emblemed_icon_new
+ (c-name "g_emblemed_icon_new")
+ (return-type "GIcon*")
(parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GIcon*" "icon")
+ '("GEmblem*" "emblem")
)
)
-(define-method make_directory_finish
- (of-object "GFile")
- (c-name "g_file_make_directory_finish")
- (return-type "gboolean")
+(define-method add_emblem
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_add_emblem")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("GEmblem*" "emblem")
)
)
-(define-method make_directory_with_parents
- (of-object "GFile")
- (c-name "g_file_make_directory_with_parents")
- (return-type "gboolean")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method clear_emblems
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_clear_emblems")
+ (return-type "void")
)
-(define-method make_symbolic_link
- (of-object "GFile")
- (c-name "g_file_make_symbolic_link")
- (return-type "gboolean")
- (parameters
- '("const-char*" "symlink_value")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_emblems
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_get_emblems")
+ (return-type "GList*")
)
-(define-method query_settable_attributes
- (of-object "GFile")
- (c-name "g_file_query_settable_attributes")
- (return-type "GFileAttributeInfoList*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_icon
+ (of-object "GEmblemedIcon")
+ (c-name "g_emblemed_icon_get_icon")
+ (return-type "GIcon*")
)
-(define-method query_writable_namespaces
- (of-object "GFile")
- (c-name "g_file_query_writable_namespaces")
+(define-function g_file_attribute_info_list_new
+ (c-name "g_file_attribute_info_list_new")
(return-type "GFileAttributeInfoList*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
)
-(define-method set_attribute
- (of-object "GFile")
- (c-name "g_file_set_attribute")
- (return-type "gboolean")
+(define-method add
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_add")
+ (return-type "void")
(parameters
- '("const-char*" "attribute")
+ '("const-char*" "name")
'("GFileAttributeType" "type")
- '("gpointer" "value_p")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GFileAttributeInfoFlags" "flags")
)
)
-(define-method set_attributes_from_info
- (of-object "GFile")
- (c-name "g_file_set_attributes_from_info")
- (return-type "gboolean")
- (parameters
- '("GFileInfo*" "info")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method dup
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_dup")
+ (return-type "GFileAttributeInfoList*")
)
-(define-method set_attributes_async
- (of-object "GFile")
- (c-name "g_file_set_attributes_async")
- (return-type "none")
+(define-method lookup
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_lookup")
+ (return-type "const-GFileAttributeInfo*")
(parameters
- '("GFileInfo*" "info")
- '("GFileQueryInfoFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("const-char*" "name")
)
)
-(define-method set_attributes_finish
- (of-object "GFile")
- (c-name "g_file_set_attributes_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GFileInfo**" "info")
- '("GError**" "error")
- )
+(define-method ref
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_ref")
+ (return-type "GFileAttributeInfoList*")
)
-(define-method set_attribute_string
- (of-object "GFile")
- (c-name "g_file_set_attribute_string")
- (return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- '("const-char*" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method unref
+ (of-object "GFileAttributeInfoList")
+ (c-name "g_file_attribute_info_list_unref")
+ (return-type "void")
)
-(define-method set_attribute_byte_string
- (of-object "GFile")
- (c-name "g_file_set_attribute_byte_string")
- (return-type "gboolean")
+(define-function g_file_attribute_matcher_new
+ (c-name "g_file_attribute_matcher_new")
+ (return-type "GFileAttributeMatcher*")
(parameters
- '("const-char*" "attribute")
- '("const-char*" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "attributes")
)
)
-(define-method set_attribute_uint32
- (of-object "GFile")
- (c-name "g_file_set_attribute_uint32")
+(define-method enumerate_namespace
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_enumerate_namespace")
(return-type "gboolean")
(parameters
- '("const-char*" "attribute")
- '("guint32" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-char*" "ns")
)
)
-(define-method set_attribute_int32
- (of-object "GFile")
- (c-name "g_file_set_attribute_int32")
- (return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- '("gint32" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method enumerate_next
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_enumerate_next")
+ (return-type "const-char*")
)
-(define-method set_attribute_uint64
- (of-object "GFile")
- (c-name "g_file_set_attribute_uint64")
+(define-method matches
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_matches")
(return-type "gboolean")
(parameters
'("const-char*" "attribute")
- '("guint64" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
)
)
-(define-method set_attribute_int64
- (of-object "GFile")
- (c-name "g_file_set_attribute_int64")
+(define-method matches_only
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_matches_only")
(return-type "gboolean")
(parameters
'("const-char*" "attribute")
- '("gint64" "value")
- '("GFileQueryInfoFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
)
)
-(define-method mount_enclosing_volume
- (of-object "GFile")
- (c-name "g_file_mount_enclosing_volume")
- (return-type "none")
- (parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method mount_enclosing_volume_finish
- (of-object "GFile")
- (c-name "g_file_mount_enclosing_volume_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+(define-method ref
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_ref")
+ (return-type "GFileAttributeMatcher*")
)
-(define-method mount_mountable
- (of-object "GFile")
- (c-name "g_file_mount_mountable")
- (return-type "none")
+(define-method subtract
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_subtract")
+ (return-type "GFileAttributeMatcher*")
(parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GFileAttributeMatcher*" "subtract")
)
)
-(define-method mount_mountable_finish
- (of-object "GFile")
- (c-name "g_file_mount_mountable_finish")
- (return-type "GFile*")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+(define-method to_string
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_to_string")
+ (return-type "char*")
)
-(define-method unmount_mountable
- (of-object "GFile")
- (c-name "g_file_unmount_mountable")
- (return-type "none")
- (parameters
- '("GMountUnmountFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method unref
+ (of-object "GFileAttributeMatcher")
+ (c-name "g_file_attribute_matcher_unref")
+ (return-type "void")
)
-(define-method unmount_mountable_finish
- (of-object "GFile")
- (c-name "g_file_unmount_mountable_finish")
+(define-method close
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_close")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-(define-method unmount_mountable_with_operation
- (of-object "GFile")
- (c-name "g_file_unmount_mountable_with_operation")
- (return-type "none")
- (parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method unmount_mountable_with_operation_finish
- (of-object "GFile")
- (c-name "g_file_unmount_mountable_with_operation_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method eject_mountable
- (of-object "GFile")
- (c-name "g_file_eject_mountable")
- (return-type "none")
+(define-method close_async
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_close_async")
+ (return-type "void")
(parameters
- '("GMountUnmountFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method eject_mountable_finish
- (of-object "GFile")
- (c-name "g_file_eject_mountable_finish")
+(define-method close_finish
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_close_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
@@ -8793,334 +4617,133 @@
)
)
-(define-method eject_mountable_with_operation
- (of-object "GFile")
- (c-name "g_file_eject_mountable_with_operation")
- (return-type "none")
+(define-method get_child
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_get_child")
+ (return-type "GFile*")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GFileInfo*" "info")
)
)
-(define-method eject_mountable_with_operation_finish
- (of-object "GFile")
- (c-name "g_file_eject_mountable_with_operation_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+(define-method get_container
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_get_container")
+ (return-type "GFile*")
)
-(define-method copy_attributes
- (of-object "GFile")
- (c-name "g_file_copy_attributes")
+(define-method has_pending
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_has_pending")
(return-type "gboolean")
- (parameters
- '("GFile*" "destination")
- '("GFileCopyFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
)
-(define-method monitor_directory
- (of-object "GFile")
- (c-name "g_file_monitor_directory")
- (return-type "GFileMonitor*")
- (parameters
- '("GFileMonitorFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method monitor_file
- (of-object "GFile")
- (c-name "g_file_monitor_file")
- (return-type "GFileMonitor*")
- (parameters
- '("GFileMonitorFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method monitor
- (of-object "GFile")
- (c-name "g_file_monitor")
- (return-type "GFileMonitor*")
- (parameters
- '("GFileMonitorFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method measure_disk_usage
- (of-object "GFile")
- (c-name "g_file_measure_disk_usage")
+(define-method is_closed
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_is_closed")
(return-type "gboolean")
- (parameters
- '("GFileMeasureFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GFileMeasureProgressCallback" "progress_callback")
- '("gpointer" "progress_data")
- '("guint64*" "disk_usage")
- '("guint64*" "num_dirs")
- '("guint64*" "num_files")
- '("GError**" "error")
- )
)
-(define-method measure_disk_usage_async
- (of-object "GFile")
- (c-name "g_file_measure_disk_usage_async")
- (return-type "none")
- (parameters
- '("GFileMeasureFlags" "flags")
- '("gint" "io_priority")
- '("GCancellable*" "cancellable")
- '("GFileMeasureProgressCallback" "progress_callback")
- '("gpointer" "progress_data")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method measure_disk_usage_finish
- (of-object "GFile")
- (c-name "g_file_measure_disk_usage_finish")
+(define-method iterate
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_iterate")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("guint64*" "disk_usage")
- '("guint64*" "num_dirs")
- '("guint64*" "num_files")
- '("GError**" "error")
- )
-)
-
-(define-method start_mountable
- (of-object "GFile")
- (c-name "g_file_start_mountable")
- (return-type "none")
- (parameters
- '("GDriveStartFlags" "flags")
- '("GMountOperation*" "start_operation")
+ '("GFileInfo**" "out_info")
+ '("GFile**" "out_child")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method start_mountable_finish
- (of-object "GFile")
- (c-name "g_file_start_mountable_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method stop_mountable
- (of-object "GFile")
- (c-name "g_file_stop_mountable")
- (return-type "none")
+(define-method next_file
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_next_file")
+ (return-type "GFileInfo*")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method stop_mountable_finish
- (of-object "GFile")
- (c-name "g_file_stop_mountable_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method poll_mountable
- (of-object "GFile")
- (c-name "g_file_poll_mountable")
- (return-type "none")
+(define-method next_files_async
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_next_files_async")
+ (return-type "void")
(parameters
+ '("int" "num_files")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method poll_mountable_finish
- (of-object "GFile")
- (c-name "g_file_poll_mountable_finish")
- (return-type "gboolean")
+(define-method next_files_finish
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_next_files_finish")
+ (return-type "GList*")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method query_default_handler
- (of-object "GFile")
- (c-name "g_file_query_default_handler")
- (return-type "GAppInfo*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method load_contents
- (of-object "GFile")
- (c-name "g_file_load_contents")
- (return-type "gboolean")
- (parameters
- '("GCancellable*" "cancellable")
- '("char**" "contents")
- '("gsize*" "length")
- '("char**" "etag_out")
- '("GError**" "error")
- )
-)
-
-(define-method load_contents_async
- (of-object "GFile")
- (c-name "g_file_load_contents_async")
- (return-type "none")
- (parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method load_contents_finish
- (of-object "GFile")
- (c-name "g_file_load_contents_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "res")
- '("char**" "contents")
- '("gsize*" "length")
- '("char**" "etag_out")
- '("GError**" "error")
- )
-)
-
-(define-method load_partial_contents_async
- (of-object "GFile")
- (c-name "g_file_load_partial_contents_async")
- (return-type "none")
+(define-method set_pending
+ (of-object "GFileEnumerator")
+ (c-name "g_file_enumerator_set_pending")
+ (return-type "void")
(parameters
- '("GCancellable*" "cancellable")
- '("GFileReadMoreCallback" "read_more_callback")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("gboolean" "pending")
)
)
-(define-method load_partial_contents_finish
- (of-object "GFile")
- (c-name "g_file_load_partial_contents_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "res")
- '("char**" "contents")
- '("gsize*" "length")
- '("char**" "etag_out")
- '("GError**" "error")
- )
+(define-method get_etag
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_get_etag")
+ (return-type "char*")
)
-(define-method replace_contents
- (of-object "GFile")
- (c-name "g_file_replace_contents")
- (return-type "gboolean")
+(define-method query_info
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_query_info")
+ (return-type "GFileInfo*")
(parameters
- '("const-char*" "contents")
- '("gsize" "length")
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("char**" "new_etag")
+ '("const-char*" "attributes")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method replace_contents_async
- (of-object "GFile")
- (c-name "g_file_replace_contents_async")
- (return-type "none")
- (parameters
- '("const-char*" "contents")
- '("gsize" "length")
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method replace_contents_bytes_async
- (of-object "GFile")
- (c-name "g_file_replace_contents_bytes_async")
- (return-type "none")
+(define-method query_info_async
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_query_info_async")
+ (return-type "void")
(parameters
- '("GBytes*" "contents")
- '("const-char*" "etag")
- '("gboolean" "make_backup")
- '("GFileCreateFlags" "flags")
+ '("const-char*" "attributes")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method replace_contents_finish
- (of-object "GFile")
- (c-name "g_file_replace_contents_finish")
- (return-type "gboolean")
+(define-method query_info_finish
+ (of-object "GFileIOStream")
+ (c-name "g_file_io_stream_query_info_finish")
+ (return-type "GFileInfo*")
(parameters
- '("GAsyncResult*" "res")
- '("char**" "new_etag")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method supports_thread_contexts
- (of-object "GFile")
- (c-name "g_file_supports_thread_contexts")
- (return-type "gboolean")
-)
-
-
-
-;; From gfileicon.h
-
-(define-function g_file_icon_get_type
- (c-name "g_file_icon_get_type")
- (return-type "GType")
-)
-
-(define-method icon_new
- (of-object "GFile")
+(define-function g_file_icon_new
(c-name "g_file_icon_new")
(return-type "GIcon*")
+ (parameters
+ '("GFile*" "file")
+ )
)
(define-method get_file
@@ -9129,110 +4752,30 @@
(return-type "GFile*")
)
-
-
-;; From gfileinfo.h
-
-(define-function g_file_info_get_type
- (c-name "g_file_info_get_type")
- (return-type "GType")
-)
-
(define-function g_file_info_new
(c-name "g_file_info_new")
- (is-constructor-of "GFileInfo")
(return-type "GFileInfo*")
)
-(define-method dup
+(define-method clear_status
(of-object "GFileInfo")
- (c-name "g_file_info_dup")
- (return-type "GFileInfo*")
+ (c-name "g_file_info_clear_status")
+ (return-type "void")
)
(define-method copy_into
(of-object "GFileInfo")
(c-name "g_file_info_copy_into")
- (return-type "none")
+ (return-type "void")
(parameters
'("GFileInfo*" "dest_info")
)
)
-(define-method has_attribute
- (of-object "GFileInfo")
- (c-name "g_file_info_has_attribute")
- (return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- )
-)
-
-(define-method has_namespace
- (of-object "GFileInfo")
- (c-name "g_file_info_has_namespace")
- (return-type "gboolean")
- (parameters
- '("const-char*" "name_space")
- )
-)
-
-(define-method list_attributes
- (of-object "GFileInfo")
- (c-name "g_file_info_list_attributes")
- (return-type "char**")
- (parameters
- '("const-char*" "name_space")
- )
-)
-
-(define-method get_attribute_data
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_data")
- (return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- '("GFileAttributeType*" "type")
- '("gpointer*" "value_pp")
- '("GFileAttributeStatus*" "status")
- )
-)
-
-(define-method get_attribute_type
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_type")
- (return-type "GFileAttributeType")
- (parameters
- '("const-char*" "attribute")
- )
-)
-
-(define-method remove_attribute
- (of-object "GFileInfo")
- (c-name "g_file_info_remove_attribute")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- )
-)
-
-(define-method get_attribute_status
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_status")
- (return-type "GFileAttributeStatus")
- (parameters
- '("const-char*" "attribute")
- )
-)
-
-(define-method set_attribute_status
+(define-method dup
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_status")
- (return-type "gboolean")
- (parameters
- '("const-char*" "attribute")
- '("GFileAttributeStatus" "status")
- )
+ (c-name "g_file_info_dup")
+ (return-type "GFileInfo*")
)
(define-method get_attribute_as_string
@@ -9244,10 +4787,10 @@
)
)
-(define-method get_attribute_string
+(define-method get_attribute_boolean
(of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_string")
- (return-type "const-char*")
+ (c-name "g_file_info_get_attribute_boolean")
+ (return-type "gboolean")
(parameters
'("const-char*" "attribute")
)
@@ -9262,21 +4805,15 @@
)
)
-(define-method get_attribute_boolean
+(define-method get_attribute_data
(of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_boolean")
+ (c-name "g_file_info_get_attribute_data")
(return-type "gboolean")
(parameters
'("const-char*" "attribute")
- )
-)
-
-(define-method get_attribute_uint32
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_uint32")
- (return-type "guint32")
- (parameters
- '("const-char*" "attribute")
+ '("GFileAttributeType*" "type")
+ '("gpointer*" "value_pp")
+ '("GFileAttributeStatus*" "status")
)
)
@@ -9289,15 +4826,6 @@
)
)
-(define-method get_attribute_uint64
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_uint64")
- (return-type "guint64")
- (parameters
- '("const-char*" "attribute")
- )
-)
-
(define-method get_attribute_int64
(of-object "GFileInfo")
(c-name "g_file_info_get_attribute_int64")
@@ -9316,126 +4844,88 @@
)
)
-(define-method get_attribute_stringv
- (of-object "GFileInfo")
- (c-name "g_file_info_get_attribute_stringv")
- (return-type "char**")
- (parameters
- '("const-char*" "attribute")
- )
-)
-
-(define-method set_attribute
- (of-object "GFileInfo")
- (c-name "g_file_info_set_attribute")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- '("GFileAttributeType" "type")
- '("gpointer" "value_p")
- )
-)
-
-(define-method set_attribute_string
+(define-method get_attribute_status
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_string")
- (return-type "none")
+ (c-name "g_file_info_get_attribute_status")
+ (return-type "GFileAttributeStatus")
(parameters
'("const-char*" "attribute")
- '("const-char*" "attr_value")
)
)
-(define-method set_attribute_byte_string
+(define-method get_attribute_string
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_byte_string")
- (return-type "none")
+ (c-name "g_file_info_get_attribute_string")
+ (return-type "const-char*")
(parameters
'("const-char*" "attribute")
- '("const-char*" "attr_value")
)
)
-(define-method set_attribute_boolean
+(define-method get_attribute_stringv
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_boolean")
- (return-type "none")
+ (c-name "g_file_info_get_attribute_stringv")
+ (return-type "char**")
(parameters
'("const-char*" "attribute")
- '("gboolean" "attr_value")
)
)
-(define-method set_attribute_uint32
+(define-method get_attribute_type
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_uint32")
- (return-type "none")
+ (c-name "g_file_info_get_attribute_type")
+ (return-type "GFileAttributeType")
(parameters
'("const-char*" "attribute")
- '("guint32" "attr_value")
)
)
-(define-method set_attribute_int32
+(define-method get_attribute_uint32
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_int32")
- (return-type "none")
+ (c-name "g_file_info_get_attribute_uint32")
+ (return-type "guint32")
(parameters
'("const-char*" "attribute")
- '("gint32" "attr_value")
)
)
-(define-method set_attribute_uint64
+(define-method get_attribute_uint64
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_uint64")
- (return-type "none")
+ (c-name "g_file_info_get_attribute_uint64")
+ (return-type "guint64")
(parameters
'("const-char*" "attribute")
- '("guint64" "attr_value")
)
)
-(define-method set_attribute_int64
+(define-method get_content_type
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_int64")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- '("gint64" "attr_value")
- )
+ (c-name "g_file_info_get_content_type")
+ (return-type "const-char*")
)
-(define-method set_attribute_object
+(define-method get_deletion_date
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_object")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- '("GObject*" "attr_value")
- )
+ (c-name "g_file_info_get_deletion_date")
+ (return-type "GDateTime*")
)
-(define-method set_attribute_stringv
+(define-method get_display_name
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_stringv")
- (return-type "none")
- (parameters
- '("const-char*" "attribute")
- '("char**" "attr_value")
- )
+ (c-name "g_file_info_get_display_name")
+ (return-type "const-char*")
)
-(define-method clear_status
+(define-method get_edit_name
(of-object "GFileInfo")
- (c-name "g_file_info_clear_status")
- (return-type "none")
+ (c-name "g_file_info_get_edit_name")
+ (return-type "const-char*")
)
-(define-method get_deletion_date
+(define-method get_etag
(of-object "GFileInfo")
- (c-name "g_file_info_get_deletion_date")
- (return-type "GDateTime*")
+ (c-name "g_file_info_get_etag")
+ (return-type "const-char*")
)
(define-method get_file_type
@@ -9444,10 +4934,10 @@
(return-type "GFileType")
)
-(define-method get_is_hidden
+(define-method get_icon
(of-object "GFileInfo")
- (c-name "g_file_info_get_is_hidden")
- (return-type "gboolean")
+ (c-name "g_file_info_get_icon")
+ (return-type "GIcon*")
)
(define-method get_is_backup
@@ -9456,34 +4946,43 @@
(return-type "gboolean")
)
+(define-method get_is_hidden
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_is_hidden")
+ (return-type "gboolean")
+)
+
(define-method get_is_symlink
(of-object "GFileInfo")
(c-name "g_file_info_get_is_symlink")
(return-type "gboolean")
)
-(define-method get_name
+(define-method get_modification_time
(of-object "GFileInfo")
- (c-name "g_file_info_get_name")
- (return-type "const-char*")
+ (c-name "g_file_info_get_modification_time")
+ (return-type "void")
+ (parameters
+ '("GTimeVal*" "result")
+ )
)
-(define-method get_display_name
+(define-method get_name
(of-object "GFileInfo")
- (c-name "g_file_info_get_display_name")
+ (c-name "g_file_info_get_name")
(return-type "const-char*")
)
-(define-method get_edit_name
+(define-method get_size
(of-object "GFileInfo")
- (c-name "g_file_info_get_edit_name")
- (return-type "const-char*")
+ (c-name "g_file_info_get_size")
+ (return-type "goffset")
)
-(define-method get_icon
+(define-method get_sort_order
(of-object "GFileInfo")
- (c-name "g_file_info_get_icon")
- (return-type "GIcon*")
+ (c-name "g_file_info_get_sort_order")
+ (return-type "gint32")
)
(define-method get_symbolic_icon
@@ -9492,310 +4991,294 @@
(return-type "GIcon*")
)
-(define-method get_content_type
+(define-method get_symlink_target
(of-object "GFileInfo")
- (c-name "g_file_info_get_content_type")
+ (c-name "g_file_info_get_symlink_target")
(return-type "const-char*")
)
-(define-method get_size
+(define-method has_attribute
(of-object "GFileInfo")
- (c-name "g_file_info_get_size")
- (return-type "goffset")
+ (c-name "g_file_info_has_attribute")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "attribute")
+ )
)
-(define-method get_modification_time
+(define-method has_namespace
(of-object "GFileInfo")
- (c-name "g_file_info_get_modification_time")
- (return-type "none")
+ (c-name "g_file_info_has_namespace")
+ (return-type "gboolean")
(parameters
- '("GTimeVal*" "result")
+ '("const-char*" "name_space")
)
)
-(define-method get_symlink_target
+(define-method list_attributes
(of-object "GFileInfo")
- (c-name "g_file_info_get_symlink_target")
- (return-type "const-char*")
+ (c-name "g_file_info_list_attributes")
+ (return-type "char**")
+ (parameters
+ '("const-char*" "name_space")
+ )
)
-(define-method get_etag
+(define-method remove_attribute
(of-object "GFileInfo")
- (c-name "g_file_info_get_etag")
- (return-type "const-char*")
+ (c-name "g_file_info_remove_attribute")
+ (return-type "void")
+ (parameters
+ '("const-char*" "attribute")
+ )
)
-(define-method get_sort_order
+(define-method set_attribute
(of-object "GFileInfo")
- (c-name "g_file_info_get_sort_order")
- (return-type "gint32")
+ (c-name "g_file_info_set_attribute")
+ (return-type "void")
+ (parameters
+ '("const-char*" "attribute")
+ '("GFileAttributeType" "type")
+ '("gpointer" "value_p")
+ )
)
-(define-method set_attribute_mask
+(define-method set_attribute_boolean
(of-object "GFileInfo")
- (c-name "g_file_info_set_attribute_mask")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_boolean")
+ (return-type "void")
(parameters
- '("GFileAttributeMatcher*" "mask")
+ '("const-char*" "attribute")
+ '("gboolean" "attr_value")
)
)
-(define-method unset_attribute_mask
+(define-method set_attribute_byte_string
(of-object "GFileInfo")
- (c-name "g_file_info_unset_attribute_mask")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_byte_string")
+ (return-type "void")
+ (parameters
+ '("const-char*" "attribute")
+ '("const-char*" "attr_value")
+ )
)
-(define-method set_file_type
+(define-method set_attribute_int32
(of-object "GFileInfo")
- (c-name "g_file_info_set_file_type")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_int32")
+ (return-type "void")
(parameters
- '("GFileType" "type")
+ '("const-char*" "attribute")
+ '("gint32" "attr_value")
)
)
-(define-method set_is_hidden
+(define-method set_attribute_int64
(of-object "GFileInfo")
- (c-name "g_file_info_set_is_hidden")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_int64")
+ (return-type "void")
(parameters
- '("gboolean" "is_hidden")
+ '("const-char*" "attribute")
+ '("gint64" "attr_value")
)
)
-(define-method set_is_symlink
+(define-method set_attribute_mask
(of-object "GFileInfo")
- (c-name "g_file_info_set_is_symlink")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_mask")
+ (return-type "void")
(parameters
- '("gboolean" "is_symlink")
+ '("GFileAttributeMatcher*" "mask")
)
)
-(define-method set_name
+(define-method set_attribute_object
(of-object "GFileInfo")
- (c-name "g_file_info_set_name")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_object")
+ (return-type "void")
(parameters
- '("const-char*" "name")
+ '("const-char*" "attribute")
+ '("GObject*" "attr_value")
)
)
-(define-method set_display_name
+(define-method set_attribute_status
(of-object "GFileInfo")
- (c-name "g_file_info_set_display_name")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_status")
+ (return-type "gboolean")
(parameters
- '("const-char*" "display_name")
+ '("const-char*" "attribute")
+ '("GFileAttributeStatus" "status")
)
)
-(define-method set_edit_name
+(define-method set_attribute_string
(of-object "GFileInfo")
- (c-name "g_file_info_set_edit_name")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_string")
+ (return-type "void")
(parameters
- '("const-char*" "edit_name")
+ '("const-char*" "attribute")
+ '("const-char*" "attr_value")
)
)
-(define-method set_icon
+(define-method set_attribute_stringv
(of-object "GFileInfo")
- (c-name "g_file_info_set_icon")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_stringv")
+ (return-type "void")
(parameters
- '("GIcon*" "icon")
+ '("const-char*" "attribute")
+ '("char**" "attr_value")
)
)
-(define-method set_symbolic_icon
+(define-method set_attribute_uint32
(of-object "GFileInfo")
- (c-name "g_file_info_set_symbolic_icon")
- (return-type "none")
+ (c-name "g_file_info_set_attribute_uint32")
+ (return-type "void")
(parameters
- '("GIcon*" "icon")
+ '("const-char*" "attribute")
+ '("guint32" "attr_value")
+ )
+)
+
+(define-method set_attribute_uint64
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_attribute_uint64")
+ (return-type "void")
+ (parameters
+ '("const-char*" "attribute")
+ '("guint64" "attr_value")
)
)
(define-method set_content_type
(of-object "GFileInfo")
(c-name "g_file_info_set_content_type")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-char*" "content_type")
)
)
-(define-method set_size
+(define-method set_display_name
(of-object "GFileInfo")
- (c-name "g_file_info_set_size")
- (return-type "none")
+ (c-name "g_file_info_set_display_name")
+ (return-type "void")
(parameters
- '("goffset" "size")
+ '("const-char*" "display_name")
)
)
-(define-method set_modification_time
+(define-method set_edit_name
(of-object "GFileInfo")
- (c-name "g_file_info_set_modification_time")
- (return-type "none")
+ (c-name "g_file_info_set_edit_name")
+ (return-type "void")
(parameters
- '("GTimeVal*" "mtime")
+ '("const-char*" "edit_name")
)
)
-(define-method set_symlink_target
+(define-method set_file_type
(of-object "GFileInfo")
- (c-name "g_file_info_set_symlink_target")
- (return-type "none")
+ (c-name "g_file_info_set_file_type")
+ (return-type "void")
(parameters
- '("const-char*" "symlink_target")
+ '("GFileType" "type")
)
)
-(define-method set_sort_order
+(define-method set_icon
(of-object "GFileInfo")
- (c-name "g_file_info_set_sort_order")
- (return-type "none")
+ (c-name "g_file_info_set_icon")
+ (return-type "void")
(parameters
- '("gint32" "sort_order")
+ '("GIcon*" "icon")
)
)
-(define-function g_file_attribute_matcher_get_type
- (c-name "g_file_attribute_matcher_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_attribute_matcher_new
- (c-name "g_file_attribute_matcher_new")
- (is-constructor-of "GFileAttributeMatcher")
- (return-type "GFileAttributeMatcher*")
+(define-method set_is_hidden
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_is_hidden")
+ (return-type "void")
(parameters
- '("const-char*" "attributes")
+ '("gboolean" "is_hidden")
)
)
-(define-method ref
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_ref")
- (return-type "GFileAttributeMatcher*")
-)
-
-(define-method unref
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_unref")
- (return-type "none")
-)
-
-(define-method subtract
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_subtract")
- (return-type "GFileAttributeMatcher*")
+(define-method set_is_symlink
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_is_symlink")
+ (return-type "void")
(parameters
- '("GFileAttributeMatcher*" "subtract")
+ '("gboolean" "is_symlink")
)
)
-(define-method matches
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_matches")
- (return-type "gboolean")
+(define-method set_modification_time
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_modification_time")
+ (return-type "void")
(parameters
- '("const-char*" "attribute")
+ '("GTimeVal*" "mtime")
)
)
-(define-method matches_only
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_matches_only")
- (return-type "gboolean")
+(define-method set_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_name")
+ (return-type "void")
(parameters
- '("const-char*" "attribute")
+ '("char*" "name")
)
)
-(define-method enumerate_namespace
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_enumerate_namespace")
- (return-type "gboolean")
+(define-method set_size
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_size")
+ (return-type "void")
(parameters
- '("const-char*" "ns")
+ '("goffset" "size")
)
)
-(define-method enumerate_next
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_enumerate_next")
- (return-type "const-char*")
-)
-
-(define-method to_string
- (of-object "GFileAttributeMatcher")
- (c-name "g_file_attribute_matcher_to_string")
- (return-type "char*")
-)
-
-
-
-;; From gfileinfo-priv.h
-
-
-
-;; From gfileinputstream.h
-
-(define-function g_file_input_stream_get_type
- (c-name "g_file_input_stream_get_type")
- (return-type "GType")
-)
-
-(define-method query_info
- (of-object "GFileInputStream")
- (c-name "g_file_input_stream_query_info")
- (return-type "GFileInfo*")
+(define-method set_sort_order
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_sort_order")
+ (return-type "void")
(parameters
- '("const-char*" "attributes")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gint32" "sort_order")
)
)
-(define-method query_info_async
- (of-object "GFileInputStream")
- (c-name "g_file_input_stream_query_info_async")
- (return-type "none")
+(define-method set_symbolic_icon
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_symbolic_icon")
+ (return-type "void")
(parameters
- '("const-char*" "attributes")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GIcon*" "icon")
)
)
-(define-method query_info_finish
- (of-object "GFileInputStream")
- (c-name "g_file_input_stream_query_info_finish")
- (return-type "GFileInfo*")
+(define-method set_symlink_target
+ (of-object "GFileInfo")
+ (c-name "g_file_info_set_symlink_target")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("const-char*" "symlink_target")
)
)
-
-
-;; From gfileiostream.h
-
-(define-function g_file_io_stream_get_type
- (c-name "g_file_io_stream_get_type")
- (return-type "GType")
+(define-method unset_attribute_mask
+ (of-object "GFileInfo")
+ (c-name "g_file_info_unset_attribute_mask")
+ (return-type "void")
)
(define-method query_info
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_query_info")
+ (of-object "GFileInputStream")
+ (c-name "g_file_input_stream_query_info")
(return-type "GFileInfo*")
(parameters
'("const-char*" "attributes")
@@ -9805,9 +5288,9 @@
)
(define-method query_info_async
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_query_info_async")
- (return-type "none")
+ (of-object "GFileInputStream")
+ (c-name "g_file_input_stream_query_info_async")
+ (return-type "void")
(parameters
'("const-char*" "attributes")
'("int" "io_priority")
@@ -9818,8 +5301,8 @@
)
(define-method query_info_finish
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_query_info_finish")
+ (of-object "GFileInputStream")
+ (c-name "g_file_input_stream_query_info_finish")
(return-type "GFileInfo*")
(parameters
'("GAsyncResult*" "result")
@@ -9827,46 +5310,16 @@
)
)
-(define-method get_etag
- (of-object "GFileIOStream")
- (c-name "g_file_io_stream_get_etag")
- (return-type "char*")
-)
-
-
-
-;; From gfilemonitor.h
-
-(define-function g_file_monitor_get_type
- (c-name "g_file_monitor_get_type")
- (return-type "GType")
-)
-
(define-method cancel
(of-object "GFileMonitor")
(c-name "g_file_monitor_cancel")
(return-type "gboolean")
)
-(define-method is_cancelled
- (of-object "GFileMonitor")
- (c-name "g_file_monitor_is_cancelled")
- (return-type "gboolean")
-)
-
-(define-method set_rate_limit
- (of-object "GFileMonitor")
- (c-name "g_file_monitor_set_rate_limit")
- (return-type "none")
- (parameters
- '("gint" "limit_msecs")
- )
-)
-
(define-method emit_event
(of-object "GFileMonitor")
(c-name "g_file_monitor_emit_event")
- (return-type "none")
+ (return-type "void")
(parameters
'("GFile*" "child")
'("GFile*" "other_file")
@@ -9874,55 +5327,25 @@
)
)
-
-
-;; From gfilenamecompleter.h
-
-(define-function g_filename_completer_get_type
- (c-name "g_filename_completer_get_type")
- (return-type "GType")
-)
-
-(define-function g_filename_completer_new
- (c-name "g_filename_completer_new")
- (is-constructor-of "GFilenameCompleter")
- (return-type "GFilenameCompleter*")
-)
-
-(define-method get_completion_suffix
- (of-object "GFilenameCompleter")
- (c-name "g_filename_completer_get_completion_suffix")
- (return-type "char*")
- (parameters
- '("const-char*" "initial_text")
- )
-)
-
-(define-method get_completions
- (of-object "GFilenameCompleter")
- (c-name "g_filename_completer_get_completions")
- (return-type "char**")
- (parameters
- '("const-char*" "initial_text")
- )
+(define-method is_cancelled
+ (of-object "GFileMonitor")
+ (c-name "g_file_monitor_is_cancelled")
+ (return-type "gboolean")
)
-(define-method set_dirs_only
- (of-object "GFilenameCompleter")
- (c-name "g_filename_completer_set_dirs_only")
- (return-type "none")
+(define-method set_rate_limit
+ (of-object "GFileMonitor")
+ (c-name "g_file_monitor_set_rate_limit")
+ (return-type "void")
(parameters
- '("gboolean" "dirs_only")
+ '("gint" "limit_msecs")
)
)
-
-
-;; From gfileoutputstream.h
-
-(define-function g_file_output_stream_get_type
- (c-name "g_file_output_stream_get_type")
- (return-type "GType")
+(define-method get_etag
+ (of-object "GFileOutputStream")
+ (c-name "g_file_output_stream_get_etag")
+ (return-type "char*")
)
(define-method query_info
@@ -9939,7 +5362,7 @@
(define-method query_info_async
(of-object "GFileOutputStream")
(c-name "g_file_output_stream_query_info_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-char*" "attributes")
'("int" "io_priority")
@@ -9959,19 +5382,36 @@
)
)
-(define-method get_etag
- (of-object "GFileOutputStream")
- (c-name "g_file_output_stream_get_etag")
- (return-type "char*")
+(define-function g_filename_completer_new
+ (c-name "g_filename_completer_new")
+ (return-type "GFilenameCompleter*")
)
+(define-method get_completion_suffix
+ (of-object "GFilenameCompleter")
+ (c-name "g_filename_completer_get_completion_suffix")
+ (return-type "char*")
+ (parameters
+ '("const-char*" "initial_text")
+ )
+)
+(define-method get_completions
+ (of-object "GFilenameCompleter")
+ (c-name "g_filename_completer_get_completions")
+ (return-type "char**")
+ (parameters
+ '("const-char*" "initial_text")
+ )
+)
-;; From gfilterinputstream.h
-
-(define-function g_filter_input_stream_get_type
- (c-name "g_filter_input_stream_get_type")
- (return-type "GType")
+(define-method set_dirs_only
+ (of-object "GFilenameCompleter")
+ (c-name "g_filename_completer_set_dirs_only")
+ (return-type "void")
+ (parameters
+ '("gboolean" "dirs_only")
+ )
)
(define-method get_base_stream
@@ -9989,21 +5429,12 @@
(define-method set_close_base_stream
(of-object "GFilterInputStream")
(c-name "g_filter_input_stream_set_close_base_stream")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "close_base")
)
)
-
-
-;; From gfilteroutputstream.h
-
-(define-function g_filter_output_stream_get_type
- (c-name "g_filter_output_stream_get_type")
- (return-type "GType")
-)
-
(define-method get_base_stream
(of-object "GFilterOutputStream")
(c-name "g_filter_output_stream_get_base_stream")
@@ -10019,85 +5450,262 @@
(define-method set_close_base_stream
(of-object "GFilterOutputStream")
(c-name "g_filter_output_stream_set_close_base_stream")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "close_base")
)
)
+(define-method get_name
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_get_name")
+ (return-type "const-char*")
+)
+(define-method get_priority
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_get_priority")
+ (return-type "gint")
+)
-;; From ghttpproxy.h
+(define-method get_type
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_get_type")
+ (return-type "GType")
+)
+(define-method ref_class
+ (of-object "GIOExtension")
+ (c-name "g_io_extension_ref_class")
+ (return-type "GTypeClass*")
+)
+(define-method get_extension_by_name
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_get_extension_by_name")
+ (return-type "GIOExtension*")
+ (parameters
+ '("const-char*" "name")
+ )
+)
-;; From gicon.h
+(define-method get_extensions
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_get_extensions")
+ (return-type "GList*")
+)
-(define-function g_icon_get_type
- (c-name "g_icon_get_type")
+(define-method get_required_type
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_get_required_type")
(return-type "GType")
)
-(define-function g_icon_hash
- (c-name "g_icon_hash")
- (return-type "guint")
+(define-method set_required_type
+ (of-object "GIOExtensionPoint")
+ (c-name "g_io_extension_point_set_required_type")
+ (return-type "void")
(parameters
- '("gconstpointer" "icon")
+ '("GType" "type")
)
)
-(define-method equal
- (of-object "GIcon")
- (c-name "g_icon_equal")
+(define-function g_io_extension_point_implement
+ (c-name "g_io_extension_point_implement")
+ (return-type "GIOExtension*")
+ (parameters
+ '("const-char*" "extension_point_name")
+ '("GType" "type")
+ '("const-char*" "extension_name")
+ '("gint" "priority")
+ )
+)
+
+(define-function g_io_extension_point_lookup
+ (c-name "g_io_extension_point_lookup")
+ (return-type "GIOExtensionPoint*")
+ (parameters
+ '("const-char*" "name")
+ )
+)
+
+(define-function g_io_extension_point_register
+ (c-name "g_io_extension_point_register")
+ (return-type "GIOExtensionPoint*")
+ (parameters
+ '("const-char*" "name")
+ )
+)
+
+(define-function g_io_module_new
+ (c-name "g_io_module_new")
+ (return-type "GIOModule*")
+ (parameters
+ '("gchar*" "filename")
+ )
+)
+
+(define-function g_io_module_query
+ (c-name "g_io_module_query")
+ (return-type "char**")
+)
+
+(define-method load
+ (of-object "GIOModule")
+ (c-name "g_io_module_load")
+ (return-type "void")
+)
+
+(define-method unload
+ (of-object "GIOModule")
+ (c-name "g_io_module_unload")
+ (return-type "void")
+)
+
+(define-method block
+ (of-object "GIOModuleScope")
+ (c-name "g_io_module_scope_block")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "basename")
+ )
+)
+
+(define-method free
+ (of-object "GIOModuleScope")
+ (c-name "g_io_module_scope_free")
+ (return-type "void")
+)
+
+(define-function g_io_module_scope_new
+ (c-name "g_io_module_scope_new")
+ (return-type "GIOModuleScope*")
+ (parameters
+ '("GIOModuleScopeFlags" "flags")
+ )
+)
+
+(define-method send_to_mainloop
+ (of-object "GIOSchedulerJob")
+ (c-name "g_io_scheduler_job_send_to_mainloop")
(return-type "gboolean")
(parameters
- '("GIcon*" "icon2")
+ '("GSourceFunc" "func")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "notify")
)
)
-(define-method to_string
- (of-object "GIcon")
- (c-name "g_icon_to_string")
- (return-type "gchar*")
+(define-method send_to_mainloop_async
+ (of-object "GIOSchedulerJob")
+ (c-name "g_io_scheduler_job_send_to_mainloop_async")
+ (return-type "void")
+ (parameters
+ '("GSourceFunc" "func")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "notify")
+ )
)
-(define-function g_icon_new_for_string
- (c-name "g_icon_new_for_string")
- (return-type "GIcon*")
+(define-function g_io_stream_splice_finish
+ (c-name "g_io_stream_splice_finish")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "str")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method serialize
- (of-object "GIcon")
- (c-name "g_icon_serialize")
- (return-type "GVariant*")
+(define-method clear_pending
+ (of-object "GIOStream")
+ (c-name "g_io_stream_clear_pending")
+ (return-type "void")
)
-(define-function g_icon_deserialize
- (c-name "g_icon_deserialize")
- (return-type "GIcon*")
+(define-method close
+ (of-object "GIOStream")
+ (c-name "g_io_stream_close")
+ (return-type "gboolean")
(parameters
- '("GVariant*" "value")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
+(define-method close_async
+ (of-object "GIOStream")
+ (c-name "g_io_stream_close_async")
+ (return-type "void")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+(define-method close_finish
+ (of-object "GIOStream")
+ (c-name "g_io_stream_close_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
-;; From ginetaddress.h
+(define-method get_input_stream
+ (of-object "GIOStream")
+ (c-name "g_io_stream_get_input_stream")
+ (return-type "GInputStream*")
+)
-(define-function g_inet_address_get_type
- (c-name "g_inet_address_get_type")
- (return-type "GType")
+(define-method get_output_stream
+ (of-object "GIOStream")
+ (c-name "g_io_stream_get_output_stream")
+ (return-type "GOutputStream*")
)
-(define-function g_inet_address_new_from_string
- (c-name "g_inet_address_new_from_string")
+(define-method has_pending
+ (of-object "GIOStream")
+ (c-name "g_io_stream_has_pending")
+ (return-type "gboolean")
+)
+
+(define-method is_closed
+ (of-object "GIOStream")
+ (c-name "g_io_stream_is_closed")
+ (return-type "gboolean")
+)
+
+(define-method set_pending
+ (of-object "GIOStream")
+ (c-name "g_io_stream_set_pending")
+ (return-type "gboolean")
+ (parameters
+ '("GError**" "error")
+ )
+)
+
+(define-method splice_async
+ (of-object "GIOStream")
+ (c-name "g_io_stream_splice_async")
+ (return-type "void")
+ (parameters
+ '("GIOStream*" "stream2")
+ '("GIOStreamSpliceFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-function g_inet_address_new_any
+ (c-name "g_inet_address_new_any")
(return-type "GInetAddress*")
(parameters
- '("const-gchar*" "string")
+ '("GSocketFamily" "family")
)
)
@@ -10110,16 +5718,16 @@
)
)
-(define-function g_inet_address_new_loopback
- (c-name "g_inet_address_new_loopback")
+(define-function g_inet_address_new_from_string
+ (c-name "g_inet_address_new_from_string")
(return-type "GInetAddress*")
(parameters
- '("GSocketFamily" "family")
+ '("const-gchar*" "string")
)
)
-(define-function g_inet_address_new_any
- (c-name "g_inet_address_new_any")
+(define-function g_inet_address_new_loopback
+ (c-name "g_inet_address_new_loopback")
(return-type "GInetAddress*")
(parameters
'("GSocketFamily" "family")
@@ -10135,24 +5743,6 @@
)
)
-(define-method to_string
- (of-object "GInetAddress")
- (c-name "g_inet_address_to_string")
- (return-type "gchar*")
-)
-
-(define-method to_bytes
- (of-object "GInetAddress")
- (c-name "g_inet_address_to_bytes")
- (return-type "const-guint8*")
-)
-
-(define-method get_native_size
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_native_size")
- (return-type "gsize")
-)
-
(define-method get_family
(of-object "GInetAddress")
(c-name "g_inet_address_get_family")
@@ -10165,27 +5755,15 @@
(return-type "gboolean")
)
-(define-method get_is_loopback
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_loopback")
- (return-type "gboolean")
-)
-
(define-method get_is_link_local
(of-object "GInetAddress")
(c-name "g_inet_address_get_is_link_local")
(return-type "gboolean")
)
-(define-method get_is_site_local
- (of-object "GInetAddress")
- (c-name "g_inet_address_get_is_site_local")
- (return-type "gboolean")
-)
-
-(define-method get_is_multicast
+(define-method get_is_loopback
(of-object "GInetAddress")
- (c-name "g_inet_address_get_is_multicast")
+ (c-name "g_inet_address_get_is_loopback")
(return-type "gboolean")
)
@@ -10219,20 +5797,41 @@
(return-type "gboolean")
)
+(define-method get_is_multicast
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_multicast")
+ (return-type "gboolean")
+)
+(define-method get_is_site_local
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_is_site_local")
+ (return-type "gboolean")
+)
-;; From ginetaddressmask.h
+(define-method get_native_size
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_get_native_size")
+ (return-type "gsize")
+)
-(define-function g_inet_address_mask_get_type
- (c-name "g_inet_address_mask_get_type")
- (return-type "GType")
+(define-method to_bytes
+ (of-object "GInetAddress")
+ (c-name "g_inet_address_to_bytes")
+ (return-type "const-guint8*")
)
-(define-method mask_new
+(define-method to_string
(of-object "GInetAddress")
+ (c-name "g_inet_address_to_string")
+ (return-type "gchar*")
+)
+
+(define-function g_inet_address_mask_new
(c-name "g_inet_address_mask_new")
(return-type "GInetAddressMask*")
(parameters
+ '("GInetAddress*" "addr")
'("guint" "length")
'("GError**" "error")
)
@@ -10247,16 +5846,13 @@
)
)
-(define-method to_string
- (of-object "GInetAddressMask")
- (c-name "g_inet_address_mask_to_string")
- (return-type "gchar*")
-)
-
-(define-method get_family
+(define-method equal
(of-object "GInetAddressMask")
- (c-name "g_inet_address_mask_get_family")
- (return-type "GSocketFamily")
+ (c-name "g_inet_address_mask_equal")
+ (return-type "gboolean")
+ (parameters
+ '("GInetAddressMask*" "mask2")
+ )
)
(define-method get_address
@@ -10265,6 +5861,12 @@
(return-type "GInetAddress*")
)
+(define-method get_family
+ (of-object "GInetAddressMask")
+ (c-name "g_inet_address_mask_get_family")
+ (return-type "GSocketFamily")
+)
+
(define-method get_length
(of-object "GInetAddressMask")
(c-name "g_inet_address_mask_get_length")
@@ -10280,27 +5882,14 @@
)
)
-(define-method equal
+(define-method to_string
(of-object "GInetAddressMask")
- (c-name "g_inet_address_mask_equal")
- (return-type "gboolean")
- (parameters
- '("GInetAddressMask*" "mask2")
- )
-)
-
-
-
-;; From ginetsocketaddress.h
-
-(define-function g_inet_socket_address_get_type
- (c-name "g_inet_socket_address_get_type")
- (return-type "GType")
+ (c-name "g_inet_address_mask_to_string")
+ (return-type "gchar*")
)
(define-function g_inet_socket_address_new
(c-name "g_inet_socket_address_new")
- (is-constructor-of "GInetSocketAddress")
(return-type "GSocketAddress*")
(parameters
'("GInetAddress*" "address")
@@ -10323,36 +5912,33 @@
(return-type "GInetAddress*")
)
-(define-method get_port
- (of-object "GInetSocketAddress")
- (c-name "g_inet_socket_address_get_port")
- (return-type "guint16")
-)
-
(define-method get_flowinfo
(of-object "GInetSocketAddress")
(c-name "g_inet_socket_address_get_flowinfo")
(return-type "guint32")
)
+(define-method get_port
+ (of-object "GInetSocketAddress")
+ (c-name "g_inet_socket_address_get_port")
+ (return-type "guint16")
+)
+
(define-method get_scope_id
(of-object "GInetSocketAddress")
(c-name "g_inet_socket_address_get_scope_id")
(return-type "guint32")
)
-
-
-;; From ginitable.h
-
-(define-function g_initable_get_type
- (c-name "g_initable_get_type")
- (return-type "GType")
+(define-method clear_pending
+ (of-object "GInputStream")
+ (c-name "g_input_stream_clear_pending")
+ (return-type "void")
)
-(define-method init
- (of-object "GInitable")
- (c-name "g_initable_init")
+(define-method close
+ (of-object "GInputStream")
+ (c-name "g_input_stream_close")
(return-type "gboolean")
(parameters
'("GCancellable*" "cancellable")
@@ -10360,49 +5946,38 @@
)
)
-(define-function g_initable_new
- (c-name "g_initable_new")
- (return-type "gpointer")
+(define-method close_async
+ (of-object "GInputStream")
+ (c-name "g_input_stream_close_async")
+ (return-type "void")
(parameters
- '("GType" "object_type")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GError**" "error")
- '("const-gchar*" "first_property_name")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
- (varargs #t)
)
-(define-function g_initable_newv
- (c-name "g_initable_newv")
- (return-type "gpointer")
+(define-method close_finish
+ (of-object "GInputStream")
+ (c-name "g_input_stream_close_finish")
+ (return-type "gboolean")
(parameters
- '("GType" "object_type")
- '("guint" "n_parameters")
- '("GParameter*" "parameters")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-function g_initable_new_valist
- (c-name "g_initable_new_valist")
- (return-type "GObject*")
- (parameters
- '("GType" "object_type")
- '("const-gchar*" "first_property_name")
- '("va_list" "var_args")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method has_pending
+ (of-object "GInputStream")
+ (c-name "g_input_stream_has_pending")
+ (return-type "gboolean")
)
-
-
-;; From ginputstream.h
-
-(define-function g_input_stream_get_type
- (c-name "g_input_stream_get_type")
- (return-type "GType")
+(define-method is_closed
+ (of-object "GInputStream")
+ (c-name "g_input_stream_is_closed")
+ (return-type "gboolean")
)
(define-method read
@@ -10430,66 +6005,10 @@
)
)
-(define-method read_bytes
- (of-object "GInputStream")
- (c-name "g_input_stream_read_bytes")
- (return-type "GBytes*")
- (parameters
- '("gsize" "count")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method skip
- (of-object "GInputStream")
- (c-name "g_input_stream_skip")
- (return-type "gssize")
- (parameters
- '("gsize" "count")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method close
- (of-object "GInputStream")
- (c-name "g_input_stream_close")
- (return-type "gboolean")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method read_async
- (of-object "GInputStream")
- (c-name "g_input_stream_read_async")
- (return-type "none")
- (parameters
- '("void*" "buffer")
- '("gsize" "count")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method read_finish
- (of-object "GInputStream")
- (c-name "g_input_stream_read_finish")
- (return-type "gssize")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
(define-method read_all_async
(of-object "GInputStream")
(c-name "g_input_stream_read_all_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("void*" "buffer")
'("gsize" "count")
@@ -10511,11 +6030,12 @@
)
)
-(define-method read_bytes_async
+(define-method read_async
(of-object "GInputStream")
- (c-name "g_input_stream_read_bytes_async")
- (return-type "none")
+ (c-name "g_input_stream_read_async")
+ (return-type "void")
(parameters
+ '("void*" "buffer")
'("gsize" "count")
'("int" "io_priority")
'("GCancellable*" "cancellable")
@@ -10524,20 +6044,21 @@
)
)
-(define-method read_bytes_finish
+(define-method read_bytes
(of-object "GInputStream")
- (c-name "g_input_stream_read_bytes_finish")
+ (c-name "g_input_stream_read_bytes")
(return-type "GBytes*")
(parameters
- '("GAsyncResult*" "result")
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method skip_async
+(define-method read_bytes_async
(of-object "GInputStream")
- (c-name "g_input_stream_skip_async")
- (return-type "none")
+ (c-name "g_input_stream_read_bytes_async")
+ (return-type "void")
(parameters
'("gsize" "count")
'("int" "io_priority")
@@ -10547,50 +6068,26 @@
)
)
-(define-method skip_finish
+(define-method read_bytes_finish
(of-object "GInputStream")
- (c-name "g_input_stream_skip_finish")
- (return-type "gssize")
+ (c-name "g_input_stream_read_bytes_finish")
+ (return-type "GBytes*")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method close_async
- (of-object "GInputStream")
- (c-name "g_input_stream_close_async")
- (return-type "none")
- (parameters
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method close_finish
+(define-method read_finish
(of-object "GInputStream")
- (c-name "g_input_stream_close_finish")
- (return-type "gboolean")
+ (c-name "g_input_stream_read_finish")
+ (return-type "gssize")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method is_closed
- (of-object "GInputStream")
- (c-name "g_input_stream_is_closed")
- (return-type "gboolean")
-)
-
-(define-method has_pending
- (of-object "GInputStream")
- (c-name "g_input_stream_has_pending")
- (return-type "gboolean")
-)
-
(define-method set_pending
(of-object "GInputStream")
(c-name "g_input_stream_set_pending")
@@ -10600,717 +6097,23 @@
)
)
-(define-method clear_pending
+(define-method skip
(of-object "GInputStream")
- (c-name "g_input_stream_clear_pending")
- (return-type "none")
-)
-
-
-
-;; From gio-autocleanups.h
-
-
-
-;; From gioenums.h
-
-
-
-;; From gioenumtypes.h
-
-(define-function g_app_info_create_flags_get_type
- (c-name "g_app_info_create_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_converter_flags_get_type
- (c-name "g_converter_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_converter_result_get_type
- (c-name "g_converter_result_get_type")
- (return-type "GType")
-)
-
-(define-function g_data_stream_byte_order_get_type
- (c-name "g_data_stream_byte_order_get_type")
- (return-type "GType")
-)
-
-(define-function g_data_stream_newline_type_get_type
- (c-name "g_data_stream_newline_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_attribute_type_get_type
- (c-name "g_file_attribute_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_attribute_info_flags_get_type
- (c-name "g_file_attribute_info_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_attribute_status_get_type
- (c-name "g_file_attribute_status_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_query_info_flags_get_type
- (c-name "g_file_query_info_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_create_flags_get_type
- (c-name "g_file_create_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_measure_flags_get_type
- (c-name "g_file_measure_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_mount_mount_flags_get_type
- (c-name "g_mount_mount_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_mount_unmount_flags_get_type
- (c-name "g_mount_unmount_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_drive_start_flags_get_type
- (c-name "g_drive_start_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_drive_start_stop_type_get_type
- (c-name "g_drive_start_stop_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_copy_flags_get_type
- (c-name "g_file_copy_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_monitor_flags_get_type
- (c-name "g_file_monitor_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_type_get_type
- (c-name "g_file_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_filesystem_preview_type_get_type
- (c-name "g_filesystem_preview_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_file_monitor_event_get_type
- (c-name "g_file_monitor_event_get_type")
- (return-type "GType")
-)
-
-(define-function g_io_error_enum_get_type
- (c-name "g_io_error_enum_get_type")
- (return-type "GType")
-)
-
-(define-function g_ask_password_flags_get_type
- (c-name "g_ask_password_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_password_save_get_type
- (c-name "g_password_save_get_type")
- (return-type "GType")
-)
-
-(define-function g_mount_operation_result_get_type
- (c-name "g_mount_operation_result_get_type")
- (return-type "GType")
-)
-
-(define-function g_output_stream_splice_flags_get_type
- (c-name "g_output_stream_splice_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_io_stream_splice_flags_get_type
- (c-name "g_io_stream_splice_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_emblem_origin_get_type
- (c-name "g_emblem_origin_get_type")
- (return-type "GType")
-)
-
-(define-function g_resolver_error_get_type
- (c-name "g_resolver_error_get_type")
- (return-type "GType")
-)
-
-(define-function g_resolver_record_type_get_type
- (c-name "g_resolver_record_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_resource_error_get_type
- (c-name "g_resource_error_get_type")
- (return-type "GType")
-)
-
-(define-function g_resource_flags_get_type
- (c-name "g_resource_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_resource_lookup_flags_get_type
- (c-name "g_resource_lookup_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_family_get_type
- (c-name "g_socket_family_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_type_get_type
- (c-name "g_socket_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_msg_flags_get_type
- (c-name "g_socket_msg_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_protocol_get_type
- (c-name "g_socket_protocol_get_type")
- (return-type "GType")
-)
-
-(define-function g_zlib_compressor_format_get_type
- (c-name "g_zlib_compressor_format_get_type")
- (return-type "GType")
-)
-
-(define-function g_unix_socket_address_type_get_type
- (c-name "g_unix_socket_address_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_bus_type_get_type
- (c-name "g_bus_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_bus_name_owner_flags_get_type
- (c-name "g_bus_name_owner_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_bus_name_watcher_flags_get_type
- (c-name "g_bus_name_watcher_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_proxy_flags_get_type
- (c-name "g_dbus_proxy_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_error_get_type
- (c-name "g_dbus_error_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_connection_flags_get_type
- (c-name "g_dbus_connection_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_capability_flags_get_type
- (c-name "g_dbus_capability_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_call_flags_get_type
- (c-name "g_dbus_call_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_message_type_get_type
- (c-name "g_dbus_message_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_message_flags_get_type
- (c-name "g_dbus_message_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_message_header_field_get_type
- (c-name "g_dbus_message_header_field_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_property_info_flags_get_type
- (c-name "g_dbus_property_info_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_subtree_flags_get_type
- (c-name "g_dbus_subtree_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_server_flags_get_type
- (c-name "g_dbus_server_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_signal_flags_get_type
- (c-name "g_dbus_signal_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_send_message_flags_get_type
- (c-name "g_dbus_send_message_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_credentials_type_get_type
- (c-name "g_credentials_type_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_message_byte_order_get_type
- (c-name "g_dbus_message_byte_order_get_type")
- (return-type "GType")
-)
-
-(define-function g_application_flags_get_type
- (c-name "g_application_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_error_get_type
- (c-name "g_tls_error_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_certificate_flags_get_type
- (c-name "g_tls_certificate_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_authentication_mode_get_type
- (c-name "g_tls_authentication_mode_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_rehandshake_mode_get_type
- (c-name "g_tls_rehandshake_mode_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_password_flags_get_type
- (c-name "g_tls_password_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_interaction_result_get_type
- (c-name "g_tls_interaction_result_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_interface_skeleton_flags_get_type
- (c-name "g_dbus_interface_skeleton_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_dbus_object_manager_client_flags_get_type
- (c-name "g_dbus_object_manager_client_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_database_verify_flags_get_type
- (c-name "g_tls_database_verify_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_database_lookup_flags_get_type
- (c-name "g_tls_database_lookup_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_certificate_request_flags_get_type
- (c-name "g_tls_certificate_request_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_io_module_scope_flags_get_type
- (c-name "g_io_module_scope_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_client_event_get_type
- (c-name "g_socket_client_event_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_listener_event_get_type
- (c-name "g_socket_listener_event_get_type")
- (return-type "GType")
-)
-
-(define-function g_test_dbus_flags_get_type
- (c-name "g_test_dbus_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_subprocess_flags_get_type
- (c-name "g_subprocess_flags_get_type")
- (return-type "GType")
-)
-
-(define-function g_notification_priority_get_type
- (c-name "g_notification_priority_get_type")
- (return-type "GType")
-)
-
-(define-function g_network_connectivity_get_type
- (c-name "g_network_connectivity_get_type")
- (return-type "GType")
-)
-
-(define-function g_settings_bind_flags_get_type
- (c-name "g_settings_bind_flags_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gioerror.h
-
-(define-function g_io_error_quark
- (c-name "g_io_error_quark")
- (return-type "GQuark")
-)
-
-(define-function g_io_error_from_errno
- (c-name "g_io_error_from_errno")
- (return-type "GIOErrorEnum")
- (parameters
- '("gint" "err_no")
- )
-)
-
-(define-function g_io_error_from_win32_error
- (c-name "g_io_error_from_win32_error")
- (return-type "GIOErrorEnum")
- (parameters
- '("gint" "error_code")
- )
-)
-
-
-
-;; From gio.h
-
-
-
-;; From giomodule.h
-
-(define-function g_io_module_scope_new
- (c-name "g_io_module_scope_new")
- (is-constructor-of "GIoModuleScope")
- (return-type "GIOModuleScope*")
- (parameters
- '("GIOModuleScopeFlags" "flags")
- )
-)
-
-(define-method free
- (of-object "GIOModuleScope")
- (c-name "g_io_module_scope_free")
- (return-type "none")
-)
-
-(define-method block
- (of-object "GIOModuleScope")
- (c-name "g_io_module_scope_block")
- (return-type "none")
- (parameters
- '("const-gchar*" "basename")
- )
-)
-
-(define-function g_io_module_get_type
- (c-name "g_io_module_get_type")
- (return-type "GType")
-)
-
-(define-function g_io_module_new
- (c-name "g_io_module_new")
- (is-constructor-of "GIoModule")
- (return-type "GIOModule*")
- (parameters
- '("const-gchar*" "filename")
- )
-)
-
-(define-function g_io_modules_scan_all_in_directory
- (c-name "g_io_modules_scan_all_in_directory")
- (return-type "none")
- (parameters
- '("const-char*" "dirname")
- )
-)
-
-(define-function g_io_modules_load_all_in_directory
- (c-name "g_io_modules_load_all_in_directory")
- (return-type "GList*")
- (parameters
- '("const-gchar*" "dirname")
- )
-)
-
-(define-function g_io_modules_scan_all_in_directory_with_scope
- (c-name "g_io_modules_scan_all_in_directory_with_scope")
- (return-type "none")
- (parameters
- '("const-gchar*" "dirname")
- '("GIOModuleScope*" "scope")
- )
-)
-
-(define-function g_io_modules_load_all_in_directory_with_scope
- (c-name "g_io_modules_load_all_in_directory_with_scope")
- (return-type "GList*")
- (parameters
- '("const-gchar*" "dirname")
- '("GIOModuleScope*" "scope")
- )
-)
-
-(define-function g_io_extension_point_register
- (c-name "g_io_extension_point_register")
- (return-type "GIOExtensionPoint*")
- (parameters
- '("const-char*" "name")
- )
-)
-
-(define-function g_io_extension_point_lookup
- (c-name "g_io_extension_point_lookup")
- (return-type "GIOExtensionPoint*")
- (parameters
- '("const-char*" "name")
- )
-)
-
-(define-method set_required_type
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_set_required_type")
- (return-type "none")
- (parameters
- '("GType" "type")
- )
-)
-
-(define-method get_required_type
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_get_required_type")
- (return-type "GType")
-)
-
-(define-method get_extensions
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_get_extensions")
- (return-type "GList*")
-)
-
-(define-method get_extension_by_name
- (of-object "GIOExtensionPoint")
- (c-name "g_io_extension_point_get_extension_by_name")
- (return-type "GIOExtension*")
- (parameters
- '("const-char*" "name")
- )
-)
-
-(define-function g_io_extension_point_implement
- (c-name "g_io_extension_point_implement")
- (return-type "GIOExtension*")
- (parameters
- '("const-char*" "extension_point_name")
- '("GType" "type")
- '("const-char*" "extension_name")
- '("gint" "priority")
- )
-)
-
-(define-method get_type
- (of-object "GIOExtension")
- (c-name "g_io_extension_get_type")
- (return-type "GType")
-)
-
-(define-method get_name
- (of-object "GIOExtension")
- (c-name "g_io_extension_get_name")
- (return-type "const-char*")
-)
-
-(define-method get_priority
- (of-object "GIOExtension")
- (c-name "g_io_extension_get_priority")
- (return-type "gint")
-)
-
-(define-method ref_class
- (of-object "GIOExtension")
- (c-name "g_io_extension_ref_class")
- (return-type "GTypeClass*")
-)
-
-(define-method load
- (of-object "GIOModule")
- (c-name "g_io_module_load")
- (return-type "none")
-)
-
-(define-method unload
- (of-object "GIOModule")
- (c-name "g_io_module_unload")
- (return-type "none")
-)
-
-(define-function g_io_module_query
- (c-name "g_io_module_query")
- (return-type "char**")
-)
-
-
-
-;; From giomodule-priv.h
-
-
-
-;; From gio_probes.h
-
-
-
-;; From gioscheduler.h
-
-(define-function g_io_scheduler_push_job
- (c-name "g_io_scheduler_push_job")
- (return-type "none")
- (parameters
- '("GIOSchedulerJobFunc" "job_func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
- '("gint" "io_priority")
- '("GCancellable*" "cancellable")
- )
-)
-
-(define-function g_io_scheduler_cancel_all_jobs
- (c-name "g_io_scheduler_cancel_all_jobs")
- (return-type "none")
-)
-
-(define-method send_to_mainloop
- (of-object "GIOSchedulerJob")
- (c-name "g_io_scheduler_job_send_to_mainloop")
- (return-type "gboolean")
- (parameters
- '("GSourceFunc" "func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
- )
-)
-
-(define-method send_to_mainloop_async
- (of-object "GIOSchedulerJob")
- (c-name "g_io_scheduler_job_send_to_mainloop_async")
- (return-type "none")
- (parameters
- '("GSourceFunc" "func")
- '("gpointer" "user_data")
- '("GDestroyNotify" "notify")
- )
-)
-
-
-
-;; From giostream.h
-
-(define-function g_io_stream_get_type
- (c-name "g_io_stream_get_type")
- (return-type "GType")
-)
-
-(define-method get_input_stream
- (of-object "GIOStream")
- (c-name "g_io_stream_get_input_stream")
- (return-type "GInputStream*")
-)
-
-(define-method get_output_stream
- (of-object "GIOStream")
- (c-name "g_io_stream_get_output_stream")
- (return-type "GOutputStream*")
-)
-
-(define-method splice_async
- (of-object "GIOStream")
- (c-name "g_io_stream_splice_async")
- (return-type "none")
- (parameters
- '("GIOStream*" "stream2")
- '("GIOStreamSpliceFlags" "flags")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-function g_io_stream_splice_finish
- (c-name "g_io_stream_splice_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-(define-method close
- (of-object "GIOStream")
- (c-name "g_io_stream_close")
- (return-type "gboolean")
+ (c-name "g_input_stream_skip")
+ (return-type "gssize")
(parameters
+ '("gsize" "count")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method close_async
- (of-object "GIOStream")
- (c-name "g_io_stream_close_async")
- (return-type "none")
+(define-method skip_async
+ (of-object "GInputStream")
+ (c-name "g_input_stream_skip_async")
+ (return-type "void")
(parameters
+ '("gsize" "count")
'("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
@@ -11318,348 +6121,37 @@
)
)
-(define-method close_finish
- (of-object "GIOStream")
- (c-name "g_io_stream_close_finish")
- (return-type "gboolean")
+(define-method skip_finish
+ (of-object "GInputStream")
+ (c-name "g_input_stream_skip_finish")
+ (return-type "gssize")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method is_closed
- (of-object "GIOStream")
- (c-name "g_io_stream_is_closed")
- (return-type "gboolean")
-)
-
-(define-method has_pending
- (of-object "GIOStream")
- (c-name "g_io_stream_has_pending")
- (return-type "gboolean")
-)
-
-(define-method set_pending
- (of-object "GIOStream")
- (c-name "g_io_stream_set_pending")
- (return-type "gboolean")
- (parameters
- '("GError**" "error")
- )
-)
-
-(define-method clear_pending
- (of-object "GIOStream")
- (c-name "g_io_stream_clear_pending")
- (return-type "none")
-)
-
-
-
-;; From gio-tool.h
-
-(define-function print_file_error
- (c-name "print_file_error")
- (return-type "none")
- (parameters
- '("GFile*" "file")
- '("const-char*" "message")
- )
-)
-
-(define-function show_help
- (c-name "show_help")
- (return-type "none")
- (parameters
- '("GOptionContext*" "context")
- '("const-char*" "message")
- )
-)
-
-(define-function file_type_to_string
- (c-name "file_type_to_string")
- (return-type "const-char*")
- (parameters
- '("GFileType" "type")
- )
-)
-
-(define-function attribute_type_to_string
- (c-name "attribute_type_to_string")
- (return-type "const-char*")
- (parameters
- '("GFileAttributeType" "type")
- )
-)
-
-(define-function attribute_type_from_string
- (c-name "attribute_type_from_string")
- (return-type "GFileAttributeType")
- (parameters
- '("const-char*" "str")
- )
-)
-
-(define-function attribute_flags_to_string
- (c-name "attribute_flags_to_string")
- (return-type "char*")
- (parameters
- '("GFileAttributeInfoFlags" "flags")
- )
-)
-
-(define-function file_is_dir
- (c-name "file_is_dir")
- (return-type "gboolean")
- (parameters
- '("GFile*" "file")
- )
-)
-
-(define-function handle_cat
- (c-name "handle_cat")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_copy
- (c-name "handle_copy")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_info
- (c-name "handle_info")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_list
- (c-name "handle_list")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_mime
- (c-name "handle_mime")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_mkdir
- (c-name "handle_mkdir")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_monitor
- (c-name "handle_monitor")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_mount
- (c-name "handle_mount")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_move
- (c-name "handle_move")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_open
- (c-name "handle_open")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_rename
- (c-name "handle_rename")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_remove
- (c-name "handle_remove")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_save
- (c-name "handle_save")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_set
- (c-name "handle_set")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_trash
- (c-name "handle_trash")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-(define-function handle_tree
- (c-name "handle_tree")
- (return-type "int")
- (parameters
- '("int" "argc")
- '("char*[]" "argv")
- '("gboolean" "do_help")
- )
-)
-
-
-
-;; From gio_trace.h
-
-
-
-;; From giotypes.h
-
-
-
-;; From giowin32-priv.h
-
-(define-function g_win32_output_stream_new_from_fd
- (c-name "g_win32_output_stream_new_from_fd")
- (return-type "GOutputStream*")
- (parameters
- '("gint" "fd")
- '("gboolean" "close_fd")
- )
-)
-
-
-
-;; From glistmodel.h
-
-(define-method get_item_type
- (of-object "GListModel")
- (c-name "g_list_model_get_item_type")
- (return-type "GType")
-)
-
-(define-method get_n_items
- (of-object "GListModel")
- (c-name "g_list_model_get_n_items")
- (return-type "guint")
-)
-
-(define-method get_item
- (of-object "GListModel")
- (c-name "g_list_model_get_item")
- (return-type "gpointer")
- (parameters
- '("guint" "position")
- )
-)
-
-(define-method get_object
- (of-object "GListModel")
- (c-name "g_list_model_get_object")
- (return-type "GObject*")
- (parameters
- '("guint" "position")
- )
-)
-
-(define-method items_changed
- (of-object "GListModel")
- (c-name "g_list_model_items_changed")
- (return-type "none")
- (parameters
- '("guint" "position")
- '("guint" "removed")
- '("guint" "added")
- )
-)
-
-
-
-;; From gliststore.h
-
(define-function g_list_store_new
(c-name "g_list_store_new")
- (is-constructor-of "GListStore")
(return-type "GListStore*")
(parameters
'("GType" "item_type")
)
)
+(define-method append
+ (of-object "GListStore")
+ (c-name "g_list_store_append")
+ (return-type "void")
+ (parameters
+ '("gpointer" "item")
+ )
+)
+
(define-method insert
(of-object "GListStore")
(c-name "g_list_store_insert")
- (return-type "none")
+ (return-type "void")
(parameters
'("guint" "position")
'("gpointer" "item")
@@ -11677,29 +6169,10 @@
)
)
-(define-method sort
- (of-object "GListStore")
- (c-name "g_list_store_sort")
- (return-type "none")
- (parameters
- '("GCompareDataFunc" "compare_func")
- '("gpointer" "user_data")
- )
-)
-
-(define-method append
- (of-object "GListStore")
- (c-name "g_list_store_append")
- (return-type "none")
- (parameters
- '("gpointer" "item")
- )
-)
-
(define-method remove
(of-object "GListStore")
(c-name "g_list_store_remove")
- (return-type "none")
+ (return-type "void")
(parameters
'("guint" "position")
)
@@ -11708,13 +6181,23 @@
(define-method remove_all
(of-object "GListStore")
(c-name "g_list_store_remove_all")
- (return-type "none")
+ (return-type "void")
+)
+
+(define-method sort
+ (of-object "GListStore")
+ (c-name "g_list_store_sort")
+ (return-type "void")
+ (parameters
+ '("GCompareDataFunc" "compare_func")
+ '("gpointer" "user_data")
+ )
)
(define-method splice
(of-object "GListStore")
(c-name "g_list_store_splice")
- (return-type "none")
+ (return-type "void")
(parameters
'("guint" "position")
'("guint" "n_removals")
@@ -11723,169 +6206,33 @@
)
)
-
-
-;; From gloadableicon.h
-
-(define-function g_loadable_icon_get_type
- (c-name "g_loadable_icon_get_type")
- (return-type "GType")
-)
-
-(define-method load
- (of-object "GLoadableIcon")
- (c-name "g_loadable_icon_load")
+(define-function g_memory_input_stream_new
+ (c-name "g_memory_input_stream_new")
(return-type "GInputStream*")
- (parameters
- '("int" "size")
- '("char**" "type")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method load_async
- (of-object "GLoadableIcon")
- (c-name "g_loadable_icon_load_async")
- (return-type "none")
- (parameters
- '("int" "size")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
)
-(define-method load_finish
- (of-object "GLoadableIcon")
- (c-name "g_loadable_icon_load_finish")
+(define-function g_memory_input_stream_new_from_bytes
+ (c-name "g_memory_input_stream_new_from_bytes")
(return-type "GInputStream*")
(parameters
- '("GAsyncResult*" "res")
- '("char**" "type")
- '("GError**" "error")
- )
-)
-
-
-
-;; From glocalfileenumerator.h
-
-
-
-;; From glocalfile.h
-
-(define-function g_local_file_is_remote
- (c-name "g_local_file_is_remote")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "filename")
- )
-)
-
-(define-function g_local_file_new_from_dirname_and_basename
- (c-name "g_local_file_new_from_dirname_and_basename")
- (return-type "GFile*")
- (parameters
- '("const-char*" "dirname")
- '("const-char*" "basename")
- )
-)
-
-
-
-;; From glocalfileinfo.h
-
-
-
-;; From glocalfileinputstream.h
-
-
-
-;; From glocalfileiostream.h
-
-
-
-;; From glocalfilemonitor.h
-
-(define-function g_local_file_monitor_get_type
- (c-name "g_local_file_monitor_get_type")
- (return-type "GType")
-)
-
-(define-function g_local_file_monitor_new_for_path
- (c-name "g_local_file_monitor_new_for_path")
- (return-type "GFileMonitor*")
- (parameters
- '("const-gchar*" "pathname")
- '("gboolean" "is_directory")
- '("GFileMonitorFlags" "flags")
- '("GError**" "error")
- )
-)
-
-(define-function g_local_file_monitor_new_in_worker
- (c-name "g_local_file_monitor_new_in_worker")
- (return-type "GFileMonitor*")
- (parameters
- '("const-gchar*" "pathname")
- '("gboolean" "is_directory")
- '("GFileMonitorFlags" "flags")
- '("GFileMonitorCallback" "callback")
- '("gpointer" "user_data")
- '("GError**" "error")
- )
-)
-
-(define-method handle_event
- (of-object "GFileMonitorSource")
- (c-name "g_file_monitor_source_handle_event")
- (return-type "gboolean")
- (parameters
- '("GFileMonitorEvent" "event_type")
- '("const-gchar*" "child")
- '("const-gchar*" "rename_to")
- '("GFile*" "other")
- '("gint64" "event_time")
+ '("GBytes*" "bytes")
)
)
-
-
-;; From glocalfileoutputstream.h
-
-
-
-;; From glocalvfs.h
-
-
-
-;; From gmemoryinputstream.h
-
-(define-function g_memory_input_stream_get_type
- (c-name "g_memory_input_stream_get_type")
- (return-type "GType")
-)
-
-(define-function g_memory_input_stream_new
- (c-name "g_memory_input_stream_new")
- (is-constructor-of "GMemoryInputStream")
- (return-type "GInputStream*")
-)
-
(define-function g_memory_input_stream_new_from_data
(c-name "g_memory_input_stream_new_from_data")
(return-type "GInputStream*")
(parameters
- '("const-void*" "data")
+ '("void*" "data")
'("gssize" "len")
'("GDestroyNotify" "destroy")
)
)
-(define-function g_memory_input_stream_new_from_bytes
- (c-name "g_memory_input_stream_new_from_bytes")
- (return-type "GInputStream*")
+(define-method add_bytes
+ (of-object "GMemoryInputStream")
+ (c-name "g_memory_input_stream_add_bytes")
+ (return-type "void")
(parameters
'("GBytes*" "bytes")
)
@@ -11894,7 +6241,7 @@
(define-method add_data
(of-object "GMemoryInputStream")
(c-name "g_memory_input_stream_add_data")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-void*" "data")
'("gssize" "len")
@@ -11902,27 +6249,8 @@
)
)
-(define-method add_bytes
- (of-object "GMemoryInputStream")
- (c-name "g_memory_input_stream_add_bytes")
- (return-type "none")
- (parameters
- '("GBytes*" "bytes")
- )
-)
-
-
-
-;; From gmemoryoutputstream.h
-
-(define-function g_memory_output_stream_get_type
- (c-name "g_memory_output_stream_get_type")
- (return-type "GType")
-)
-
(define-function g_memory_output_stream_new
(c-name "g_memory_output_stream_new")
- (is-constructor-of "GMemoryOutputStream")
(return-type "GOutputStream*")
(parameters
'("gpointer" "data")
@@ -11943,22 +6271,16 @@
(return-type "gpointer")
)
-(define-method get_size
- (of-object "GMemoryOutputStream")
- (c-name "g_memory_output_stream_get_size")
- (return-type "gsize")
-)
-
(define-method get_data_size
(of-object "GMemoryOutputStream")
(c-name "g_memory_output_stream_get_data_size")
(return-type "gsize")
)
-(define-method steal_data
+(define-method get_size
(of-object "GMemoryOutputStream")
- (c-name "g_memory_output_stream_steal_data")
- (return-type "gpointer")
+ (c-name "g_memory_output_stream_get_size")
+ (return-type "gsize")
)
(define-method steal_as_bytes
@@ -11967,98 +6289,66 @@
(return-type "GBytes*")
)
-
-
-;; From gmenuexporter.h
-
-(define-method export_menu_model
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_export_menu_model")
- (return-type "guint")
- (parameters
- '("const-gchar*" "object_path")
- '("GMenuModel*" "menu")
- '("GError**" "error")
- )
-)
-
-(define-method unexport_menu_model
- (of-object "GDBusConnection")
- (c-name "g_dbus_connection_unexport_menu_model")
- (return-type "none")
- (parameters
- '("guint" "export_id")
- )
-)
-
-
-
-;; From gmenu.h
-
-(define-function g_menu_get_type
- (c-name "g_menu_get_type")
- (return-type "GType")
+(define-method steal_data
+ (of-object "GMemoryOutputStream")
+ (c-name "g_memory_output_stream_steal_data")
+ (return-type "gpointer")
)
(define-function g_menu_new
(c-name "g_menu_new")
- (is-constructor-of "GMenu")
(return-type "GMenu*")
)
-(define-method freeze
- (of-object "GMenu")
- (c-name "g_menu_freeze")
- (return-type "none")
-)
-
-(define-method insert_item
+(define-method append
(of-object "GMenu")
- (c-name "g_menu_insert_item")
- (return-type "none")
+ (c-name "g_menu_append")
+ (return-type "void")
(parameters
- '("gint" "position")
- '("GMenuItem*" "item")
+ '("const-gchar*" "label")
+ '("const-gchar*" "detailed_action")
)
)
-(define-method prepend_item
+(define-method append_item
(of-object "GMenu")
- (c-name "g_menu_prepend_item")
- (return-type "none")
+ (c-name "g_menu_append_item")
+ (return-type "void")
(parameters
'("GMenuItem*" "item")
)
)
-(define-method append_item
+(define-method append_section
(of-object "GMenu")
- (c-name "g_menu_append_item")
- (return-type "none")
+ (c-name "g_menu_append_section")
+ (return-type "void")
(parameters
- '("GMenuItem*" "item")
+ '("const-gchar*" "label")
+ '("GMenuModel*" "section")
)
)
-(define-method remove
+(define-method append_submenu
(of-object "GMenu")
- (c-name "g_menu_remove")
- (return-type "none")
+ (c-name "g_menu_append_submenu")
+ (return-type "void")
(parameters
- '("gint" "position")
+ '("const-gchar*" "label")
+ '("GMenuModel*" "submenu")
)
)
-(define-method remove_all
+(define-method freeze
(of-object "GMenu")
- (c-name "g_menu_remove_all")
- (return-type "none")
+ (c-name "g_menu_freeze")
+ (return-type "void")
)
(define-method insert
(of-object "GMenu")
(c-name "g_menu_insert")
- (return-type "none")
+ (return-type "void")
(parameters
'("gint" "position")
'("const-gchar*" "label")
@@ -12066,96 +6356,122 @@
)
)
-(define-method prepend
+(define-method insert_item
(of-object "GMenu")
- (c-name "g_menu_prepend")
- (return-type "none")
+ (c-name "g_menu_insert_item")
+ (return-type "void")
(parameters
- '("const-gchar*" "label")
- '("const-gchar*" "detailed_action")
+ '("gint" "position")
+ '("GMenuItem*" "item")
)
)
-(define-method append
+(define-method insert_section
(of-object "GMenu")
- (c-name "g_menu_append")
- (return-type "none")
+ (c-name "g_menu_insert_section")
+ (return-type "void")
(parameters
+ '("gint" "position")
'("const-gchar*" "label")
- '("const-gchar*" "detailed_action")
+ '("GMenuModel*" "section")
)
)
-(define-method insert_section
+(define-method insert_submenu
(of-object "GMenu")
- (c-name "g_menu_insert_section")
- (return-type "none")
+ (c-name "g_menu_insert_submenu")
+ (return-type "void")
(parameters
'("gint" "position")
'("const-gchar*" "label")
- '("GMenuModel*" "section")
+ '("GMenuModel*" "submenu")
)
)
-(define-method prepend_section
+(define-method prepend
(of-object "GMenu")
- (c-name "g_menu_prepend_section")
- (return-type "none")
+ (c-name "g_menu_prepend")
+ (return-type "void")
(parameters
'("const-gchar*" "label")
- '("GMenuModel*" "section")
+ '("const-gchar*" "detailed_action")
)
)
-(define-method append_section
+(define-method prepend_item
(of-object "GMenu")
- (c-name "g_menu_append_section")
- (return-type "none")
+ (c-name "g_menu_prepend_item")
+ (return-type "void")
(parameters
- '("const-gchar*" "label")
- '("GMenuModel*" "section")
+ '("GMenuItem*" "item")
)
)
-(define-method insert_submenu
+(define-method prepend_section
(of-object "GMenu")
- (c-name "g_menu_insert_submenu")
- (return-type "none")
+ (c-name "g_menu_prepend_section")
+ (return-type "void")
(parameters
- '("gint" "position")
'("const-gchar*" "label")
- '("GMenuModel*" "submenu")
+ '("GMenuModel*" "section")
)
)
(define-method prepend_submenu
(of-object "GMenu")
(c-name "g_menu_prepend_submenu")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "label")
'("GMenuModel*" "submenu")
)
)
-(define-method append_submenu
+(define-method remove
(of-object "GMenu")
- (c-name "g_menu_append_submenu")
- (return-type "none")
+ (c-name "g_menu_remove")
+ (return-type "void")
(parameters
- '("const-gchar*" "label")
- '("GMenuModel*" "submenu")
+ '("gint" "position")
)
)
-(define-function g_menu_item_get_type
- (c-name "g_menu_item_get_type")
- (return-type "GType")
+(define-method remove_all
+ (of-object "GMenu")
+ (c-name "g_menu_remove_all")
+ (return-type "void")
+)
+
+(define-method get_name
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_get_name")
+ (return-type "const-gchar*")
+)
+
+(define-method get_next
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_get_next")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar**" "out_name")
+ '("GVariant**" "value")
+ )
+)
+
+(define-method get_value
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_get_value")
+ (return-type "GVariant*")
+)
+
+(define-method next
+ (of-object "GMenuAttributeIter")
+ (c-name "g_menu_attribute_iter_next")
+ (return-type "gboolean")
)
(define-function g_menu_item_new
(c-name "g_menu_item_new")
- (is-constructor-of "GMenuItem")
(return-type "GMenuItem*")
(parameters
'("const-gchar*" "label")
@@ -12172,15 +6488,6 @@
)
)
-(define-function g_menu_item_new_submenu
- (c-name "g_menu_item_new_submenu")
- (return-type "GMenuItem*")
- (parameters
- '("const-gchar*" "label")
- '("GMenuModel*" "submenu")
- )
-)
-
(define-function g_menu_item_new_section
(c-name "g_menu_item_new_section")
(return-type "GMenuItem*")
@@ -12190,13 +6497,12 @@
)
)
-(define-method get_attribute_value
- (of-object "GMenuItem")
- (c-name "g_menu_item_get_attribute_value")
- (return-type "GVariant*")
+(define-function g_menu_item_new_submenu
+ (c-name "g_menu_item_new_submenu")
+ (return-type "GMenuItem*")
(parameters
- '("const-gchar*" "attribute")
- '("const-GVariantType*" "expected_type")
+ '("const-gchar*" "label")
+ '("GMenuModel*" "submenu")
)
)
@@ -12207,102 +6513,75 @@
(parameters
'("const-gchar*" "attribute")
'("const-gchar*" "format_string")
- )
- (varargs #t)
-)
-
-(define-method get_link
- (of-object "GMenuItem")
- (c-name "g_menu_item_get_link")
- (return-type "GMenuModel*")
- (parameters
- '("const-gchar*" "link")
- )
-)
-
-(define-method set_attribute_value
- (of-object "GMenuItem")
- (c-name "g_menu_item_set_attribute_value")
- (return-type "none")
- (parameters
- '("const-gchar*" "attribute")
- '("GVariant*" "value")
+ '("..." "...")
)
)
-(define-method set_attribute
+(define-method get_attribute_value
(of-object "GMenuItem")
- (c-name "g_menu_item_set_attribute")
- (return-type "none")
+ (c-name "g_menu_item_get_attribute_value")
+ (return-type "GVariant*")
(parameters
'("const-gchar*" "attribute")
- '("const-gchar*" "format_string")
+ '("const-GVariantType*" "expected_type")
)
- (varargs #t)
)
-(define-method set_link
+(define-method get_link
(of-object "GMenuItem")
- (c-name "g_menu_item_set_link")
- (return-type "none")
+ (c-name "g_menu_item_get_link")
+ (return-type "GMenuModel*")
(parameters
'("const-gchar*" "link")
- '("GMenuModel*" "model")
)
)
-(define-method set_label
- (of-object "GMenuItem")
- (c-name "g_menu_item_set_label")
- (return-type "none")
- (parameters
- '("const-gchar*" "label")
- )
-)
-
-(define-method set_submenu
- (of-object "GMenuItem")
- (c-name "g_menu_item_set_submenu")
- (return-type "none")
- (parameters
- '("GMenuModel*" "submenu")
- )
-)
-
-(define-method set_section
+(define-method set_action_and_target
(of-object "GMenuItem")
- (c-name "g_menu_item_set_section")
- (return-type "none")
+ (c-name "g_menu_item_set_action_and_target")
+ (return-type "void")
(parameters
- '("GMenuModel*" "section")
+ '("const-gchar*" "action")
+ '("const-gchar*" "format_string")
+ '("..." "...")
)
)
(define-method set_action_and_target_value
(of-object "GMenuItem")
(c-name "g_menu_item_set_action_and_target_value")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "action")
'("GVariant*" "target_value")
)
)
-(define-method set_action_and_target
+(define-method set_attribute
(of-object "GMenuItem")
- (c-name "g_menu_item_set_action_and_target")
- (return-type "none")
+ (c-name "g_menu_item_set_attribute")
+ (return-type "void")
(parameters
- '("const-gchar*" "action")
+ '("const-gchar*" "attribute")
'("const-gchar*" "format_string")
+ '("..." "...")
+ )
+)
+
+(define-method set_attribute_value
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_attribute_value")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "attribute")
+ '("GVariant*" "value")
)
- (varargs #t)
)
(define-method set_detailed_action
(of-object "GMenuItem")
(c-name "g_menu_item_set_detailed_action")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "detailed_action")
)
@@ -12311,133 +6590,55 @@
(define-method set_icon
(of-object "GMenuItem")
(c-name "g_menu_item_set_icon")
- (return-type "none")
+ (return-type "void")
(parameters
'("GIcon*" "icon")
)
)
-
-
-;; From gmenumodel.h
-
-(define-function g_menu_model_get_type
- (c-name "g_menu_model_get_type")
- (return-type "GType")
-)
-
-(define-method is_mutable
- (of-object "GMenuModel")
- (c-name "g_menu_model_is_mutable")
- (return-type "gboolean")
-)
-
-(define-method get_n_items
- (of-object "GMenuModel")
- (c-name "g_menu_model_get_n_items")
- (return-type "gint")
-)
-
-(define-method iterate_item_attributes
- (of-object "GMenuModel")
- (c-name "g_menu_model_iterate_item_attributes")
- (return-type "GMenuAttributeIter*")
- (parameters
- '("gint" "item_index")
- )
-)
-
-(define-method get_item_attribute_value
- (of-object "GMenuModel")
- (c-name "g_menu_model_get_item_attribute_value")
- (return-type "GVariant*")
- (parameters
- '("gint" "item_index")
- '("const-gchar*" "attribute")
- '("const-GVariantType*" "expected_type")
- )
-)
-
-(define-method get_item_attribute
- (of-object "GMenuModel")
- (c-name "g_menu_model_get_item_attribute")
- (return-type "gboolean")
- (parameters
- '("gint" "item_index")
- '("const-gchar*" "attribute")
- '("const-gchar*" "format_string")
- )
- (varargs #t)
-)
-
-(define-method iterate_item_links
- (of-object "GMenuModel")
- (c-name "g_menu_model_iterate_item_links")
- (return-type "GMenuLinkIter*")
+(define-method set_label
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_label")
+ (return-type "void")
(parameters
- '("gint" "item_index")
+ '("const-gchar*" "label")
)
)
-(define-method get_item_link
- (of-object "GMenuModel")
- (c-name "g_menu_model_get_item_link")
- (return-type "GMenuModel*")
+(define-method set_link
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_link")
+ (return-type "void")
(parameters
- '("gint" "item_index")
'("const-gchar*" "link")
+ '("GMenuModel*" "model")
)
)
-(define-method items_changed
- (of-object "GMenuModel")
- (c-name "g_menu_model_items_changed")
- (return-type "none")
+(define-method set_section
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_section")
+ (return-type "void")
(parameters
- '("gint" "position")
- '("gint" "removed")
- '("gint" "added")
+ '("GMenuModel*" "section")
)
)
-(define-function g_menu_attribute_iter_get_type
- (c-name "g_menu_attribute_iter_get_type")
- (return-type "GType")
-)
-
-(define-method get_next
- (of-object "GMenuAttributeIter")
- (c-name "g_menu_attribute_iter_get_next")
- (return-type "gboolean")
+(define-method set_submenu
+ (of-object "GMenuItem")
+ (c-name "g_menu_item_set_submenu")
+ (return-type "void")
(parameters
- '("const-gchar**" "out_name")
- '("GVariant**" "value")
+ '("GMenuModel*" "submenu")
)
)
-(define-method next
- (of-object "GMenuAttributeIter")
- (c-name "g_menu_attribute_iter_next")
- (return-type "gboolean")
-)
-
(define-method get_name
- (of-object "GMenuAttributeIter")
- (c-name "g_menu_attribute_iter_get_name")
+ (of-object "GMenuLinkIter")
+ (c-name "g_menu_link_iter_get_name")
(return-type "const-gchar*")
)
-(define-method get_value
- (of-object "GMenuAttributeIter")
- (c-name "g_menu_attribute_iter_get_value")
- (return-type "GVariant*")
-)
-
-(define-function g_menu_link_iter_get_type
- (c-name "g_menu_link_iter_get_type")
- (return-type "GType")
-)
-
(define-method get_next
(of-object "GMenuLinkIter")
(c-name "g_menu_link_iter_get_next")
@@ -12448,417 +6649,198 @@
)
)
-(define-method next
- (of-object "GMenuLinkIter")
- (c-name "g_menu_link_iter_next")
- (return-type "gboolean")
-)
-
-(define-method get_name
- (of-object "GMenuLinkIter")
- (c-name "g_menu_link_iter_get_name")
- (return-type "const-gchar*")
-)
-
(define-method get_value
(of-object "GMenuLinkIter")
(c-name "g_menu_link_iter_get_value")
(return-type "GMenuModel*")
)
-
-
-;; From gmount.h
-
-(define-function g_mount_get_type
- (c-name "g_mount_get_type")
- (return-type "GType")
-)
-
-(define-method get_root
- (of-object "GMount")
- (c-name "g_mount_get_root")
- (return-type "GFile*")
-)
-
-(define-method get_default_location
- (of-object "GMount")
- (c-name "g_mount_get_default_location")
- (return-type "GFile*")
-)
-
-(define-method get_name
- (of-object "GMount")
- (c-name "g_mount_get_name")
- (return-type "char*")
-)
-
-(define-method get_icon
- (of-object "GMount")
- (c-name "g_mount_get_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_symbolic_icon
- (of-object "GMount")
- (c-name "g_mount_get_symbolic_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_uuid
- (of-object "GMount")
- (c-name "g_mount_get_uuid")
- (return-type "char*")
-)
-
-(define-method get_volume
- (of-object "GMount")
- (c-name "g_mount_get_volume")
- (return-type "GVolume*")
-)
-
-(define-method get_drive
- (of-object "GMount")
- (c-name "g_mount_get_drive")
- (return-type "GDrive*")
-)
-
-(define-method can_unmount
- (of-object "GMount")
- (c-name "g_mount_can_unmount")
- (return-type "gboolean")
-)
-
-(define-method can_eject
- (of-object "GMount")
- (c-name "g_mount_can_eject")
+(define-method next
+ (of-object "GMenuLinkIter")
+ (c-name "g_menu_link_iter_next")
(return-type "gboolean")
)
-(define-method unmount
- (of-object "GMount")
- (c-name "g_mount_unmount")
- (return-type "none")
- (parameters
- '("GMountUnmountFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method unmount_finish
- (of-object "GMount")
- (c-name "g_mount_unmount_finish")
+(define-method get_item_attribute
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_item_attribute")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("gint" "item_index")
+ '("const-gchar*" "attribute")
+ '("const-gchar*" "format_string")
+ '("..." "...")
)
)
-(define-method eject
- (of-object "GMount")
- (c-name "g_mount_eject")
- (return-type "none")
+(define-method get_item_attribute_value
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_item_attribute_value")
+ (return-type "GVariant*")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("gint" "item_index")
+ '("const-gchar*" "attribute")
+ '("const-GVariantType*" "expected_type")
)
)
-(define-method eject_finish
- (of-object "GMount")
- (c-name "g_mount_eject_finish")
- (return-type "gboolean")
+(define-method get_item_link
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_item_link")
+ (return-type "GMenuModel*")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("gint" "item_index")
+ '("const-gchar*" "link")
)
)
-(define-method remount
- (of-object "GMount")
- (c-name "g_mount_remount")
- (return-type "none")
- (parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_n_items
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_get_n_items")
+ (return-type "gint")
)
-(define-method remount_finish
- (of-object "GMount")
- (c-name "g_mount_remount_finish")
+(define-method is_mutable
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_is_mutable")
(return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-(define-method guess_content_type
- (of-object "GMount")
- (c-name "g_mount_guess_content_type")
- (return-type "none")
- (parameters
- '("gboolean" "force_rescan")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
)
-(define-method guess_content_type_finish
- (of-object "GMount")
- (c-name "g_mount_guess_content_type_finish")
- (return-type "gchar**")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-(define-method guess_content_type_sync
- (of-object "GMount")
- (c-name "g_mount_guess_content_type_sync")
- (return-type "gchar**")
+(define-method items_changed
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_items_changed")
+ (return-type "void")
(parameters
- '("gboolean" "force_rescan")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gint" "position")
+ '("gint" "removed")
+ '("gint" "added")
)
)
-(define-method is_shadowed
- (of-object "GMount")
- (c-name "g_mount_is_shadowed")
- (return-type "gboolean")
-)
-
-(define-method shadow
- (of-object "GMount")
- (c-name "g_mount_shadow")
- (return-type "none")
-)
-
-(define-method unshadow
- (of-object "GMount")
- (c-name "g_mount_unshadow")
- (return-type "none")
-)
-
-(define-method unmount_with_operation
- (of-object "GMount")
- (c-name "g_mount_unmount_with_operation")
- (return-type "none")
+(define-method iterate_item_attributes
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_iterate_item_attributes")
+ (return-type "GMenuAttributeIter*")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("gint" "item_index")
)
)
-(define-method unmount_with_operation_finish
- (of-object "GMount")
- (c-name "g_mount_unmount_with_operation_finish")
- (return-type "gboolean")
+(define-method iterate_item_links
+ (of-object "GMenuModel")
+ (c-name "g_menu_model_iterate_item_links")
+ (return-type "GMenuLinkIter*")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("gint" "item_index")
)
)
-(define-method eject_with_operation
- (of-object "GMount")
- (c-name "g_mount_eject_with_operation")
- (return-type "none")
- (parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-function g_mount_operation_new
+ (c-name "g_mount_operation_new")
+ (return-type "GMountOperation*")
)
-(define-method eject_with_operation_finish
- (of-object "GMount")
- (c-name "g_mount_eject_with_operation_finish")
+(define-method get_anonymous
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_anonymous")
(return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-(define-method get_sort_key
- (of-object "GMount")
- (c-name "g_mount_get_sort_key")
- (return-type "const-gchar*")
)
-
-
-;; From gmountoperation.h
-
-(define-function g_mount_operation_get_type
- (c-name "g_mount_operation_get_type")
- (return-type "GType")
+(define-method get_choice
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_choice")
+ (return-type "int")
)
-(define-function g_mount_operation_new
- (c-name "g_mount_operation_new")
- (is-constructor-of "GMountOperation")
- (return-type "GMountOperation*")
+(define-method get_domain
+ (of-object "GMountOperation")
+ (c-name "g_mount_operation_get_domain")
+ (return-type "const-char*")
)
-(define-method get_username
+(define-method get_password
(of-object "GMountOperation")
- (c-name "g_mount_operation_get_username")
+ (c-name "g_mount_operation_get_password")
(return-type "const-char*")
)
-(define-method set_username
+(define-method get_password_save
(of-object "GMountOperation")
- (c-name "g_mount_operation_set_username")
- (return-type "none")
- (parameters
- '("const-char*" "username")
- )
+ (c-name "g_mount_operation_get_password_save")
+ (return-type "GPasswordSave")
)
-(define-method get_password
+(define-method get_username
(of-object "GMountOperation")
- (c-name "g_mount_operation_get_password")
+ (c-name "g_mount_operation_get_username")
(return-type "const-char*")
)
-(define-method set_password
+(define-method reply
(of-object "GMountOperation")
- (c-name "g_mount_operation_set_password")
- (return-type "none")
+ (c-name "g_mount_operation_reply")
+ (return-type "void")
(parameters
- '("const-char*" "password")
+ '("GMountOperationResult" "result")
)
)
-(define-method get_anonymous
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_anonymous")
- (return-type "gboolean")
-)
-
(define-method set_anonymous
(of-object "GMountOperation")
(c-name "g_mount_operation_set_anonymous")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "anonymous")
)
)
-(define-method get_domain
+(define-method set_choice
(of-object "GMountOperation")
- (c-name "g_mount_operation_get_domain")
- (return-type "const-char*")
+ (c-name "g_mount_operation_set_choice")
+ (return-type "void")
+ (parameters
+ '("int" "choice")
+ )
)
(define-method set_domain
(of-object "GMountOperation")
(c-name "g_mount_operation_set_domain")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-char*" "domain")
)
)
-(define-method get_password_save
+(define-method set_password
(of-object "GMountOperation")
- (c-name "g_mount_operation_get_password_save")
- (return-type "GPasswordSave")
+ (c-name "g_mount_operation_set_password")
+ (return-type "void")
+ (parameters
+ '("const-char*" "password")
+ )
)
(define-method set_password_save
(of-object "GMountOperation")
(c-name "g_mount_operation_set_password_save")
- (return-type "none")
+ (return-type "void")
(parameters
'("GPasswordSave" "save")
)
)
-(define-method get_choice
- (of-object "GMountOperation")
- (c-name "g_mount_operation_get_choice")
- (return-type "int")
-)
-
-(define-method set_choice
- (of-object "GMountOperation")
- (c-name "g_mount_operation_set_choice")
- (return-type "none")
- (parameters
- '("int" "choice")
- )
-)
-
-(define-method reply
+(define-method set_username
(of-object "GMountOperation")
- (c-name "g_mount_operation_reply")
- (return-type "none")
- (parameters
- '("GMountOperationResult" "result")
- )
-)
-
-
-
-;; From gnativesocketaddress.h
-
-(define-function g_native_socket_address_get_type
- (c-name "g_native_socket_address_get_type")
- (return-type "GType")
-)
-
-(define-function g_native_socket_address_new
- (c-name "g_native_socket_address_new")
- (is-constructor-of "GNativeSocketAddress")
- (return-type "GSocketAddress*")
+ (c-name "g_mount_operation_set_username")
+ (return-type "void")
(parameters
- '("gpointer" "native")
- '("gsize" "len")
+ '("const-char*" "username")
)
)
-
-
-;; From gnativevolumemonitor.h
-
-(define-function g_native_volume_monitor_get_type
- (c-name "g_native_volume_monitor_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gnetworkaddress.h
-
-(define-function g_network_address_get_type
- (c-name "g_network_address_get_type")
- (return-type "GType")
-)
-
(define-function g_network_address_new
(c-name "g_network_address_new")
- (is-constructor-of "GNetworkAddress")
(return-type "GSocketConnectable*")
(parameters
'("const-gchar*" "hostname")
@@ -12912,146 +6894,8 @@
(return-type "const-gchar*")
)
-
-
-;; From gnetworking.h
-
-(define-function g_networking_init
- (c-name "g_networking_init")
- (return-type "none")
-)
-
-
-
-;; From gnetworkmonitorbase.h
-
-(define-function g_network_monitor_base_get_type
- (c-name "g_network_monitor_base_get_type")
- (return-type "GType")
-)
-
-(define-method add_network
- (of-object "GNetworkMonitorBase")
- (c-name "g_network_monitor_base_add_network")
- (return-type "none")
- (parameters
- '("GInetAddressMask*" "network")
- )
-)
-
-(define-method remove_network
- (of-object "GNetworkMonitorBase")
- (c-name "g_network_monitor_base_remove_network")
- (return-type "none")
- (parameters
- '("GInetAddressMask*" "network")
- )
-)
-
-(define-method set_networks
- (of-object "GNetworkMonitorBase")
- (c-name "g_network_monitor_base_set_networks")
- (return-type "none")
- (parameters
- '("GInetAddressMask**" "networks")
- '("gint" "length")
- )
-)
-
-
-
-;; From gnetworkmonitor.h
-
-(define-function g_network_monitor_get_type
- (c-name "g_network_monitor_get_type")
- (return-type "GType")
-)
-
-(define-function g_network_monitor_get_default
- (c-name "g_network_monitor_get_default")
- (return-type "GNetworkMonitor*")
-)
-
-(define-method get_network_available
- (of-object "GNetworkMonitor")
- (c-name "g_network_monitor_get_network_available")
- (return-type "gboolean")
-)
-
-(define-method get_network_metered
- (of-object "GNetworkMonitor")
- (c-name "g_network_monitor_get_network_metered")
- (return-type "gboolean")
-)
-
-(define-method get_connectivity
- (of-object "GNetworkMonitor")
- (c-name "g_network_monitor_get_connectivity")
- (return-type "GNetworkConnectivity")
-)
-
-(define-method can_reach
- (of-object "GNetworkMonitor")
- (c-name "g_network_monitor_can_reach")
- (return-type "gboolean")
- (parameters
- '("GSocketConnectable*" "connectable")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method can_reach_async
- (of-object "GNetworkMonitor")
- (c-name "g_network_monitor_can_reach_async")
- (return-type "none")
- (parameters
- '("GSocketConnectable*" "connectable")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method can_reach_finish
- (of-object "GNetworkMonitor")
- (c-name "g_network_monitor_can_reach_finish")
- (return-type "gboolean")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-
-
-;; From gnetworkmonitornetlink.h
-
-
-
-;; From gnetworkmonitornm.h
-
-
-
-;; From gnetworkmonitorportal.h
-
-(define-function g_network_monitor_portal_get_type
- (c-name "g_network_monitor_portal_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gnetworkservice.h
-
-(define-function g_network_service_get_type
- (c-name "g_network_service_get_type")
- (return-type "GType")
-)
-
(define-function g_network_service_new
(c-name "g_network_service_new")
- (is-constructor-of "GNetworkService")
(return-type "GSocketConnectable*")
(parameters
'("const-gchar*" "service")
@@ -13060,9 +6904,9 @@
)
)
-(define-method get_service
+(define-method get_domain
(of-object "GNetworkService")
- (c-name "g_network_service_get_service")
+ (c-name "g_network_service_get_domain")
(return-type "const-gchar*")
)
@@ -13072,130 +6916,39 @@
(return-type "const-gchar*")
)
-(define-method get_domain
+(define-method get_scheme
(of-object "GNetworkService")
- (c-name "g_network_service_get_domain")
+ (c-name "g_network_service_get_scheme")
(return-type "const-gchar*")
)
-(define-method get_scheme
+(define-method get_service
(of-object "GNetworkService")
- (c-name "g_network_service_get_scheme")
+ (c-name "g_network_service_get_service")
(return-type "const-gchar*")
)
(define-method set_scheme
(of-object "GNetworkService")
(c-name "g_network_service_set_scheme")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "scheme")
)
)
-
-
-;; From gnotificationbackend.h
-
-(define-function g_notification_backend_get_type
- (c-name "g_notification_backend_get_type")
- (return-type "GType")
-)
-
-(define-function g_notification_backend_new_default
- (c-name "g_notification_backend_new_default")
- (return-type "GNotificationBackend*")
- (parameters
- '("GApplication*" "application")
- )
-)
-
-(define-method send_notification
- (of-object "GNotificationBackend")
- (c-name "g_notification_backend_send_notification")
- (return-type "none")
- (parameters
- '("const-gchar*" "id")
- '("GNotification*" "notification")
- )
-)
-
-(define-method withdraw_notification
- (of-object "GNotificationBackend")
- (c-name "g_notification_backend_withdraw_notification")
- (return-type "none")
- (parameters
- '("const-gchar*" "id")
- )
-)
-
-
-
-;; From gnotification.h
-
-(define-function g_notification_get_type
- (c-name "g_notification_get_type")
- (return-type "GType")
-)
-
(define-function g_notification_new
(c-name "g_notification_new")
- (is-constructor-of "GNotification")
(return-type "GNotification*")
(parameters
'("const-gchar*" "title")
)
)
-(define-method set_title
- (of-object "GNotification")
- (c-name "g_notification_set_title")
- (return-type "none")
- (parameters
- '("const-gchar*" "title")
- )
-)
-
-(define-method set_body
- (of-object "GNotification")
- (c-name "g_notification_set_body")
- (return-type "none")
- (parameters
- '("const-gchar*" "body")
- )
-)
-
-(define-method set_icon
- (of-object "GNotification")
- (c-name "g_notification_set_icon")
- (return-type "none")
- (parameters
- '("GIcon*" "icon")
- )
-)
-
-(define-method set_urgent
- (of-object "GNotification")
- (c-name "g_notification_set_urgent")
- (return-type "none")
- (parameters
- '("gboolean" "urgent")
- )
-)
-
-(define-method set_priority
- (of-object "GNotification")
- (c-name "g_notification_set_priority")
- (return-type "none")
- (parameters
- '("GNotificationPriority" "priority")
- )
-)
-
(define-method add_button
(of-object "GNotification")
(c-name "g_notification_add_button")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "label")
'("const-gchar*" "detailed_action")
@@ -13205,19 +6958,19 @@
(define-method add_button_with_target
(of-object "GNotification")
(c-name "g_notification_add_button_with_target")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "label")
'("const-gchar*" "action")
'("const-gchar*" "target_format")
+ '("..." "...")
)
- (varargs #t)
)
(define-method add_button_with_target_value
(of-object "GNotification")
(c-name "g_notification_add_button_with_target_value")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "label")
'("const-gchar*" "action")
@@ -13225,10 +6978,19 @@
)
)
+(define-method set_body
+ (of-object "GNotification")
+ (c-name "g_notification_set_body")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "body")
+ )
+)
+
(define-method set_default_action
(of-object "GNotification")
(c-name "g_notification_set_default_action")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "detailed_action")
)
@@ -13237,120 +6999,101 @@
(define-method set_default_action_and_target
(of-object "GNotification")
(c-name "g_notification_set_default_action_and_target")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "action")
'("const-gchar*" "target_format")
+ '("..." "...")
)
- (varargs #t)
)
(define-method set_default_action_and_target_value
(of-object "GNotification")
(c-name "g_notification_set_default_action_and_target_value")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "action")
'("GVariant*" "target")
)
)
-
-
-;; From goutputstream.h
-
-(define-function g_output_stream_get_type
- (c-name "g_output_stream_get_type")
- (return-type "GType")
+(define-method set_icon
+ (of-object "GNotification")
+ (c-name "g_notification_set_icon")
+ (return-type "void")
+ (parameters
+ '("GIcon*" "icon")
+ )
)
-(define-method write
- (of-object "GOutputStream")
- (c-name "g_output_stream_write")
- (return-type "gssize")
+(define-method set_priority
+ (of-object "GNotification")
+ (c-name "g_notification_set_priority")
+ (return-type "void")
(parameters
- '("const-void*" "buffer")
- '("gsize" "count")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GNotificationPriority" "priority")
)
)
-(define-method write_all
- (of-object "GOutputStream")
- (c-name "g_output_stream_write_all")
- (return-type "gboolean")
+(define-method set_title
+ (of-object "GNotification")
+ (c-name "g_notification_set_title")
+ (return-type "void")
(parameters
- '("const-void*" "buffer")
- '("gsize" "count")
- '("gsize*" "bytes_written")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("const-gchar*" "title")
)
)
-(define-method printf
- (of-object "GOutputStream")
- (c-name "g_output_stream_printf")
- (return-type "gboolean")
+(define-method set_urgent
+ (of-object "GNotification")
+ (c-name "g_notification_set_urgent")
+ (return-type "void")
(parameters
- '("gsize*" "bytes_written")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- '("const-gchar*" "format")
+ '("gboolean" "urgent")
)
- (varargs #t)
)
-(define-method vprintf
+(define-method clear_pending
(of-object "GOutputStream")
- (c-name "g_output_stream_vprintf")
- (return-type "gboolean")
- (parameters
- '("gsize*" "bytes_written")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- '("const-gchar*" "format")
- '("va_list" "args")
- )
+ (c-name "g_output_stream_clear_pending")
+ (return-type "void")
)
-(define-method write_bytes
+(define-method close
(of-object "GOutputStream")
- (c-name "g_output_stream_write_bytes")
- (return-type "gssize")
+ (c-name "g_output_stream_close")
+ (return-type "gboolean")
(parameters
- '("GBytes*" "bytes")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method splice
+(define-method close_async
(of-object "GOutputStream")
- (c-name "g_output_stream_splice")
- (return-type "gssize")
+ (c-name "g_output_stream_close_async")
+ (return-type "void")
(parameters
- '("GInputStream*" "source")
- '("GOutputStreamSpliceFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method flush
+(define-method close_finish
(of-object "GOutputStream")
- (c-name "g_output_stream_flush")
+ (c-name "g_output_stream_close_finish")
(return-type "gboolean")
(parameters
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method close
+(define-method flush
(of-object "GOutputStream")
- (c-name "g_output_stream_close")
+ (c-name "g_output_stream_flush")
(return-type "gboolean")
(parameters
'("GCancellable*" "cancellable")
@@ -13358,13 +7101,11 @@
)
)
-(define-method write_async
+(define-method flush_async
(of-object "GOutputStream")
- (c-name "g_output_stream_write_async")
- (return-type "none")
+ (c-name "g_output_stream_flush_async")
+ (return-type "void")
(parameters
- '("const-void*" "buffer")
- '("gsize" "count")
'("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
@@ -13372,60 +7113,64 @@
)
)
-(define-method write_finish
+(define-method flush_finish
(of-object "GOutputStream")
- (c-name "g_output_stream_write_finish")
- (return-type "gssize")
+ (c-name "g_output_stream_flush_finish")
+ (return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method write_all_async
+(define-method has_pending
(of-object "GOutputStream")
- (c-name "g_output_stream_write_all_async")
- (return-type "none")
- (parameters
- '("const-void*" "buffer")
- '("gsize" "count")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+ (c-name "g_output_stream_has_pending")
+ (return-type "gboolean")
)
-(define-method write_all_finish
+(define-method is_closed
(of-object "GOutputStream")
- (c-name "g_output_stream_write_all_finish")
+ (c-name "g_output_stream_is_closed")
+ (return-type "gboolean")
+)
+
+(define-method is_closing
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_is_closing")
+ (return-type "gboolean")
+)
+
+(define-method printf
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_printf")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
'("gsize*" "bytes_written")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
+ '("const-gchar*" "format")
+ '("..." "...")
)
)
-(define-method write_bytes_async
+(define-method set_pending
(of-object "GOutputStream")
- (c-name "g_output_stream_write_bytes_async")
- (return-type "none")
+ (c-name "g_output_stream_set_pending")
+ (return-type "gboolean")
(parameters
- '("GBytes*" "bytes")
- '("int" "io_priority")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method write_bytes_finish
+(define-method splice
(of-object "GOutputStream")
- (c-name "g_output_stream_write_bytes_finish")
+ (c-name "g_output_stream_splice")
(return-type "gssize")
(parameters
- '("GAsyncResult*" "result")
+ '("GInputStream*" "source")
+ '("GOutputStreamSpliceFlags" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
@@ -13433,7 +7178,7 @@
(define-method splice_async
(of-object "GOutputStream")
(c-name "g_output_stream_splice_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("GInputStream*" "source")
'("GOutputStreamSpliceFlags" "flags")
@@ -13454,33 +7199,51 @@
)
)
-(define-method flush_async
+(define-method vprintf
(of-object "GOutputStream")
- (c-name "g_output_stream_flush_async")
- (return-type "none")
+ (c-name "g_output_stream_vprintf")
+ (return-type "gboolean")
(parameters
- '("int" "io_priority")
+ '("gsize*" "bytes_written")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
+ '("const-gchar*" "format")
+ '("va_list" "args")
)
)
-(define-method flush_finish
+(define-method write
(of-object "GOutputStream")
- (c-name "g_output_stream_flush_finish")
+ (c-name "g_output_stream_write")
+ (return-type "gssize")
+ (parameters
+ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method write_all
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_all")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
+ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("gsize*" "bytes_written")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method close_async
+(define-method write_all_async
(of-object "GOutputStream")
- (c-name "g_output_stream_close_async")
- (return-type "none")
+ (c-name "g_output_stream_write_all_async")
+ (return-type "void")
(parameters
+ '("void*" "buffer")
+ '("gsize" "count")
'("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
@@ -13488,92 +7251,78 @@
)
)
-(define-method close_finish
+(define-method write_all_finish
(of-object "GOutputStream")
- (c-name "g_output_stream_close_finish")
+ (c-name "g_output_stream_write_all_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
+ '("gsize*" "bytes_written")
'("GError**" "error")
)
)
-(define-method is_closed
- (of-object "GOutputStream")
- (c-name "g_output_stream_is_closed")
- (return-type "gboolean")
-)
-
-(define-method is_closing
- (of-object "GOutputStream")
- (c-name "g_output_stream_is_closing")
- (return-type "gboolean")
-)
-
-(define-method has_pending
- (of-object "GOutputStream")
- (c-name "g_output_stream_has_pending")
- (return-type "gboolean")
-)
-
-(define-method set_pending
+(define-method write_async
(of-object "GOutputStream")
- (c-name "g_output_stream_set_pending")
- (return-type "gboolean")
+ (c-name "g_output_stream_write_async")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("void*" "buffer")
+ '("gsize" "count")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method clear_pending
+(define-method write_bytes
(of-object "GOutputStream")
- (c-name "g_output_stream_clear_pending")
- (return-type "none")
-)
-
-
-
-;; From gpermission.h
-
-(define-function g_permission_get_type
- (c-name "g_permission_get_type")
- (return-type "GType")
-)
-
-(define-method acquire
- (of-object "GPermission")
- (c-name "g_permission_acquire")
- (return-type "gboolean")
+ (c-name "g_output_stream_write_bytes")
+ (return-type "gssize")
(parameters
+ '("GBytes*" "bytes")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method acquire_async
- (of-object "GPermission")
- (c-name "g_permission_acquire_async")
- (return-type "none")
+(define-method write_bytes_async
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_bytes_async")
+ (return-type "void")
(parameters
+ '("GBytes*" "bytes")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method acquire_finish
- (of-object "GPermission")
- (c-name "g_permission_acquire_finish")
- (return-type "gboolean")
+(define-method write_bytes_finish
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_bytes_finish")
+ (return-type "gssize")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method release
+(define-method write_finish
+ (of-object "GOutputStream")
+ (c-name "g_output_stream_write_finish")
+ (return-type "gssize")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method acquire
(of-object "GPermission")
- (c-name "g_permission_release")
+ (c-name "g_permission_acquire")
(return-type "gboolean")
(parameters
'("GCancellable*" "cancellable")
@@ -13581,10 +7330,10 @@
)
)
-(define-method release_async
+(define-method acquire_async
(of-object "GPermission")
- (c-name "g_permission_release_async")
- (return-type "none")
+ (c-name "g_permission_acquire_async")
+ (return-type "void")
(parameters
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
@@ -13592,9 +7341,9 @@
)
)
-(define-method release_finish
+(define-method acquire_finish
(of-object "GPermission")
- (c-name "g_permission_release_finish")
+ (c-name "g_permission_acquire_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
@@ -13623,7 +7372,7 @@
(define-method impl_update
(of-object "GPermission")
(c-name "g_permission_impl_update")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "allowed")
'("gboolean" "can_acquire")
@@ -13631,183 +7380,39 @@
)
)
-
-
-;; From gpollableinputstream.h
-
-(define-function g_pollable_input_stream_get_type
- (c-name "g_pollable_input_stream_get_type")
- (return-type "GType")
-)
-
-(define-method can_poll
- (of-object "GPollableInputStream")
- (c-name "g_pollable_input_stream_can_poll")
- (return-type "gboolean")
-)
-
-(define-method is_readable
- (of-object "GPollableInputStream")
- (c-name "g_pollable_input_stream_is_readable")
- (return-type "gboolean")
-)
-
-(define-method create_source
- (of-object "GPollableInputStream")
- (c-name "g_pollable_input_stream_create_source")
- (return-type "GSource*")
- (parameters
- '("GCancellable*" "cancellable")
- )
-)
-
-(define-method read_nonblocking
- (of-object "GPollableInputStream")
- (c-name "g_pollable_input_stream_read_nonblocking")
- (return-type "gssize")
- (parameters
- '("void*" "buffer")
- '("gsize" "count")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-
-
-;; From gpollableoutputstream.h
-
-(define-function g_pollable_output_stream_get_type
- (c-name "g_pollable_output_stream_get_type")
- (return-type "GType")
-)
-
-(define-method can_poll
- (of-object "GPollableOutputStream")
- (c-name "g_pollable_output_stream_can_poll")
- (return-type "gboolean")
-)
-
-(define-method is_writable
- (of-object "GPollableOutputStream")
- (c-name "g_pollable_output_stream_is_writable")
+(define-method release
+ (of-object "GPermission")
+ (c-name "g_permission_release")
(return-type "gboolean")
-)
-
-(define-method create_source
- (of-object "GPollableOutputStream")
- (c-name "g_pollable_output_stream_create_source")
- (return-type "GSource*")
- (parameters
- '("GCancellable*" "cancellable")
- )
-)
-
-(define-method write_nonblocking
- (of-object "GPollableOutputStream")
- (c-name "g_pollable_output_stream_write_nonblocking")
- (return-type "gssize")
- (parameters
- '("const-void*" "buffer")
- '("gsize" "count")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-
-
-;; From gpollableutils.h
-
-(define-function g_pollable_source_new
- (c-name "g_pollable_source_new")
- (is-constructor-of "GPollableSource")
- (return-type "GSource*")
- (parameters
- '("GObject*" "pollable_stream")
- )
-)
-
-(define-function g_pollable_source_new_full
- (c-name "g_pollable_source_new_full")
- (return-type "GSource*")
- (parameters
- '("gpointer" "pollable_stream")
- '("GSource*" "child_source")
- '("GCancellable*" "cancellable")
- )
-)
-
-(define-function g_pollable_stream_read
- (c-name "g_pollable_stream_read")
- (return-type "gssize")
(parameters
- '("GInputStream*" "stream")
- '("void*" "buffer")
- '("gsize" "count")
- '("gboolean" "blocking")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_pollable_stream_write
- (c-name "g_pollable_stream_write")
- (return-type "gssize")
+(define-method release_async
+ (of-object "GPermission")
+ (c-name "g_permission_release_async")
+ (return-type "void")
(parameters
- '("GOutputStream*" "stream")
- '("const-void*" "buffer")
- '("gsize" "count")
- '("gboolean" "blocking")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-function g_pollable_stream_write_all
- (c-name "g_pollable_stream_write_all")
+(define-method release_finish
+ (of-object "GPermission")
+ (c-name "g_permission_release_finish")
(return-type "gboolean")
(parameters
- '("GOutputStream*" "stream")
- '("const-void*" "buffer")
- '("gsize" "count")
- '("gboolean" "blocking")
- '("gsize*" "bytes_written")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-
-
-;; From gpollfilemonitor.h
-
-
-
-;; From gportalsupport.h
-
-(define-function glib_should_use_portal
- (c-name "glib_should_use_portal")
- (return-type "gboolean")
-)
-
-(define-function glib_network_available_in_sandbox
- (c-name "glib_network_available_in_sandbox")
- (return-type "gboolean")
-)
-
-
-
-;; From gpropertyaction.h
-
-(define-function g_property_action_get_type
- (c-name "g_property_action_get_type")
- (return-type "GType")
-)
-
(define-function g_property_action_new
(c-name "g_property_action_new")
- (is-constructor-of "GPropertyAction")
(return-type "GPropertyAction*")
(parameters
'("const-gchar*" "name")
@@ -13816,27 +7421,8 @@
)
)
-
-
-;; From gproxyaddressenumerator.h
-
-(define-function g_proxy_address_enumerator_get_type
- (c-name "g_proxy_address_enumerator_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gproxyaddress.h
-
-(define-function g_proxy_address_get_type
- (c-name "g_proxy_address_get_type")
- (return-type "GType")
-)
-
(define-function g_proxy_address_new
(c-name "g_proxy_address_new")
- (is-constructor-of "GProxyAddress")
(return-type "GSocketAddress*")
(parameters
'("GInetAddress*" "inetaddr")
@@ -13849,18 +7435,6 @@
)
)
-(define-method get_protocol
- (of-object "GProxyAddress")
- (c-name "g_proxy_address_get_protocol")
- (return-type "const-gchar*")
-)
-
-(define-method get_destination_protocol
- (of-object "GProxyAddress")
- (c-name "g_proxy_address_get_destination_protocol")
- (return-type "const-gchar*")
-)
-
(define-method get_destination_hostname
(of-object "GProxyAddress")
(c-name "g_proxy_address_get_destination_hostname")
@@ -13873,9 +7447,9 @@
(return-type "guint16")
)
-(define-method get_username
+(define-method get_destination_protocol
(of-object "GProxyAddress")
- (c-name "g_proxy_address_get_username")
+ (c-name "g_proxy_address_get_destination_protocol")
(return-type "const-gchar*")
)
@@ -13885,192 +7459,78 @@
(return-type "const-gchar*")
)
-(define-method get_uri
+(define-method get_protocol
(of-object "GProxyAddress")
- (c-name "g_proxy_address_get_uri")
+ (c-name "g_proxy_address_get_protocol")
(return-type "const-gchar*")
)
-
-
-;; From gproxy.h
-
-(define-function g_proxy_get_type
- (c-name "g_proxy_get_type")
- (return-type "GType")
-)
-
-(define-function g_proxy_get_default_for_protocol
- (c-name "g_proxy_get_default_for_protocol")
- (return-type "GProxy*")
- (parameters
- '("const-gchar*" "protocol")
- )
+(define-method get_uri
+ (of-object "GProxyAddress")
+ (c-name "g_proxy_address_get_uri")
+ (return-type "const-gchar*")
)
-(define-method connect
- (of-object "GProxy")
- (c-name "g_proxy_connect")
- (return-type "GIOStream*")
- (parameters
- '("GIOStream*" "connection")
- '("GProxyAddress*" "proxy_address")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_username
+ (of-object "GProxyAddress")
+ (c-name "g_proxy_address_get_username")
+ (return-type "const-gchar*")
)
-(define-method connect_async
- (of-object "GProxy")
- (c-name "g_proxy_connect_async")
- (return-type "none")
+(define-function g_resolver_free_addresses
+ (c-name "g_resolver_free_addresses")
+ (return-type "void")
(parameters
- '("GIOStream*" "connection")
- '("GProxyAddress*" "proxy_address")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GList*" "addresses")
)
)
-(define-method connect_finish
- (of-object "GProxy")
- (c-name "g_proxy_connect_finish")
- (return-type "GIOStream*")
+(define-function g_resolver_free_targets
+ (c-name "g_resolver_free_targets")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("GList*" "targets")
)
)
-(define-method supports_hostname
- (of-object "GProxy")
- (c-name "g_proxy_supports_hostname")
- (return-type "gboolean")
-)
-
-
-
-;; From gproxyresolver.h
-
-(define-function g_proxy_resolver_get_type
- (c-name "g_proxy_resolver_get_type")
- (return-type "GType")
-)
-
-(define-function g_proxy_resolver_get_default
- (c-name "g_proxy_resolver_get_default")
- (return-type "GProxyResolver*")
-)
-
-(define-method is_supported
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_is_supported")
- (return-type "gboolean")
+(define-function g_resolver_get_default
+ (c-name "g_resolver_get_default")
+ (return-type "GResolver*")
)
-(define-method lookup
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_lookup")
- (return-type "gchar**")
+(define-method lookup_by_address
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_address")
+ (return-type "gchar*")
(parameters
- '("const-gchar*" "uri")
+ '("GInetAddress*" "address")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method lookup_async
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_lookup_async")
- (return-type "none")
+(define-method lookup_by_address_async
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_address_async")
+ (return-type "void")
(parameters
- '("const-gchar*" "uri")
+ '("GInetAddress*" "address")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method lookup_finish
- (of-object "GProxyResolver")
- (c-name "g_proxy_resolver_lookup_finish")
- (return-type "gchar**")
+(define-method lookup_by_address_finish
+ (of-object "GResolver")
+ (c-name "g_resolver_lookup_by_address_finish")
+ (return-type "gchar*")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
)
)
-
-
-;; From gproxyresolverportal.h
-
-(define-function g_proxy_resolver_portal_get_type
- (c-name "g_proxy_resolver_portal_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gregistrysettingsbackend.h
-
-(define-function g_registry_backend_get_type
- (c-name "g_registry_backend_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gremoteactiongroup.h
-
-(define-function g_remote_action_group_get_type
- (c-name "g_remote_action_group_get_type")
- (return-type "GType")
-)
-
-(define-method activate_action_full
- (of-object "GRemoteActionGroup")
- (c-name "g_remote_action_group_activate_action_full")
- (return-type "none")
- (parameters
- '("const-gchar*" "action_name")
- '("GVariant*" "parameter")
- '("GVariant*" "platform_data")
- )
-)
-
-(define-method change_action_state_full
- (of-object "GRemoteActionGroup")
- (c-name "g_remote_action_group_change_action_state_full")
- (return-type "none")
- (parameters
- '("const-gchar*" "action_name")
- '("GVariant*" "value")
- '("GVariant*" "platform_data")
- )
-)
-
-
-
-;; From gresolver.h
-
-(define-function g_resolver_get_type
- (c-name "g_resolver_get_type")
- (return-type "GType")
-)
-
-(define-function g_resolver_get_default
- (c-name "g_resolver_get_default")
- (return-type "GResolver*")
-)
-
-(define-method set_default
- (of-object "GResolver")
- (c-name "g_resolver_set_default")
- (return-type "none")
-)
-
(define-method lookup_by_name
(of-object "GResolver")
(c-name "g_resolver_lookup_by_name")
@@ -14085,7 +7545,7 @@
(define-method lookup_by_name_async
(of-object "GResolver")
(c-name "g_resolver_lookup_by_name_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "hostname")
'("GCancellable*" "cancellable")
@@ -14104,41 +7564,35 @@
)
)
-(define-function g_resolver_free_addresses
- (c-name "g_resolver_free_addresses")
- (return-type "none")
- (parameters
- '("GList*" "addresses")
- )
-)
-
-(define-method lookup_by_address
+(define-method lookup_records
(of-object "GResolver")
- (c-name "g_resolver_lookup_by_address")
- (return-type "gchar*")
+ (c-name "g_resolver_lookup_records")
+ (return-type "GList*")
(parameters
- '("GInetAddress*" "address")
+ '("const-gchar*" "rrname")
+ '("GResolverRecordType" "record_type")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method lookup_by_address_async
+(define-method lookup_records_async
(of-object "GResolver")
- (c-name "g_resolver_lookup_by_address_async")
- (return-type "none")
+ (c-name "g_resolver_lookup_records_async")
+ (return-type "void")
(parameters
- '("GInetAddress*" "address")
+ '("const-gchar*" "rrname")
+ '("GResolverRecordType" "record_type")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method lookup_by_address_finish
+(define-method lookup_records_finish
(of-object "GResolver")
- (c-name "g_resolver_lookup_by_address_finish")
- (return-type "gchar*")
+ (c-name "g_resolver_lookup_records_finish")
+ (return-type "GList*")
(parameters
'("GAsyncResult*" "result")
'("GError**" "error")
@@ -14161,7 +7615,7 @@
(define-method lookup_service_async
(of-object "GResolver")
(c-name "g_resolver_lookup_service_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "service")
'("const-gchar*" "protocol")
@@ -14182,70 +7636,10 @@
)
)
-(define-method lookup_records
- (of-object "GResolver")
- (c-name "g_resolver_lookup_records")
- (return-type "GList*")
- (parameters
- '("const-gchar*" "rrname")
- '("GResolverRecordType" "record_type")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method lookup_records_async
- (of-object "GResolver")
- (c-name "g_resolver_lookup_records_async")
- (return-type "none")
- (parameters
- '("const-gchar*" "rrname")
- '("GResolverRecordType" "record_type")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method lookup_records_finish
+(define-method set_default
(of-object "GResolver")
- (c-name "g_resolver_lookup_records_finish")
- (return-type "GList*")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
-)
-
-(define-function g_resolver_free_targets
- (c-name "g_resolver_free_targets")
- (return-type "none")
- (parameters
- '("GList*" "targets")
- )
-)
-
-(define-function g_resolver_error_quark
- (c-name "g_resolver_error_quark")
- (return-type "GQuark")
-)
-
-
-
-;; From gresourcefile.h
-
-
-
-;; From gresource.h
-
-(define-function g_resource_error_quark
- (c-name "g_resource_error_quark")
- (return-type "GQuark")
-)
-
-(define-function g_resource_get_type
- (c-name "g_resource_get_type")
- (return-type "GType")
+ (c-name "g_resolver_set_default")
+ (return-type "void")
)
(define-function g_resource_new_from_data
@@ -14257,47 +7651,16 @@
)
)
-(define-method ref
- (of-object "GResource")
- (c-name "g_resource_ref")
- (return-type "GResource*")
-)
-
-(define-method unref
- (of-object "GResource")
- (c-name "g_resource_unref")
- (return-type "none")
-)
-
-(define-function g_resource_load
- (c-name "g_resource_load")
- (return-type "GResource*")
- (parameters
- '("const-gchar*" "filename")
- '("GError**" "error")
- )
-)
-
-(define-method open_stream
+(define-method _register
(of-object "GResource")
- (c-name "g_resource_open_stream")
- (return-type "GInputStream*")
- (parameters
- '("const-char*" "path")
- '("GResourceLookupFlags" "lookup_flags")
- '("GError**" "error")
- )
+ (c-name "g_resources_register")
+ (return-type "void")
)
-(define-method lookup_data
+(define-method _unregister
(of-object "GResource")
- (c-name "g_resource_lookup_data")
- (return-type "GBytes*")
- (parameters
- '("const-char*" "path")
- '("GResourceLookupFlags" "lookup_flags")
- '("GError**" "error")
- )
+ (c-name "g_resources_unregister")
+ (return-type "void")
)
(define-method enumerate_children
@@ -14324,30 +7687,9 @@
)
)
-(define-method s_register
- (of-object "GResource")
- (c-name "g_resources_register")
- (return-type "none")
-)
-
-(define-method s_unregister
+(define-method lookup_data
(of-object "GResource")
- (c-name "g_resources_unregister")
- (return-type "none")
-)
-
-(define-function g_resources_open_stream
- (c-name "g_resources_open_stream")
- (return-type "GInputStream*")
- (parameters
- '("const-char*" "path")
- '("GResourceLookupFlags" "lookup_flags")
- '("GError**" "error")
- )
-)
-
-(define-function g_resources_lookup_data
- (c-name "g_resources_lookup_data")
+ (c-name "g_resource_lookup_data")
(return-type "GBytes*")
(parameters
'("const-char*" "path")
@@ -14356,373 +7698,52 @@
)
)
-(define-function g_resources_enumerate_children
- (c-name "g_resources_enumerate_children")
- (return-type "char**")
- (parameters
- '("const-char*" "path")
- '("GResourceLookupFlags" "lookup_flags")
- '("GError**" "error")
- )
-)
-
-(define-function g_resources_get_info
- (c-name "g_resources_get_info")
- (return-type "gboolean")
+(define-method open_stream
+ (of-object "GResource")
+ (c-name "g_resource_open_stream")
+ (return-type "GInputStream*")
(parameters
'("const-char*" "path")
'("GResourceLookupFlags" "lookup_flags")
- '("gsize*" "size")
- '("guint32*" "flags")
'("GError**" "error")
)
)
-(define-method init
- (of-object "GStaticResource")
- (c-name "g_static_resource_init")
- (return-type "none")
-)
-
-(define-method fini
- (of-object "GStaticResource")
- (c-name "g_static_resource_fini")
- (return-type "none")
-)
-
-(define-method get_resource
- (of-object "GStaticResource")
- (c-name "g_static_resource_get_resource")
+(define-method ref
+ (of-object "GResource")
+ (c-name "g_resource_ref")
(return-type "GResource*")
)
-
-
-;; From gseekable.h
-
-(define-function g_seekable_get_type
- (c-name "g_seekable_get_type")
- (return-type "GType")
-)
-
-(define-method tell
- (of-object "GSeekable")
- (c-name "g_seekable_tell")
- (return-type "goffset")
-)
-
-(define-method can_seek
- (of-object "GSeekable")
- (c-name "g_seekable_can_seek")
- (return-type "gboolean")
-)
-
-(define-method seek
- (of-object "GSeekable")
- (c-name "g_seekable_seek")
- (return-type "gboolean")
- (parameters
- '("goffset" "offset")
- '("GSeekType" "type")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method can_truncate
- (of-object "GSeekable")
- (c-name "g_seekable_can_truncate")
- (return-type "gboolean")
+(define-method unref
+ (of-object "GResource")
+ (c-name "g_resource_unref")
+ (return-type "void")
)
-(define-method truncate
- (of-object "GSeekable")
- (c-name "g_seekable_truncate")
- (return-type "gboolean")
+(define-function g_resource_load
+ (c-name "g_resource_load")
+ (return-type "GResource*")
(parameters
- '("goffset" "offset")
- '("GCancellable*" "cancellable")
+ '("gchar*" "filename")
'("GError**" "error")
)
)
-
-
-;; From gsettingsbackend.h
-
-(define-function g_settings_backend_get_type
- (c-name "g_settings_backend_get_type")
- (return-type "GType")
-)
-
-(define-method changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_changed")
- (return-type "none")
- (parameters
- '("const-gchar*" "key")
- '("gpointer" "origin_tag")
- )
-)
-
-(define-method path_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_path_changed")
- (return-type "none")
- (parameters
- '("const-gchar*" "path")
- '("gpointer" "origin_tag")
- )
-)
-
-(define-function g_settings_backend_flatten_tree
- (c-name "g_settings_backend_flatten_tree")
- (return-type "none")
- (parameters
- '("GTree*" "tree")
- '("gchar**" "path")
- '("const-gchar***" "keys")
- '("GVariant***" "values")
- )
-)
-
-(define-method keys_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_keys_changed")
- (return-type "none")
- (parameters
- '("const-gchar*" "path")
- '("gchar-const*-const*" "items")
- '("gpointer" "origin_tag")
- )
-)
-
-(define-method path_writable_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_path_writable_changed")
- (return-type "none")
- (parameters
- '("const-gchar*" "path")
- )
-)
-
-(define-method writable_changed
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_writable_changed")
- (return-type "none")
- (parameters
- '("const-gchar*" "key")
- )
-)
-
-(define-method changed_tree
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_changed_tree")
- (return-type "none")
- (parameters
- '("GTree*" "tree")
- '("gpointer" "origin_tag")
- )
-)
-
-(define-function g_settings_backend_get_default
- (c-name "g_settings_backend_get_default")
- (return-type "GSettingsBackend*")
-)
-
-(define-function g_keyfile_settings_backend_new
- (c-name "g_keyfile_settings_backend_new")
- (is-constructor-of "GKeyfileSettingsBackend")
- (return-type "GSettingsBackend*")
- (parameters
- '("const-gchar*" "filename")
- '("const-gchar*" "root_path")
- '("const-gchar*" "root_group")
- )
-)
-
-(define-function g_null_settings_backend_new
- (c-name "g_null_settings_backend_new")
- (is-constructor-of "GNullSettingsBackend")
- (return-type "GSettingsBackend*")
-)
-
-(define-function g_memory_settings_backend_new
- (c-name "g_memory_settings_backend_new")
- (is-constructor-of "GMemorySettingsBackend")
- (return-type "GSettingsBackend*")
-)
-
-
-
-;; From gsettingsbackendinternal.h
-
-(define-method watch
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_watch")
- (return-type "none")
- (parameters
- '("const-GSettingsListenerVTable*" "vtable")
- '("GObject*" "target")
- '("GMainContext*" "context")
- )
-)
-
-(define-method unwatch
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_unwatch")
- (return-type "none")
- (parameters
- '("GObject*" "target")
- )
-)
-
-(define-function g_settings_backend_create_tree
- (c-name "g_settings_backend_create_tree")
- (return-type "GTree*")
-)
-
-(define-method read
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_read")
- (return-type "GVariant*")
- (parameters
- '("const-gchar*" "key")
- '("const-GVariantType*" "expected_type")
- '("gboolean" "default_value")
- )
-)
-
-(define-method read_user_value
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_read_user_value")
- (return-type "GVariant*")
- (parameters
- '("const-gchar*" "key")
- '("const-GVariantType*" "expected_type")
- )
-)
-
-(define-method write
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_write")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("GVariant*" "value")
- '("gpointer" "origin_tag")
- )
-)
-
-(define-method write_tree
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_write_tree")
- (return-type "gboolean")
- (parameters
- '("GTree*" "tree")
- '("gpointer" "origin_tag")
- )
-)
-
-(define-method reset
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_reset")
- (return-type "none")
- (parameters
- '("const-gchar*" "key")
- '("gpointer" "origin_tag")
- )
-)
-
-(define-method get_writable
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_get_writable")
- (return-type "gboolean")
- (parameters
- '("const-char*" "key")
- )
-)
-
-(define-method unsubscribe
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_unsubscribe")
- (return-type "none")
- (parameters
- '("const-char*" "name")
- )
-)
-
-(define-method subscribe
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_subscribe")
- (return-type "none")
- (parameters
- '("const-char*" "name")
- )
-)
-
-(define-method get_permission
- (of-object "GSettingsBackend")
- (c-name "g_settings_backend_get_permission")
- (return-type "GPermission*")
- (parameters
- '("const-gchar*" "path")
- )
-)
-
-(define-function g_settings_backend_sync_default
- (c-name "g_settings_backend_sync_default")
- (return-type "none")
-)
-
-(define-function g_null_settings_backend_get_type
- (c-name "g_null_settings_backend_get_type")
- (return-type "GType")
-)
-
-(define-function g_memory_settings_backend_get_type
- (c-name "g_memory_settings_backend_get_type")
- (return-type "GType")
-)
-
-(define-function g_nextstep_settings_backend_get_type
- (c-name "g_nextstep_settings_backend_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gsettings.h
-
-(define-function g_settings_get_type
- (c-name "g_settings_get_type")
- (return-type "GType")
-)
-
-(define-function g_settings_list_schemas
- (c-name "g_settings_list_schemas")
- (return-type "const-gchar*-const*")
-)
-
-(define-function g_settings_list_relocatable_schemas
- (c-name "g_settings_list_relocatable_schemas")
- (return-type "const-gchar*-const*")
-)
-
(define-function g_settings_new
(c-name "g_settings_new")
- (is-constructor-of "GSettings")
(return-type "GSettings*")
(parameters
'("const-gchar*" "schema_id")
)
)
-(define-function g_settings_new_with_path
- (c-name "g_settings_new_with_path")
+(define-function g_settings_new_full
+ (c-name "g_settings_new_full")
(return-type "GSettings*")
(parameters
- '("const-gchar*" "schema_id")
+ '("GSettingsSchema*" "schema")
+ '("GSettingsBackend*" "backend")
'("const-gchar*" "path")
)
)
@@ -14746,541 +7767,436 @@
)
)
-(define-function g_settings_new_full
- (c-name "g_settings_new_full")
+(define-function g_settings_new_with_path
+ (c-name "g_settings_new_with_path")
(return-type "GSettings*")
(parameters
- '("GSettingsSchema*" "schema")
- '("GSettingsBackend*" "backend")
+ '("const-gchar*" "schema_id")
'("const-gchar*" "path")
)
)
-(define-method list_children
- (of-object "GSettings")
- (c-name "g_settings_list_children")
- (return-type "gchar**")
+(define-function g_settings_list_relocatable_schemas
+ (c-name "g_settings_list_relocatable_schemas")
+ (return-type "const-gchar*-const*")
)
-(define-method list_keys
- (of-object "GSettings")
- (c-name "g_settings_list_keys")
- (return-type "gchar**")
+(define-function g_settings_list_schemas
+ (c-name "g_settings_list_schemas")
+ (return-type "const-gchar*-const*")
)
-(define-method get_range
- (of-object "GSettings")
- (c-name "g_settings_get_range")
- (return-type "GVariant*")
+(define-function g_settings_sync
+ (c-name "g_settings_sync")
+ (return-type "void")
+)
+
+(define-function g_settings_unbind
+ (c-name "g_settings_unbind")
+ (return-type "void")
(parameters
- '("const-gchar*" "key")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
)
)
-(define-method range_check
+(define-method apply
(of-object "GSettings")
- (c-name "g_settings_range_check")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("GVariant*" "value")
- )
+ (c-name "g_settings_apply")
+ (return-type "void")
)
-(define-method set_value
+(define-method bind
(of-object "GSettings")
- (c-name "g_settings_set_value")
- (return-type "gboolean")
+ (c-name "g_settings_bind")
+ (return-type "void")
(parameters
'("const-gchar*" "key")
- '("GVariant*" "value")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ '("GSettingsBindFlags" "flags")
)
)
-(define-method get_value
+(define-method bind_with_mapping
(of-object "GSettings")
- (c-name "g_settings_get_value")
- (return-type "GVariant*")
+ (c-name "g_settings_bind_with_mapping")
+ (return-type "void")
(parameters
'("const-gchar*" "key")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ '("GSettingsBindFlags" "flags")
+ '("GSettingsBindGetMapping" "get_mapping")
+ '("GSettingsBindSetMapping" "set_mapping")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "destroy")
)
)
-(define-method get_user_value
+(define-method bind_writable
(of-object "GSettings")
- (c-name "g_settings_get_user_value")
- (return-type "GVariant*")
+ (c-name "g_settings_bind_writable")
+ (return-type "void")
(parameters
'("const-gchar*" "key")
+ '("gpointer" "object")
+ '("const-gchar*" "property")
+ '("gboolean" "inverted")
)
)
-(define-method get_default_value
+(define-method create_action
(of-object "GSettings")
- (c-name "g_settings_get_default_value")
- (return-type "GVariant*")
+ (c-name "g_settings_create_action")
+ (return-type "GAction*")
(parameters
'("const-gchar*" "key")
)
)
-(define-method set
+(define-method delay
(of-object "GSettings")
- (c-name "g_settings_set")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("const-gchar*" "format")
- )
- (varargs #t)
+ (c-name "g_settings_delay")
+ (return-type "void")
)
(define-method get
(of-object "GSettings")
(c-name "g_settings_get")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "key")
'("const-gchar*" "format")
+ '("..." "...")
)
- (varargs #t)
)
-(define-method reset
+(define-method get_boolean
(of-object "GSettings")
- (c-name "g_settings_reset")
- (return-type "none")
+ (c-name "g_settings_get_boolean")
+ (return-type "gboolean")
(parameters
'("const-gchar*" "key")
)
)
-(define-method get_int
+(define-method get_child
(of-object "GSettings")
- (c-name "g_settings_get_int")
- (return-type "gint")
+ (c-name "g_settings_get_child")
+ (return-type "GSettings*")
(parameters
- '("const-gchar*" "key")
+ '("const-gchar*" "name")
)
)
-(define-method set_int
+(define-method get_default_value
(of-object "GSettings")
- (c-name "g_settings_set_int")
- (return-type "gboolean")
+ (c-name "g_settings_get_default_value")
+ (return-type "GVariant*")
(parameters
'("const-gchar*" "key")
- '("gint" "value")
)
)
-(define-method get_int64
+(define-method get_double
(of-object "GSettings")
- (c-name "g_settings_get_int64")
- (return-type "gint64")
+ (c-name "g_settings_get_double")
+ (return-type "gdouble")
(parameters
'("const-gchar*" "key")
)
)
-(define-method set_int64
+(define-method get_enum
(of-object "GSettings")
- (c-name "g_settings_set_int64")
- (return-type "gboolean")
+ (c-name "g_settings_get_enum")
+ (return-type "gint")
(parameters
'("const-gchar*" "key")
- '("gint64" "value")
)
)
-(define-method get_uint
+(define-method get_flags
(of-object "GSettings")
- (c-name "g_settings_get_uint")
+ (c-name "g_settings_get_flags")
(return-type "guint")
(parameters
'("const-gchar*" "key")
)
)
-(define-method set_uint
+(define-method get_has_unapplied
(of-object "GSettings")
- (c-name "g_settings_set_uint")
+ (c-name "g_settings_get_has_unapplied")
(return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("guint" "value")
- )
)
-(define-method get_uint64
+(define-method get_int
(of-object "GSettings")
- (c-name "g_settings_get_uint64")
- (return-type "guint64")
+ (c-name "g_settings_get_int")
+ (return-type "gint")
(parameters
'("const-gchar*" "key")
)
)
-(define-method set_uint64
+(define-method get_int64
(of-object "GSettings")
- (c-name "g_settings_set_uint64")
- (return-type "gboolean")
+ (c-name "g_settings_get_int64")
+ (return-type "gint64")
(parameters
'("const-gchar*" "key")
- '("guint64" "value")
)
)
-(define-method get_string
+(define-method get_mapped
(of-object "GSettings")
- (c-name "g_settings_get_string")
- (return-type "gchar*")
+ (c-name "g_settings_get_mapped")
+ (return-type "gpointer")
(parameters
'("const-gchar*" "key")
+ '("GSettingsGetMapping" "mapping")
+ '("gpointer" "user_data")
)
)
-(define-method set_string
+(define-method get_range
(of-object "GSettings")
- (c-name "g_settings_set_string")
- (return-type "gboolean")
+ (c-name "g_settings_get_range")
+ (return-type "GVariant*")
(parameters
'("const-gchar*" "key")
- '("const-gchar*" "value")
)
)
-(define-method get_boolean
+(define-method get_string
(of-object "GSettings")
- (c-name "g_settings_get_boolean")
- (return-type "gboolean")
+ (c-name "g_settings_get_string")
+ (return-type "gchar*")
(parameters
'("const-gchar*" "key")
)
)
-(define-method set_boolean
+(define-method get_strv
(of-object "GSettings")
- (c-name "g_settings_set_boolean")
- (return-type "gboolean")
+ (c-name "g_settings_get_strv")
+ (return-type "gchar**")
(parameters
'("const-gchar*" "key")
- '("gboolean" "value")
)
)
-(define-method get_double
+(define-method get_uint
(of-object "GSettings")
- (c-name "g_settings_get_double")
- (return-type "gdouble")
+ (c-name "g_settings_get_uint")
+ (return-type "guint")
(parameters
'("const-gchar*" "key")
)
)
-(define-method set_double
+(define-method get_uint64
(of-object "GSettings")
- (c-name "g_settings_set_double")
- (return-type "gboolean")
+ (c-name "g_settings_get_uint64")
+ (return-type "guint64")
(parameters
'("const-gchar*" "key")
- '("gdouble" "value")
)
)
-(define-method get_strv
+(define-method get_user_value
(of-object "GSettings")
- (c-name "g_settings_get_strv")
- (return-type "gchar**")
+ (c-name "g_settings_get_user_value")
+ (return-type "GVariant*")
(parameters
'("const-gchar*" "key")
)
)
-(define-method set_strv
+(define-method get_value
(of-object "GSettings")
- (c-name "g_settings_set_strv")
- (return-type "gboolean")
+ (c-name "g_settings_get_value")
+ (return-type "GVariant*")
(parameters
'("const-gchar*" "key")
- '("const-gchar*-const*" "value")
)
)
-(define-method get_enum
+(define-method is_writable
(of-object "GSettings")
- (c-name "g_settings_get_enum")
- (return-type "gint")
+ (c-name "g_settings_is_writable")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "key")
+ '("const-gchar*" "name")
)
)
-(define-method set_enum
+(define-method list_children
(of-object "GSettings")
- (c-name "g_settings_set_enum")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- '("gint" "value")
- )
+ (c-name "g_settings_list_children")
+ (return-type "gchar**")
)
-(define-method get_flags
+(define-method list_keys
(of-object "GSettings")
- (c-name "g_settings_get_flags")
- (return-type "guint")
- (parameters
- '("const-gchar*" "key")
- )
+ (c-name "g_settings_list_keys")
+ (return-type "gchar**")
)
-(define-method set_flags
+(define-method range_check
(of-object "GSettings")
- (c-name "g_settings_set_flags")
+ (c-name "g_settings_range_check")
(return-type "gboolean")
(parameters
'("const-gchar*" "key")
- '("guint" "value")
- )
-)
-
-(define-method get_child
- (of-object "GSettings")
- (c-name "g_settings_get_child")
- (return-type "GSettings*")
- (parameters
- '("const-gchar*" "name")
+ '("GVariant*" "value")
)
)
-(define-method is_writable
+(define-method reset
(of-object "GSettings")
- (c-name "g_settings_is_writable")
- (return-type "gboolean")
+ (c-name "g_settings_reset")
+ (return-type "void")
(parameters
- '("const-gchar*" "name")
+ '("const-gchar*" "key")
)
)
-(define-method delay
- (of-object "GSettings")
- (c-name "g_settings_delay")
- (return-type "none")
-)
-
-(define-method apply
- (of-object "GSettings")
- (c-name "g_settings_apply")
- (return-type "none")
-)
-
(define-method revert
(of-object "GSettings")
(c-name "g_settings_revert")
- (return-type "none")
+ (return-type "void")
)
-(define-method get_has_unapplied
+(define-method set
(of-object "GSettings")
- (c-name "g_settings_get_has_unapplied")
+ (c-name "g_settings_set")
(return-type "gboolean")
-)
-
-(define-function g_settings_sync
- (c-name "g_settings_sync")
- (return-type "none")
-)
-
-(define-method bind
- (of-object "GSettings")
- (c-name "g_settings_bind")
- (return-type "none")
(parameters
'("const-gchar*" "key")
- '("gpointer" "object")
- '("const-gchar*" "property")
- '("GSettingsBindFlags" "flags")
+ '("const-gchar*" "format")
+ '("..." "...")
)
)
-(define-method bind_with_mapping
+(define-method set_boolean
(of-object "GSettings")
- (c-name "g_settings_bind_with_mapping")
- (return-type "none")
+ (c-name "g_settings_set_boolean")
+ (return-type "gboolean")
(parameters
'("const-gchar*" "key")
- '("gpointer" "object")
- '("const-gchar*" "property")
- '("GSettingsBindFlags" "flags")
- '("GSettingsBindGetMapping" "get_mapping")
- '("GSettingsBindSetMapping" "set_mapping")
- '("gpointer" "user_data")
- '("GDestroyNotify" "destroy")
+ '("gboolean" "value")
)
)
-(define-method bind_writable
+(define-method set_double
(of-object "GSettings")
- (c-name "g_settings_bind_writable")
- (return-type "none")
+ (c-name "g_settings_set_double")
+ (return-type "gboolean")
(parameters
'("const-gchar*" "key")
- '("gpointer" "object")
- '("const-gchar*" "property")
- '("gboolean" "inverted")
+ '("gdouble" "value")
)
)
-(define-function g_settings_unbind
- (c-name "g_settings_unbind")
- (return-type "none")
+(define-method set_enum
+ (of-object "GSettings")
+ (c-name "g_settings_set_enum")
+ (return-type "gboolean")
(parameters
- '("gpointer" "object")
- '("const-gchar*" "property")
+ '("const-gchar*" "key")
+ '("gint" "value")
)
)
-(define-method create_action
+(define-method set_flags
(of-object "GSettings")
- (c-name "g_settings_create_action")
- (return-type "GAction*")
+ (c-name "g_settings_set_flags")
+ (return-type "gboolean")
(parameters
'("const-gchar*" "key")
+ '("guint" "value")
)
)
-(define-method get_mapped
+(define-method set_int
(of-object "GSettings")
- (c-name "g_settings_get_mapped")
- (return-type "gpointer")
+ (c-name "g_settings_set_int")
+ (return-type "gboolean")
(parameters
'("const-gchar*" "key")
- '("GSettingsGetMapping" "mapping")
- '("gpointer" "user_data")
+ '("gint" "value")
)
)
-
-
-;; From gsettings-mapping.h
-
-(define-function g_settings_set_mapping
- (c-name "g_settings_set_mapping")
- (return-type "GVariant*")
+(define-method set_int64
+ (of-object "GSettings")
+ (c-name "g_settings_set_int64")
+ (return-type "gboolean")
(parameters
- '("const-GValue*" "value")
- '("const-GVariantType*" "expected_type")
- '("gpointer" "user_data")
+ '("const-gchar*" "key")
+ '("gint64" "value")
)
)
-(define-function g_settings_get_mapping
- (c-name "g_settings_get_mapping")
+(define-method set_string
+ (of-object "GSettings")
+ (c-name "g_settings_set_string")
(return-type "gboolean")
(parameters
- '("GValue*" "value")
- '("GVariant*" "variant")
- '("gpointer" "user_data")
+ '("const-gchar*" "key")
+ '("const-gchar*" "value")
)
)
-(define-function g_settings_mapping_is_compatible
- (c-name "g_settings_mapping_is_compatible")
+(define-method set_strv
+ (of-object "GSettings")
+ (c-name "g_settings_set_strv")
(return-type "gboolean")
(parameters
- '("GType" "gvalue_type")
- '("const-GVariantType*" "variant_type")
+ '("const-gchar*" "key")
+ '("const-gchar*-const*" "value")
)
)
-
-
-;; From gsettingsschema.h
-
-(define-function g_settings_schema_source_get_type
- (c-name "g_settings_schema_source_get_type")
- (return-type "GType")
-)
-
-(define-function g_settings_schema_source_get_default
- (c-name "g_settings_schema_source_get_default")
- (return-type "GSettingsSchemaSource*")
-)
-
-(define-method ref
- (of-object "GSettingsSchemaSource")
- (c-name "g_settings_schema_source_ref")
- (return-type "GSettingsSchemaSource*")
-)
-
-(define-method unref
- (of-object "GSettingsSchemaSource")
- (c-name "g_settings_schema_source_unref")
- (return-type "none")
-)
-
-(define-function g_settings_schema_source_new_from_directory
- (c-name "g_settings_schema_source_new_from_directory")
- (return-type "GSettingsSchemaSource*")
+(define-method set_uint
+ (of-object "GSettings")
+ (c-name "g_settings_set_uint")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "directory")
- '("GSettingsSchemaSource*" "parent")
- '("gboolean" "trusted")
- '("GError**" "error")
+ '("const-gchar*" "key")
+ '("guint" "value")
)
)
-(define-method lookup
- (of-object "GSettingsSchemaSource")
- (c-name "g_settings_schema_source_lookup")
- (return-type "GSettingsSchema*")
+(define-method set_uint64
+ (of-object "GSettings")
+ (c-name "g_settings_set_uint64")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "schema_id")
- '("gboolean" "recursive")
+ '("const-gchar*" "key")
+ '("guint64" "value")
)
)
-(define-method list_schemas
- (of-object "GSettingsSchemaSource")
- (c-name "g_settings_schema_source_list_schemas")
- (return-type "none")
+(define-method set_value
+ (of-object "GSettings")
+ (c-name "g_settings_set_value")
+ (return-type "gboolean")
(parameters
- '("gboolean" "recursive")
- '("gchar***" "non_relocatable")
- '("gchar***" "relocatable")
+ '("const-gchar*" "key")
+ '("GVariant*" "value")
)
)
-(define-function g_settings_schema_get_type
- (c-name "g_settings_schema_get_type")
- (return-type "GType")
-)
-
-(define-method ref
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_ref")
- (return-type "GSettingsSchema*")
-)
-
-(define-method unref
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_unref")
- (return-type "none")
-)
-
(define-method get_id
(of-object "GSettingsSchema")
(c-name "g_settings_schema_get_id")
(return-type "const-gchar*")
)
-(define-method get_path
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_get_path")
- (return-type "const-gchar*")
-)
-
(define-method get_key
(of-object "GSettingsSchema")
(c-name "g_settings_schema_get_key")
@@ -15290,6 +8206,12 @@
)
)
+(define-method get_path
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_get_path")
+ (return-type "const-gchar*")
+)
+
(define-method has_key
(of-object "GSettingsSchema")
(c-name "g_settings_schema_has_key")
@@ -15299,39 +8221,28 @@
)
)
-(define-method list_keys
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_list_keys")
- (return-type "gchar**")
-)
-
(define-method list_children
(of-object "GSettingsSchema")
(c-name "g_settings_schema_list_children")
(return-type "gchar**")
)
-(define-function g_settings_schema_key_get_type
- (c-name "g_settings_schema_key_get_type")
- (return-type "GType")
+(define-method list_keys
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_list_keys")
+ (return-type "gchar**")
)
(define-method ref
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_ref")
- (return-type "GSettingsSchemaKey*")
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_ref")
+ (return-type "GSettingsSchema*")
)
(define-method unref
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_unref")
- (return-type "none")
-)
-
-(define-method get_value_type
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_get_value_type")
- (return-type "const-GVariantType*")
+ (of-object "GSettingsSchema")
+ (c-name "g_settings_schema_unref")
+ (return-type "void")
)
(define-method get_default_value
@@ -15340,19 +8251,10 @@
(return-type "GVariant*")
)
-(define-method get_range
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_get_range")
- (return-type "GVariant*")
-)
-
-(define-method range_check
+(define-method get_description
(of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_range_check")
- (return-type "gboolean")
- (parameters
- '("GVariant*" "value")
- )
+ (c-name "g_settings_schema_key_get_description")
+ (return-type "const-gchar*")
)
(define-method get_name
@@ -15361,196 +8263,96 @@
(return-type "const-gchar*")
)
-(define-method get_summary
+(define-method get_range
(of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_get_summary")
- (return-type "const-gchar*")
+ (c-name "g_settings_schema_key_get_range")
+ (return-type "GVariant*")
)
-(define-method get_description
+(define-method get_summary
(of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_get_description")
- (return-type "const-gchar*")
-)
-
-
-
-;; From gsettingsschema-internal.h
-
-(define-method get_gettext_domain
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_get_gettext_domain")
+ (c-name "g_settings_schema_key_get_summary")
(return-type "const-gchar*")
)
-(define-method get_value
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_get_value")
- (return-type "GVariantIter*")
- (parameters
- '("const-gchar*" "key")
- )
-)
-
-(define-method list
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_list")
- (return-type "const-GQuark*")
- (parameters
- '("gint*" "n_items")
- )
-)
-
-(define-method get_string
- (of-object "GSettingsSchema")
- (c-name "g_settings_schema_get_string")
- (return-type "const-gchar*")
- (parameters
- '("const-gchar*" "key")
- )
-)
-
-(define-method init
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_init")
- (return-type "none")
- (parameters
- '("GSettingsSchema*" "schema")
- '("const-gchar*" "name")
- )
-)
-
-(define-method clear
+(define-method get_value_type
(of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_clear")
- (return-type "none")
+ (c-name "g_settings_schema_key_get_value_type")
+ (return-type "const-GVariantType*")
)
-(define-method type_check
+(define-method range_check
(of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_type_check")
+ (c-name "g_settings_schema_key_range_check")
(return-type "gboolean")
(parameters
'("GVariant*" "value")
)
)
-(define-method range_fixup
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_range_fixup")
- (return-type "GVariant*")
- (parameters
- '("GVariant*" "value")
- )
-)
-
-(define-method get_translated_default
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_get_translated_default")
- (return-type "GVariant*")
-)
-
-(define-method to_enum
+(define-method ref
(of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_to_enum")
- (return-type "gint")
- (parameters
- '("GVariant*" "value")
- )
+ (c-name "g_settings_schema_key_ref")
+ (return-type "GSettingsSchemaKey*")
)
-(define-method from_enum
+(define-method unref
(of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_from_enum")
- (return-type "GVariant*")
- (parameters
- '("gint" "value")
- )
+ (c-name "g_settings_schema_key_unref")
+ (return-type "void")
)
-(define-method to_flags
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_to_flags")
- (return-type "guint")
+(define-function g_settings_schema_source_new_from_directory
+ (c-name "g_settings_schema_source_new_from_directory")
+ (return-type "GSettingsSchemaSource*")
(parameters
- '("GVariant*" "value")
+ '("gchar*" "directory")
+ '("GSettingsSchemaSource*" "parent")
+ '("gboolean" "trusted")
+ '("GError**" "error")
)
)
-(define-method from_flags
- (of-object "GSettingsSchemaKey")
- (c-name "g_settings_schema_key_from_flags")
- (return-type "GVariant*")
+(define-method list_schemas
+ (of-object "GSettingsSchemaSource")
+ (c-name "g_settings_schema_source_list_schemas")
+ (return-type "void")
(parameters
- '("guint" "value")
+ '("gboolean" "recursive")
+ '("gchar***" "non_relocatable")
+ '("gchar***" "relocatable")
)
)
-
-
-;; From gsimpleactiongroup.h
-
-(define-function g_simple_action_group_get_type
- (c-name "g_simple_action_group_get_type")
- (return-type "GType")
-)
-
-(define-function g_simple_action_group_new
- (c-name "g_simple_action_group_new")
- (is-constructor-of "GSimpleActionGroup")
- (return-type "GSimpleActionGroup*")
-)
-
(define-method lookup
- (of-object "GSimpleActionGroup")
- (c-name "g_simple_action_group_lookup")
- (return-type "GAction*")
- (parameters
- '("const-gchar*" "action_name")
- )
-)
-
-(define-method insert
- (of-object "GSimpleActionGroup")
- (c-name "g_simple_action_group_insert")
- (return-type "none")
+ (of-object "GSettingsSchemaSource")
+ (c-name "g_settings_schema_source_lookup")
+ (return-type "GSettingsSchema*")
(parameters
- '("GAction*" "action")
+ '("const-gchar*" "schema_id")
+ '("gboolean" "recursive")
)
)
-(define-method remove
- (of-object "GSimpleActionGroup")
- (c-name "g_simple_action_group_remove")
- (return-type "none")
- (parameters
- '("const-gchar*" "action_name")
- )
+(define-method ref
+ (of-object "GSettingsSchemaSource")
+ (c-name "g_settings_schema_source_ref")
+ (return-type "GSettingsSchemaSource*")
)
-(define-method add_entries
- (of-object "GSimpleActionGroup")
- (c-name "g_simple_action_group_add_entries")
- (return-type "none")
- (parameters
- '("const-GActionEntry*" "entries")
- '("gint" "n_entries")
- '("gpointer" "user_data")
- )
+(define-method unref
+ (of-object "GSettingsSchemaSource")
+ (c-name "g_settings_schema_source_unref")
+ (return-type "void")
)
-
-
-;; From gsimpleaction.h
-
-(define-function g_simple_action_get_type
- (c-name "g_simple_action_get_type")
- (return-type "GType")
+(define-function g_settings_schema_source_get_default
+ (c-name "g_settings_schema_source_get_default")
+ (return-type "GSettingsSchemaSource*")
)
(define-function g_simple_action_new
(c-name "g_simple_action_new")
- (is-constructor-of "GSimpleAction")
(return-type "GSimpleAction*")
(parameters
'("const-gchar*" "name")
@@ -15571,7 +8373,7 @@
(define-method set_enabled
(of-object "GSimpleAction")
(c-name "g_simple_action_set_enabled")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "enabled")
)
@@ -15580,7 +8382,7 @@
(define-method set_state
(of-object "GSimpleAction")
(c-name "g_simple_action_set_state")
- (return-type "none")
+ (return-type "void")
(parameters
'("GVariant*" "value")
)
@@ -15589,24 +8391,57 @@
(define-method set_state_hint
(of-object "GSimpleAction")
(c-name "g_simple_action_set_state_hint")
- (return-type "none")
+ (return-type "void")
(parameters
'("GVariant*" "state_hint")
)
)
+(define-function g_simple_action_group_new
+ (c-name "g_simple_action_group_new")
+ (return-type "GSimpleActionGroup*")
+)
+
+(define-method add_entries
+ (of-object "GSimpleActionGroup")
+ (c-name "g_simple_action_group_add_entries")
+ (return-type "void")
+ (parameters
+ '("GActionEntry*" "entries")
+ '("gint" "n_entries")
+ '("gpointer" "user_data")
+ )
+)
+(define-method insert
+ (of-object "GSimpleActionGroup")
+ (c-name "g_simple_action_group_insert")
+ (return-type "void")
+ (parameters
+ '("GAction*" "action")
+ )
+)
-;; From gsimpleasyncresult.h
+(define-method lookup
+ (of-object "GSimpleActionGroup")
+ (c-name "g_simple_action_group_lookup")
+ (return-type "GAction*")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
-(define-function g_simple_async_result_get_type
- (c-name "g_simple_async_result_get_type")
- (return-type "GType")
+(define-method remove
+ (of-object "GSimpleActionGroup")
+ (c-name "g_simple_action_group_remove")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
)
(define-function g_simple_async_result_new
(c-name "g_simple_async_result_new")
- (is-constructor-of "GSimpleAsyncResult")
(return-type "GSimpleAsyncResult*")
(parameters
'("GObject*" "source_object")
@@ -15626,8 +8461,8 @@
'("GQuark" "domain")
'("gint" "code")
'("const-char*" "format")
+ '("..." "...")
)
- (varargs #t)
)
(define-function g_simple_async_result_new_from_error
@@ -15652,44 +8487,26 @@
)
)
-(define-method set_op_res_gpointer
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_op_res_gpointer")
- (return-type "none")
- (parameters
- '("gpointer" "op_res")
- '("GDestroyNotify" "destroy_op_res")
- )
-)
-
-(define-method get_op_res_gpointer
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_get_op_res_gpointer")
- (return-type "gpointer")
-)
-
-(define-method set_op_res_gssize
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_op_res_gssize")
- (return-type "none")
+(define-function g_simple_async_result_is_valid
+ (c-name "g_simple_async_result_is_valid")
+ (return-type "gboolean")
(parameters
- '("gssize" "op_res")
+ '("GAsyncResult*" "result")
+ '("GObject*" "source")
+ '("gpointer" "source_tag")
)
)
-(define-method get_op_res_gssize
+(define-method complete
(of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_get_op_res_gssize")
- (return-type "gssize")
+ (c-name "g_simple_async_result_complete")
+ (return-type "void")
)
-(define-method set_op_res_gboolean
+(define-method complete_in_idle
(of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_op_res_gboolean")
- (return-type "none")
- (parameters
- '("gboolean" "op_res")
- )
+ (c-name "g_simple_async_result_complete_in_idle")
+ (return-type "void")
)
(define-method get_op_res_gboolean
@@ -15698,13 +8515,16 @@
(return-type "gboolean")
)
-(define-method set_check_cancellable
+(define-method get_op_res_gpointer
(of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_check_cancellable")
- (return-type "none")
- (parameters
- '("GCancellable*" "check_cancellable")
- )
+ (c-name "g_simple_async_result_get_op_res_gpointer")
+ (return-type "gpointer")
+)
+
+(define-method get_op_res_gssize
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_get_op_res_gssize")
+ (return-type "gssize")
)
(define-method get_source_tag
@@ -15713,31 +8533,19 @@
(return-type "gpointer")
)
-(define-method set_handle_cancellation
+(define-method propagate_error
(of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_handle_cancellation")
- (return-type "none")
+ (c-name "g_simple_async_result_propagate_error")
+ (return-type "gboolean")
(parameters
- '("gboolean" "handle_cancellation")
+ '("GError**" "error")
)
)
-(define-method complete
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_complete")
- (return-type "none")
-)
-
-(define-method complete_in_idle
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_complete_in_idle")
- (return-type "none")
-)
-
(define-method run_in_thread
(of-object "GSimpleAsyncResult")
(c-name "g_simple_async_result_run_in_thread")
- (return-type "none")
+ (return-type "void")
(parameters
'("GSimpleAsyncThreadFunc" "func")
'("int" "io_priority")
@@ -15745,49 +8553,31 @@
)
)
-(define-method set_from_error
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_set_from_error")
- (return-type "none")
- (parameters
- '("const-GError*" "error")
- )
-)
-
-(define-method take_error
- (of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_take_error")
- (return-type "none")
- (parameters
- '("GError*" "error")
- )
-)
-
-(define-method propagate_error
+(define-method set_check_cancellable
(of-object "GSimpleAsyncResult")
- (c-name "g_simple_async_result_propagate_error")
- (return-type "gboolean")
+ (c-name "g_simple_async_result_set_check_cancellable")
+ (return-type "void")
(parameters
- '("GError**" "dest")
+ '("GCancellable*" "check_cancellable")
)
)
(define-method set_error
(of-object "GSimpleAsyncResult")
(c-name "g_simple_async_result_set_error")
- (return-type "none")
+ (return-type "void")
(parameters
'("GQuark" "domain")
'("gint" "code")
'("const-char*" "format")
+ '("..." "...")
)
- (varargs #t)
)
(define-method set_error_va
(of-object "GSimpleAsyncResult")
(c-name "g_simple_async_result_set_error_va")
- (return-type "none")
+ (return-type "void")
(parameters
'("GQuark" "domain")
'("gint" "code")
@@ -15796,64 +8586,63 @@
)
)
-(define-function g_simple_async_result_is_valid
- (c-name "g_simple_async_result_is_valid")
- (return-type "gboolean")
+(define-method set_from_error
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_from_error")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "result")
- '("GObject*" "source")
- '("gpointer" "source_tag")
+ '("const-GError*" "error")
)
)
-(define-function g_simple_async_report_error_in_idle
- (c-name "g_simple_async_report_error_in_idle")
- (return-type "none")
+(define-method set_handle_cancellation
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_handle_cancellation")
+ (return-type "void")
(parameters
- '("GObject*" "object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("GQuark" "domain")
- '("gint" "code")
- '("const-char*" "format")
+ '("gboolean" "handle_cancellation")
)
- (varargs #t)
)
-(define-function g_simple_async_report_gerror_in_idle
- (c-name "g_simple_async_report_gerror_in_idle")
- (return-type "none")
+(define-method set_op_res_gboolean
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_op_res_gboolean")
+ (return-type "void")
(parameters
- '("GObject*" "object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("const-GError*" "error")
+ '("gboolean" "op_res")
)
)
-(define-function g_simple_async_report_take_gerror_in_idle
- (c-name "g_simple_async_report_take_gerror_in_idle")
- (return-type "none")
+(define-method set_op_res_gpointer
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_op_res_gpointer")
+ (return-type "void")
(parameters
- '("GObject*" "object")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- '("GError*" "error")
+ '("gpointer" "op_res")
+ '("GDestroyNotify" "destroy_op_res")
)
)
+(define-method set_op_res_gssize
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_set_op_res_gssize")
+ (return-type "void")
+ (parameters
+ '("gssize" "op_res")
+ )
+)
-
-;; From gsimpleiostream.h
-
-(define-function g_simple_io_stream_get_type
- (c-name "g_simple_io_stream_get_type")
- (return-type "GType")
+(define-method take_error
+ (of-object "GSimpleAsyncResult")
+ (c-name "g_simple_async_result_take_error")
+ (return-type "void")
+ (parameters
+ '("GError*" "error")
+ )
)
(define-function g_simple_io_stream_new
(c-name "g_simple_io_stream_new")
- (is-constructor-of "GSimpleIoStream")
(return-type "GIOStream*")
(parameters
'("GInputStream*" "input_stream")
@@ -15861,36 +8650,16 @@
)
)
-
-
-;; From gsimplepermission.h
-
-(define-function g_simple_permission_get_type
- (c-name "g_simple_permission_get_type")
- (return-type "GType")
-)
-
(define-function g_simple_permission_new
(c-name "g_simple_permission_new")
- (is-constructor-of "GSimplePermission")
(return-type "GPermission*")
(parameters
'("gboolean" "allowed")
)
)
-
-
-;; From gsimpleproxyresolver.h
-
-(define-function g_simple_proxy_resolver_get_type
- (c-name "g_simple_proxy_resolver_get_type")
- (return-type "GType")
-)
-
(define-function g_simple_proxy_resolver_new
(c-name "g_simple_proxy_resolver_new")
- (is-constructor-of "GSimpleProxyResolver")
(return-type "GProxyResolver*")
(parameters
'("const-gchar*" "default_proxy")
@@ -15901,7 +8670,7 @@
(define-method set_default_proxy
(of-object "GSimpleProxyResolver")
(c-name "g_simple_proxy_resolver_set_default_proxy")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "default_proxy")
)
@@ -15910,7 +8679,7 @@
(define-method set_ignore_hosts
(of-object "GSimpleProxyResolver")
(c-name "g_simple_proxy_resolver_set_ignore_hosts")
- (return-type "none")
+ (return-type "void")
(parameters
'("gchar**" "ignore_hosts")
)
@@ -15919,632 +8688,423 @@
(define-method set_uri_proxy
(of-object "GSimpleProxyResolver")
(c-name "g_simple_proxy_resolver_set_uri_proxy")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "uri_scheme")
'("const-gchar*" "proxy")
)
)
-
-
-;; From gsocketaddressenumerator.h
-
-(define-function g_socket_address_enumerator_get_type
- (c-name "g_socket_address_enumerator_get_type")
- (return-type "GType")
-)
-
-(define-method next
- (of-object "GSocketAddressEnumerator")
- (c-name "g_socket_address_enumerator_next")
- (return-type "GSocketAddress*")
+(define-function g_socket_new
+ (c-name "g_socket_new")
+ (return-type "GSocket*")
(parameters
- '("GCancellable*" "cancellable")
+ '("GSocketFamily" "family")
+ '("GSocketType" "type")
+ '("GSocketProtocol" "protocol")
'("GError**" "error")
)
)
-(define-method next_async
- (of-object "GSocketAddressEnumerator")
- (c-name "g_socket_address_enumerator_next_async")
- (return-type "none")
- (parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method next_finish
- (of-object "GSocketAddressEnumerator")
- (c-name "g_socket_address_enumerator_next_finish")
- (return-type "GSocketAddress*")
+(define-function g_socket_new_from_fd
+ (c-name "g_socket_new_from_fd")
+ (return-type "GSocket*")
(parameters
- '("GAsyncResult*" "result")
+ '("gint" "fd")
'("GError**" "error")
)
)
-
-
-;; From gsocketaddress.h
-
-(define-function g_socket_address_get_type
- (c-name "g_socket_address_get_type")
- (return-type "GType")
-)
-
-(define-method get_family
- (of-object "GSocketAddress")
- (c-name "g_socket_address_get_family")
- (return-type "GSocketFamily")
-)
-
-(define-function g_socket_address_new_from_native
- (c-name "g_socket_address_new_from_native")
- (return-type "GSocketAddress*")
+(define-method accept
+ (of-object "GSocket")
+ (c-name "g_socket_accept")
+ (return-type "GSocket*")
(parameters
- '("gpointer" "native")
- '("gsize" "len")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method to_native
- (of-object "GSocketAddress")
- (c-name "g_socket_address_to_native")
+(define-method bind
+ (of-object "GSocket")
+ (c-name "g_socket_bind")
(return-type "gboolean")
(parameters
- '("gpointer" "dest")
- '("gsize" "destlen")
+ '("GSocketAddress*" "address")
+ '("gboolean" "allow_reuse")
'("GError**" "error")
)
)
-(define-method get_native_size
- (of-object "GSocketAddress")
- (c-name "g_socket_address_get_native_size")
- (return-type "gssize")
-)
-
-
-
-;; From gsocketclient.h
-
-(define-function g_socket_client_get_type
- (c-name "g_socket_client_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_client_new
- (c-name "g_socket_client_new")
- (is-constructor-of "GSocketClient")
- (return-type "GSocketClient*")
-)
-
-(define-method get_family
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_family")
- (return-type "GSocketFamily")
-)
-
-(define-method set_family
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_family")
- (return-type "none")
- (parameters
- '("GSocketFamily" "family")
- )
-)
-
-(define-method get_socket_type
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_socket_type")
- (return-type "GSocketType")
-)
-
-(define-method set_socket_type
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_socket_type")
- (return-type "none")
+(define-method check_connect_result
+ (of-object "GSocket")
+ (c-name "g_socket_check_connect_result")
+ (return-type "gboolean")
(parameters
- '("GSocketType" "type")
+ '("GError**" "error")
)
)
-(define-method get_protocol
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_protocol")
- (return-type "GSocketProtocol")
-)
-
-(define-method set_protocol
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_protocol")
- (return-type "none")
+(define-method close
+ (of-object "GSocket")
+ (c-name "g_socket_close")
+ (return-type "gboolean")
(parameters
- '("GSocketProtocol" "protocol")
+ '("GError**" "error")
)
)
-(define-method get_local_address
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_local_address")
- (return-type "GSocketAddress*")
-)
-
-(define-method set_local_address
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_local_address")
- (return-type "none")
+(define-method condition_check
+ (of-object "GSocket")
+ (c-name "g_socket_condition_check")
+ (return-type "GIOCondition")
(parameters
- '("GSocketAddress*" "address")
+ '("GIOCondition" "condition")
)
)
-(define-method get_timeout
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_timeout")
- (return-type "guint")
-)
-
-(define-method set_timeout
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_timeout")
- (return-type "none")
+(define-method condition_timed_wait
+ (of-object "GSocket")
+ (c-name "g_socket_condition_timed_wait")
+ (return-type "gboolean")
(parameters
- '("guint" "timeout")
+ '("GIOCondition" "condition")
+ '("gint64" "timeout")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_enable_proxy
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_enable_proxy")
+(define-method condition_wait
+ (of-object "GSocket")
+ (c-name "g_socket_condition_wait")
(return-type "gboolean")
-)
-
-(define-method set_enable_proxy
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_enable_proxy")
- (return-type "none")
(parameters
- '("gboolean" "enable")
+ '("GIOCondition" "condition")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_tls
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_tls")
+(define-method connect
+ (of-object "GSocket")
+ (c-name "g_socket_connect")
(return-type "gboolean")
-)
-
-(define-method set_tls
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_tls")
- (return-type "none")
(parameters
- '("gboolean" "tls")
+ '("GSocketAddress*" "address")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_tls_validation_flags
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_tls_validation_flags")
- (return-type "GTlsCertificateFlags")
+(define-method connection_factory_create_connection
+ (of-object "GSocket")
+ (c-name "g_socket_connection_factory_create_connection")
+ (return-type "GSocketConnection*")
)
-(define-method set_tls_validation_flags
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_tls_validation_flags")
- (return-type "none")
+(define-method create_source
+ (of-object "GSocket")
+ (c-name "g_socket_create_source")
+ (return-type "GSource*")
(parameters
- '("GTlsCertificateFlags" "flags")
+ '("GIOCondition" "condition")
+ '("GCancellable*" "cancellable")
)
)
-(define-method get_proxy_resolver
- (of-object "GSocketClient")
- (c-name "g_socket_client_get_proxy_resolver")
- (return-type "GProxyResolver*")
+(define-method get_available_bytes
+ (of-object "GSocket")
+ (c-name "g_socket_get_available_bytes")
+ (return-type "gssize")
)
-(define-method set_proxy_resolver
- (of-object "GSocketClient")
- (c-name "g_socket_client_set_proxy_resolver")
- (return-type "none")
- (parameters
- '("GProxyResolver*" "proxy_resolver")
- )
+(define-method get_blocking
+ (of-object "GSocket")
+ (c-name "g_socket_get_blocking")
+ (return-type "gboolean")
)
-(define-method connect
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect")
- (return-type "GSocketConnection*")
- (parameters
- '("GSocketConnectable*" "connectable")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_broadcast
+ (of-object "GSocket")
+ (c-name "g_socket_get_broadcast")
+ (return-type "gboolean")
)
-(define-method connect_to_host
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_host")
- (return-type "GSocketConnection*")
+(define-method get_credentials
+ (of-object "GSocket")
+ (c-name "g_socket_get_credentials")
+ (return-type "GCredentials*")
(parameters
- '("const-gchar*" "host_and_port")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method connect_to_service
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_service")
- (return-type "GSocketConnection*")
- (parameters
- '("const-gchar*" "domain")
- '("const-gchar*" "service")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_family
+ (of-object "GSocket")
+ (c-name "g_socket_get_family")
+ (return-type "GSocketFamily")
)
-(define-method connect_to_uri
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_uri")
- (return-type "GSocketConnection*")
- (parameters
- '("const-gchar*" "uri")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
+(define-method get_fd
+ (of-object "GSocket")
+ (c-name "g_socket_get_fd")
+ (return-type "int")
)
-(define-method connect_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_async")
- (return-type "none")
- (parameters
- '("GSocketConnectable*" "connectable")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_keepalive
+ (of-object "GSocket")
+ (c-name "g_socket_get_keepalive")
+ (return-type "gboolean")
)
-(define-method connect_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_finish")
- (return-type "GSocketConnection*")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+(define-method get_listen_backlog
+ (of-object "GSocket")
+ (c-name "g_socket_get_listen_backlog")
+ (return-type "gint")
)
-(define-method connect_to_host_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_host_async")
- (return-type "none")
+(define-method get_local_address
+ (of-object "GSocket")
+ (c-name "g_socket_get_local_address")
+ (return-type "GSocketAddress*")
(parameters
- '("const-gchar*" "host_and_port")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method connect_to_host_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_host_finish")
- (return-type "GSocketConnection*")
- (parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
- )
+(define-method get_multicast_loopback
+ (of-object "GSocket")
+ (c-name "g_socket_get_multicast_loopback")
+ (return-type "gboolean")
)
-(define-method connect_to_service_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_service_async")
- (return-type "none")
- (parameters
- '("const-gchar*" "domain")
- '("const-gchar*" "service")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_multicast_ttl
+ (of-object "GSocket")
+ (c-name "g_socket_get_multicast_ttl")
+ (return-type "guint")
)
-(define-method connect_to_service_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_service_finish")
- (return-type "GSocketConnection*")
+(define-method get_option
+ (of-object "GSocket")
+ (c-name "g_socket_get_option")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
+ '("gint" "level")
+ '("gint" "optname")
+ '("gint*" "value")
'("GError**" "error")
)
)
-(define-method connect_to_uri_async
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_uri_async")
- (return-type "none")
- (parameters
- '("const-gchar*" "uri")
- '("guint16" "default_port")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
+(define-method get_protocol
+ (of-object "GSocket")
+ (c-name "g_socket_get_protocol")
+ (return-type "GSocketProtocol")
)
-(define-method connect_to_uri_finish
- (of-object "GSocketClient")
- (c-name "g_socket_client_connect_to_uri_finish")
- (return-type "GSocketConnection*")
+(define-method get_remote_address
+ (of-object "GSocket")
+ (c-name "g_socket_get_remote_address")
+ (return-type "GSocketAddress*")
(parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method add_application_proxy
- (of-object "GSocketClient")
- (c-name "g_socket_client_add_application_proxy")
- (return-type "none")
- (parameters
- '("const-gchar*" "protocol")
- )
-)
-
-
-
-;; From gsocketconnectable.h
-
-(define-function g_socket_connectable_get_type
- (c-name "g_socket_connectable_get_type")
- (return-type "GType")
-)
-
-(define-method enumerate
- (of-object "GSocketConnectable")
- (c-name "g_socket_connectable_enumerate")
- (return-type "GSocketAddressEnumerator*")
+(define-method get_socket_type
+ (of-object "GSocket")
+ (c-name "g_socket_get_socket_type")
+ (return-type "GSocketType")
)
-(define-method proxy_enumerate
- (of-object "GSocketConnectable")
- (c-name "g_socket_connectable_proxy_enumerate")
- (return-type "GSocketAddressEnumerator*")
+(define-method get_timeout
+ (of-object "GSocket")
+ (c-name "g_socket_get_timeout")
+ (return-type "guint")
)
-(define-method to_string
- (of-object "GSocketConnectable")
- (c-name "g_socket_connectable_to_string")
- (return-type "gchar*")
+(define-method get_ttl
+ (of-object "GSocket")
+ (c-name "g_socket_get_ttl")
+ (return-type "guint")
)
-
-
-;; From gsocketconnection.h
-
-(define-function g_socket_connection_get_type
- (c-name "g_socket_connection_get_type")
- (return-type "GType")
+(define-method is_closed
+ (of-object "GSocket")
+ (c-name "g_socket_is_closed")
+ (return-type "gboolean")
)
(define-method is_connected
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_is_connected")
+ (of-object "GSocket")
+ (c-name "g_socket_is_connected")
(return-type "gboolean")
)
-(define-method connect
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_connect")
+(define-method join_multicast_group
+ (of-object "GSocket")
+ (c-name "g_socket_join_multicast_group")
(return-type "gboolean")
(parameters
- '("GSocketAddress*" "address")
- '("GCancellable*" "cancellable")
+ '("GInetAddress*" "group")
+ '("gboolean" "source_specific")
+ '("const-gchar*" "iface")
'("GError**" "error")
)
)
-(define-method connect_async
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_connect_async")
- (return-type "none")
+(define-method leave_multicast_group
+ (of-object "GSocket")
+ (c-name "g_socket_leave_multicast_group")
+ (return-type "gboolean")
(parameters
- '("GSocketAddress*" "address")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GInetAddress*" "group")
+ '("gboolean" "source_specific")
+ '("const-gchar*" "iface")
+ '("GError**" "error")
)
)
-(define-method connect_finish
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_connect_finish")
+(define-method listen
+ (of-object "GSocket")
+ (c-name "g_socket_listen")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method get_socket
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_get_socket")
- (return-type "GSocket*")
-)
-
-(define-method get_local_address
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_get_local_address")
- (return-type "GSocketAddress*")
+(define-method receive
+ (of-object "GSocket")
+ (c-name "g_socket_receive")
+ (return-type "gssize")
(parameters
+ '("gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method get_remote_address
- (of-object "GSocketConnection")
- (c-name "g_socket_connection_get_remote_address")
- (return-type "GSocketAddress*")
+(define-method receive_from
+ (of-object "GSocket")
+ (c-name "g_socket_receive_from")
+ (return-type "gssize")
(parameters
+ '("GSocketAddress**" "address")
+ '("gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_socket_connection_factory_register_type
- (c-name "g_socket_connection_factory_register_type")
- (return-type "none")
+(define-method receive_message
+ (of-object "GSocket")
+ (c-name "g_socket_receive_message")
+ (return-type "gssize")
(parameters
- '("GType" "g_type")
- '("GSocketFamily" "family")
- '("GSocketType" "type")
- '("gint" "protocol")
+ '("GSocketAddress**" "address")
+ '("GInputVector*" "vectors")
+ '("gint" "num_vectors")
+ '("GSocketControlMessage***" "messages")
+ '("gint*" "num_messages")
+ '("gint*" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_socket_connection_factory_lookup_type
- (c-name "g_socket_connection_factory_lookup_type")
- (return-type "GType")
+(define-method receive_messages
+ (of-object "GSocket")
+ (c-name "g_socket_receive_messages")
+ (return-type "gint")
(parameters
- '("GSocketFamily" "family")
- '("GSocketType" "type")
- '("gint" "protocol_id")
+ '("GInputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method connection_factory_create_connection
+(define-method receive_with_blocking
(of-object "GSocket")
- (c-name "g_socket_connection_factory_create_connection")
- (return-type "GSocketConnection*")
-)
-
-
-
-;; From gsocketcontrolmessage.h
-
-(define-function g_socket_control_message_get_type
- (c-name "g_socket_control_message_get_type")
- (return-type "GType")
-)
-
-(define-method get_size
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_get_size")
- (return-type "gsize")
-)
-
-(define-method get_level
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_get_level")
- (return-type "int")
-)
-
-(define-method get_msg_type
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_get_msg_type")
- (return-type "int")
-)
-
-(define-method serialize
- (of-object "GSocketControlMessage")
- (c-name "g_socket_control_message_serialize")
- (return-type "none")
+ (c-name "g_socket_receive_with_blocking")
+ (return-type "gssize")
(parameters
- '("gpointer" "data")
+ '("gchar*" "buffer")
+ '("gsize" "size")
+ '("gboolean" "blocking")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_socket_control_message_deserialize
- (c-name "g_socket_control_message_deserialize")
- (return-type "GSocketControlMessage*")
+(define-method send
+ (of-object "GSocket")
+ (c-name "g_socket_send")
+ (return-type "gssize")
(parameters
- '("int" "level")
- '("int" "type")
+ '("const-gchar*" "buffer")
'("gsize" "size")
- '("gpointer" "data")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-
-
-;; From gsocket.h
-
-(define-function g_socket_get_type
- (c-name "g_socket_get_type")
- (return-type "GType")
-)
-
-(define-function g_socket_new
- (c-name "g_socket_new")
- (is-constructor-of "GSocket")
- (return-type "GSocket*")
+(define-method send_message
+ (of-object "GSocket")
+ (c-name "g_socket_send_message")
+ (return-type "gssize")
(parameters
- '("GSocketFamily" "family")
- '("GSocketType" "type")
- '("GSocketProtocol" "protocol")
+ '("GSocketAddress*" "address")
+ '("GOutputVector*" "vectors")
+ '("gint" "num_vectors")
+ '("GSocketControlMessage**" "messages")
+ '("gint" "num_messages")
+ '("gint" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function g_socket_new_from_fd
- (c-name "g_socket_new_from_fd")
- (return-type "GSocket*")
+(define-method send_messages
+ (of-object "GSocket")
+ (c-name "g_socket_send_messages")
+ (return-type "gint")
(parameters
- '("gint" "fd")
+ '("GOutputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method get_fd
- (of-object "GSocket")
- (c-name "g_socket_get_fd")
- (return-type "int")
-)
-
-(define-method get_family
- (of-object "GSocket")
- (c-name "g_socket_get_family")
- (return-type "GSocketFamily")
-)
-
-(define-method get_socket_type
- (of-object "GSocket")
- (c-name "g_socket_get_socket_type")
- (return-type "GSocketType")
-)
-
-(define-method get_protocol
- (of-object "GSocket")
- (c-name "g_socket_get_protocol")
- (return-type "GSocketProtocol")
-)
-
-(define-method get_local_address
+(define-method send_to
(of-object "GSocket")
- (c-name "g_socket_get_local_address")
- (return-type "GSocketAddress*")
+ (c-name "g_socket_send_to")
+ (return-type "gssize")
(parameters
+ '("GSocketAddress*" "address")
+ '("const-gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method get_remote_address
+(define-method send_with_blocking
(of-object "GSocket")
- (c-name "g_socket_get_remote_address")
- (return-type "GSocketAddress*")
+ (c-name "g_socket_send_with_blocking")
+ (return-type "gssize")
(parameters
+ '("gchar*" "buffer")
+ '("gsize" "size")
+ '("gboolean" "blocking")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
@@ -16552,520 +9112,610 @@
(define-method set_blocking
(of-object "GSocket")
(c-name "g_socket_set_blocking")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "blocking")
)
)
-(define-method get_blocking
+(define-method set_broadcast
(of-object "GSocket")
- (c-name "g_socket_get_blocking")
- (return-type "gboolean")
+ (c-name "g_socket_set_broadcast")
+ (return-type "void")
+ (parameters
+ '("gboolean" "broadcast")
+ )
)
(define-method set_keepalive
(of-object "GSocket")
(c-name "g_socket_set_keepalive")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "keepalive")
)
)
-(define-method get_keepalive
+(define-method set_listen_backlog
(of-object "GSocket")
- (c-name "g_socket_get_keepalive")
- (return-type "gboolean")
+ (c-name "g_socket_set_listen_backlog")
+ (return-type "void")
+ (parameters
+ '("gint" "backlog")
+ )
)
-(define-method get_listen_backlog
+(define-method set_multicast_loopback
(of-object "GSocket")
- (c-name "g_socket_get_listen_backlog")
- (return-type "gint")
+ (c-name "g_socket_set_multicast_loopback")
+ (return-type "void")
+ (parameters
+ '("gboolean" "loopback")
+ )
)
-(define-method set_listen_backlog
+(define-method set_multicast_ttl
(of-object "GSocket")
- (c-name "g_socket_set_listen_backlog")
- (return-type "none")
+ (c-name "g_socket_set_multicast_ttl")
+ (return-type "void")
(parameters
- '("gint" "backlog")
+ '("guint" "ttl")
)
)
-(define-method get_timeout
+(define-method set_option
(of-object "GSocket")
- (c-name "g_socket_get_timeout")
- (return-type "guint")
+ (c-name "g_socket_set_option")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "level")
+ '("gint" "optname")
+ '("gint" "value")
+ '("GError**" "error")
+ )
)
(define-method set_timeout
(of-object "GSocket")
(c-name "g_socket_set_timeout")
- (return-type "none")
+ (return-type "void")
(parameters
'("guint" "timeout")
)
)
-(define-method get_ttl
- (of-object "GSocket")
- (c-name "g_socket_get_ttl")
- (return-type "guint")
-)
-
(define-method set_ttl
(of-object "GSocket")
(c-name "g_socket_set_ttl")
- (return-type "none")
+ (return-type "void")
(parameters
'("guint" "ttl")
)
)
-(define-method get_broadcast
+(define-method shutdown
(of-object "GSocket")
- (c-name "g_socket_get_broadcast")
+ (c-name "g_socket_shutdown")
(return-type "gboolean")
-)
-
-(define-method set_broadcast
- (of-object "GSocket")
- (c-name "g_socket_set_broadcast")
- (return-type "none")
(parameters
- '("gboolean" "broadcast")
+ '("gboolean" "shutdown_read")
+ '("gboolean" "shutdown_write")
+ '("GError**" "error")
)
)
-(define-method get_multicast_loopback
+(define-method speaks_ipv4
(of-object "GSocket")
- (c-name "g_socket_get_multicast_loopback")
+ (c-name "g_socket_speaks_ipv4")
(return-type "gboolean")
)
-(define-method set_multicast_loopback
- (of-object "GSocket")
- (c-name "g_socket_set_multicast_loopback")
- (return-type "none")
+(define-function g_socket_address_new_from_native
+ (c-name "g_socket_address_new_from_native")
+ (return-type "GSocketAddress*")
(parameters
- '("gboolean" "loopback")
+ '("gpointer" "native")
+ '("gsize" "len")
)
)
-(define-method get_multicast_ttl
- (of-object "GSocket")
- (c-name "g_socket_get_multicast_ttl")
- (return-type "guint")
+(define-method get_family
+ (of-object "GSocketAddress")
+ (c-name "g_socket_address_get_family")
+ (return-type "GSocketFamily")
)
-(define-method set_multicast_ttl
- (of-object "GSocket")
- (c-name "g_socket_set_multicast_ttl")
- (return-type "none")
- (parameters
- '("guint" "ttl")
- )
+(define-method get_native_size
+ (of-object "GSocketAddress")
+ (c-name "g_socket_address_get_native_size")
+ (return-type "gssize")
)
-(define-method is_connected
- (of-object "GSocket")
- (c-name "g_socket_is_connected")
+(define-method to_native
+ (of-object "GSocketAddress")
+ (c-name "g_socket_address_to_native")
(return-type "gboolean")
+ (parameters
+ '("gpointer" "dest")
+ '("gsize" "destlen")
+ '("GError**" "error")
+ )
)
-(define-method bind
- (of-object "GSocket")
- (c-name "g_socket_bind")
- (return-type "gboolean")
+(define-method next
+ (of-object "GSocketAddressEnumerator")
+ (c-name "g_socket_address_enumerator_next")
+ (return-type "GSocketAddress*")
(parameters
- '("GSocketAddress*" "address")
- '("gboolean" "allow_reuse")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method join_multicast_group
- (of-object "GSocket")
- (c-name "g_socket_join_multicast_group")
- (return-type "gboolean")
+(define-method next_async
+ (of-object "GSocketAddressEnumerator")
+ (c-name "g_socket_address_enumerator_next_async")
+ (return-type "void")
(parameters
- '("GInetAddress*" "group")
- '("gboolean" "source_specific")
- '("const-gchar*" "iface")
- '("GError**" "error")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method leave_multicast_group
- (of-object "GSocket")
- (c-name "g_socket_leave_multicast_group")
- (return-type "gboolean")
+(define-method next_finish
+ (of-object "GSocketAddressEnumerator")
+ (c-name "g_socket_address_enumerator_next_finish")
+ (return-type "GSocketAddress*")
(parameters
- '("GInetAddress*" "group")
- '("gboolean" "source_specific")
- '("const-gchar*" "iface")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
+(define-function g_socket_client_new
+ (c-name "g_socket_client_new")
+ (return-type "GSocketClient*")
+)
+
+(define-method add_application_proxy
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_add_application_proxy")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "protocol")
+ )
+)
+
(define-method connect
- (of-object "GSocket")
- (c-name "g_socket_connect")
- (return-type "gboolean")
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect")
+ (return-type "GSocketConnection*")
(parameters
- '("GSocketAddress*" "address")
+ '("GSocketConnectable*" "connectable")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method check_connect_result
- (of-object "GSocket")
- (c-name "g_socket_check_connect_result")
- (return-type "gboolean")
+(define-method connect_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_async")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("GSocketConnectable*" "connectable")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_available_bytes
- (of-object "GSocket")
- (c-name "g_socket_get_available_bytes")
- (return-type "gssize")
+(define-method connect_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_finish")
+ (return-type "GSocketConnection*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-method condition_check
- (of-object "GSocket")
- (c-name "g_socket_condition_check")
- (return-type "GIOCondition")
+(define-method connect_to_host
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_host")
+ (return-type "GSocketConnection*")
(parameters
- '("GIOCondition" "condition")
+ '("const-gchar*" "host_and_port")
+ '("guint16" "default_port")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method condition_wait
- (of-object "GSocket")
- (c-name "g_socket_condition_wait")
- (return-type "gboolean")
+(define-method connect_to_host_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_host_async")
+ (return-type "void")
(parameters
- '("GIOCondition" "condition")
+ '("const-gchar*" "host_and_port")
+ '("guint16" "default_port")
'("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method connect_to_host_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_host_finish")
+ (return-type "GSocketConnection*")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method condition_timed_wait
- (of-object "GSocket")
- (c-name "g_socket_condition_timed_wait")
- (return-type "gboolean")
+(define-method connect_to_service
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_service")
+ (return-type "GSocketConnection*")
(parameters
- '("GIOCondition" "condition")
- '("gint64" "timeout")
+ '("const-gchar*" "domain")
+ '("const-gchar*" "service")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method accept
- (of-object "GSocket")
- (c-name "g_socket_accept")
- (return-type "GSocket*")
+(define-method connect_to_service_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_service_async")
+ (return-type "void")
(parameters
+ '("const-gchar*" "domain")
+ '("const-gchar*" "service")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method listen
- (of-object "GSocket")
- (c-name "g_socket_listen")
- (return-type "gboolean")
+(define-method connect_to_service_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_service_finish")
+ (return-type "GSocketConnection*")
(parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method receive
- (of-object "GSocket")
- (c-name "g_socket_receive")
- (return-type "gssize")
+(define-method connect_to_uri
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_uri")
+ (return-type "GSocketConnection*")
(parameters
- '("gchar*" "buffer")
- '("gsize" "size")
+ '("const-gchar*" "uri")
+ '("guint16" "default_port")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method receive_from
- (of-object "GSocket")
- (c-name "g_socket_receive_from")
- (return-type "gssize")
+(define-method connect_to_uri_async
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_uri_async")
+ (return-type "void")
(parameters
- '("GSocketAddress**" "address")
- '("gchar*" "buffer")
- '("gsize" "size")
+ '("const-gchar*" "uri")
+ '("guint16" "default_port")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method send
- (of-object "GSocket")
- (c-name "g_socket_send")
- (return-type "gssize")
+(define-method connect_to_uri_finish
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_connect_to_uri_finish")
+ (return-type "GSocketConnection*")
(parameters
- '("const-gchar*" "buffer")
- '("gsize" "size")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method send_to
- (of-object "GSocket")
- (c-name "g_socket_send_to")
- (return-type "gssize")
+(define-method get_enable_proxy
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_enable_proxy")
+ (return-type "gboolean")
+)
+
+(define-method get_family
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_family")
+ (return-type "GSocketFamily")
+)
+
+(define-method get_local_address
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_local_address")
+ (return-type "GSocketAddress*")
+)
+
+(define-method get_protocol
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_protocol")
+ (return-type "GSocketProtocol")
+)
+
+(define-method get_proxy_resolver
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_proxy_resolver")
+ (return-type "GProxyResolver*")
+)
+
+(define-method get_socket_type
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_socket_type")
+ (return-type "GSocketType")
+)
+
+(define-method get_timeout
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_timeout")
+ (return-type "guint")
+)
+
+(define-method get_tls
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_tls")
+ (return-type "gboolean")
+)
+
+(define-method get_tls_validation_flags
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_get_tls_validation_flags")
+ (return-type "GTlsCertificateFlags")
+)
+
+(define-method set_enable_proxy
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_enable_proxy")
+ (return-type "void")
(parameters
- '("GSocketAddress*" "address")
- '("const-gchar*" "buffer")
- '("gsize" "size")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("gboolean" "enable")
)
)
-(define-method receive_message
- (of-object "GSocket")
- (c-name "g_socket_receive_message")
- (return-type "gssize")
+(define-method set_family
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_family")
+ (return-type "void")
(parameters
- '("GSocketAddress**" "address")
- '("GInputVector*" "vectors")
- '("gint" "num_vectors")
- '("GSocketControlMessage***" "messages")
- '("gint*" "num_messages")
- '("gint*" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GSocketFamily" "family")
)
)
-(define-method send_message
- (of-object "GSocket")
- (c-name "g_socket_send_message")
- (return-type "gssize")
+(define-method set_local_address
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_local_address")
+ (return-type "void")
(parameters
'("GSocketAddress*" "address")
- '("GOutputVector*" "vectors")
- '("gint" "num_vectors")
- '("GSocketControlMessage**" "messages")
- '("gint" "num_messages")
- '("gint" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
)
)
-(define-method receive_messages
- (of-object "GSocket")
- (c-name "g_socket_receive_messages")
- (return-type "gint")
+(define-method set_protocol
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_protocol")
+ (return-type "void")
(parameters
- '("GInputMessage*" "messages")
- '("guint" "num_messages")
- '("gint" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GSocketProtocol" "protocol")
)
)
-(define-method send_messages
- (of-object "GSocket")
- (c-name "g_socket_send_messages")
- (return-type "gint")
+(define-method set_proxy_resolver
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_proxy_resolver")
+ (return-type "void")
(parameters
- '("GOutputMessage*" "messages")
- '("guint" "num_messages")
- '("gint" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GProxyResolver*" "proxy_resolver")
)
)
-(define-method close
- (of-object "GSocket")
- (c-name "g_socket_close")
- (return-type "gboolean")
+(define-method set_socket_type
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_socket_type")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("GSocketType" "type")
)
)
-(define-method shutdown
- (of-object "GSocket")
- (c-name "g_socket_shutdown")
- (return-type "gboolean")
+(define-method set_timeout
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_timeout")
+ (return-type "void")
(parameters
- '("gboolean" "shutdown_read")
- '("gboolean" "shutdown_write")
- '("GError**" "error")
+ '("guint" "timeout")
)
)
-(define-method is_closed
- (of-object "GSocket")
- (c-name "g_socket_is_closed")
- (return-type "gboolean")
+(define-method set_tls
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_tls")
+ (return-type "void")
+ (parameters
+ '("gboolean" "tls")
+ )
)
-(define-method create_source
- (of-object "GSocket")
- (c-name "g_socket_create_source")
- (return-type "GSource*")
+(define-method set_tls_validation_flags
+ (of-object "GSocketClient")
+ (c-name "g_socket_client_set_tls_validation_flags")
+ (return-type "void")
(parameters
- '("GIOCondition" "condition")
- '("GCancellable*" "cancellable")
+ '("GTlsCertificateFlags" "flags")
)
)
-(define-method speaks_ipv4
- (of-object "GSocket")
- (c-name "g_socket_speaks_ipv4")
- (return-type "gboolean")
+(define-function g_socket_connection_factory_lookup_type
+ (c-name "g_socket_connection_factory_lookup_type")
+ (return-type "GType")
+ (parameters
+ '("GSocketFamily" "family")
+ '("GSocketType" "type")
+ '("gint" "protocol_id")
+ )
)
-(define-method get_credentials
- (of-object "GSocket")
- (c-name "g_socket_get_credentials")
- (return-type "GCredentials*")
+(define-function g_socket_connection_factory_register_type
+ (c-name "g_socket_connection_factory_register_type")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("GType" "g_type")
+ '("GSocketFamily" "family")
+ '("GSocketType" "type")
+ '("gint" "protocol")
)
)
-(define-method receive_with_blocking
- (of-object "GSocket")
- (c-name "g_socket_receive_with_blocking")
- (return-type "gssize")
+(define-method connect
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_connect")
+ (return-type "gboolean")
(parameters
- '("gchar*" "buffer")
- '("gsize" "size")
- '("gboolean" "blocking")
+ '("GSocketAddress*" "address")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method send_with_blocking
- (of-object "GSocket")
- (c-name "g_socket_send_with_blocking")
- (return-type "gssize")
+(define-method connect_async
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_connect_async")
+ (return-type "void")
(parameters
- '("const-gchar*" "buffer")
- '("gsize" "size")
- '("gboolean" "blocking")
+ '("GSocketAddress*" "address")
'("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_option
- (of-object "GSocket")
- (c-name "g_socket_get_option")
+(define-method connect_finish
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_connect_finish")
(return-type "gboolean")
(parameters
- '("gint" "level")
- '("gint" "optname")
- '("gint*" "value")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method set_option
- (of-object "GSocket")
- (c-name "g_socket_set_option")
- (return-type "gboolean")
+(define-method get_local_address
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_get_local_address")
+ (return-type "GSocketAddress*")
(parameters
- '("gint" "level")
- '("gint" "optname")
- '("gint" "value")
'("GError**" "error")
)
)
+(define-method get_remote_address
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_get_remote_address")
+ (return-type "GSocketAddress*")
+ (parameters
+ '("GError**" "error")
+ )
+)
+(define-method get_socket
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_get_socket")
+ (return-type "GSocket*")
+)
-;; From gsocketinputstream.h
-
+(define-method is_connected
+ (of-object "GSocketConnection")
+ (c-name "g_socket_connection_is_connected")
+ (return-type "gboolean")
+)
+(define-function g_socket_control_message_deserialize
+ (c-name "g_socket_control_message_deserialize")
+ (return-type "GSocketControlMessage*")
+ (parameters
+ '("int" "level")
+ '("int" "type")
+ '("gsize" "size")
+ '("gpointer" "data")
+ )
+)
-;; From gsocketlistener.h
+(define-method get_level
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_get_level")
+ (return-type "int")
+)
-(define-function g_socket_listener_get_type
- (c-name "g_socket_listener_get_type")
- (return-type "GType")
+(define-method get_msg_type
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_get_msg_type")
+ (return-type "int")
)
-(define-function g_socket_listener_new
- (c-name "g_socket_listener_new")
- (is-constructor-of "GSocketListener")
- (return-type "GSocketListener*")
+(define-method get_size
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_get_size")
+ (return-type "gsize")
)
-(define-method set_backlog
- (of-object "GSocketListener")
- (c-name "g_socket_listener_set_backlog")
- (return-type "none")
+(define-method serialize
+ (of-object "GSocketControlMessage")
+ (c-name "g_socket_control_message_serialize")
+ (return-type "void")
(parameters
- '("int" "listen_backlog")
+ '("gpointer" "data")
)
)
-(define-method add_socket
- (of-object "GSocketListener")
- (c-name "g_socket_listener_add_socket")
- (return-type "gboolean")
- (parameters
- '("GSocket*" "socket")
- '("GObject*" "source_object")
- '("GError**" "error")
- )
+(define-function g_socket_listener_new
+ (c-name "g_socket_listener_new")
+ (return-type "GSocketListener*")
)
-(define-method add_address
+(define-method accept
(of-object "GSocketListener")
- (c-name "g_socket_listener_add_address")
- (return-type "gboolean")
+ (c-name "g_socket_listener_accept")
+ (return-type "GSocketConnection*")
(parameters
- '("GSocketAddress*" "address")
- '("GSocketType" "type")
- '("GSocketProtocol" "protocol")
- '("GObject*" "source_object")
- '("GSocketAddress**" "effective_address")
+ '("GObject**" "source_object")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method add_inet_port
+(define-method accept_async
(of-object "GSocketListener")
- (c-name "g_socket_listener_add_inet_port")
- (return-type "gboolean")
+ (c-name "g_socket_listener_accept_async")
+ (return-type "void")
(parameters
- '("guint16" "port")
- '("GObject*" "source_object")
- '("GError**" "error")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method add_any_inet_port
+(define-method accept_finish
(of-object "GSocketListener")
- (c-name "g_socket_listener_add_any_inet_port")
- (return-type "guint16")
+ (c-name "g_socket_listener_accept_finish")
+ (return-type "GSocketConnection*")
(parameters
- '("GObject*" "source_object")
+ '("GAsyncResult*" "result")
+ '("GObject**" "source_object")
'("GError**" "error")
)
)
@@ -17084,7 +9734,7 @@
(define-method accept_socket_async
(of-object "GSocketListener")
(c-name "g_socket_listener_accept_socket_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
@@ -17103,35 +9753,48 @@
)
)
-(define-method accept
+(define-method add_address
(of-object "GSocketListener")
- (c-name "g_socket_listener_accept")
- (return-type "GSocketConnection*")
+ (c-name "g_socket_listener_add_address")
+ (return-type "gboolean")
(parameters
- '("GObject**" "source_object")
- '("GCancellable*" "cancellable")
+ '("GSocketAddress*" "address")
+ '("GSocketType" "type")
+ '("GSocketProtocol" "protocol")
+ '("GObject*" "source_object")
+ '("GSocketAddress**" "effective_address")
'("GError**" "error")
)
)
-(define-method accept_async
+(define-method add_any_inet_port
(of-object "GSocketListener")
- (c-name "g_socket_listener_accept_async")
- (return-type "none")
+ (c-name "g_socket_listener_add_any_inet_port")
+ (return-type "guint16")
(parameters
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GObject*" "source_object")
+ '("GError**" "error")
)
)
-(define-method accept_finish
+(define-method add_inet_port
(of-object "GSocketListener")
- (c-name "g_socket_listener_accept_finish")
- (return-type "GSocketConnection*")
+ (c-name "g_socket_listener_add_inet_port")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "result")
- '("GObject**" "source_object")
+ '("guint16" "port")
+ '("GObject*" "source_object")
+ '("GError**" "error")
+ )
+)
+
+(define-method add_socket
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_add_socket")
+ (return-type "gboolean")
+ (parameters
+ '("GSocket*" "socket")
+ '("GObject*" "source_object")
'("GError**" "error")
)
)
@@ -17139,70 +9802,43 @@
(define-method close
(of-object "GSocketListener")
(c-name "g_socket_listener_close")
- (return-type "none")
+ (return-type "void")
)
-
-
-;; From gsocketoutputstream.h
-
-
-
-;; From gsocketservice.h
-
-(define-function g_socket_service_get_type
- (c-name "g_socket_service_get_type")
- (return-type "GType")
+(define-method set_backlog
+ (of-object "GSocketListener")
+ (c-name "g_socket_listener_set_backlog")
+ (return-type "void")
+ (parameters
+ '("int" "listen_backlog")
+ )
)
(define-function g_socket_service_new
(c-name "g_socket_service_new")
- (is-constructor-of "GSocketService")
(return-type "GSocketService*")
)
+(define-method is_active
+ (of-object "GSocketService")
+ (c-name "g_socket_service_is_active")
+ (return-type "gboolean")
+)
+
(define-method start
(of-object "GSocketService")
(c-name "g_socket_service_start")
- (return-type "none")
+ (return-type "void")
)
(define-method stop
(of-object "GSocketService")
(c-name "g_socket_service_stop")
- (return-type "none")
-)
-
-(define-method is_active
- (of-object "GSocketService")
- (c-name "g_socket_service_is_active")
- (return-type "gboolean")
-)
-
-
-
-;; From gsocks4aproxy.h
-
-
-
-;; From gsocks4proxy.h
-
-
-
-;; From gsocks5proxy.h
-
-
-
-;; From gsrvtarget.h
-
-(define-function g_srv_target_get_type
- (c-name "g_srv_target_get_type")
- (return-type "GType")
+ (return-type "void")
)
(define-function g_srv_target_new
(c-name "g_srv_target_new")
- (is-constructor-of "GSrvTarget")
(return-type "GSrvTarget*")
(parameters
'("const-gchar*" "hostname")
@@ -17221,7 +9857,7 @@
(define-method free
(of-object "GSrvTarget")
(c-name "g_srv_target_free")
- (return-type "none")
+ (return-type "void")
)
(define-method get_hostname
@@ -17256,148 +9892,135 @@
)
)
+(define-method fini
+ (of-object "GStaticResource")
+ (c-name "g_static_resource_fini")
+ (return-type "void")
+)
+(define-method get_resource
+ (of-object "GStaticResource")
+ (c-name "g_static_resource_get_resource")
+ (return-type "GResource*")
+)
-;; From gsubprocess.h
-
-(define-function g_subprocess_get_type
- (c-name "g_subprocess_get_type")
- (return-type "GType")
+(define-method init
+ (of-object "GStaticResource")
+ (c-name "g_static_resource_init")
+ (return-type "void")
)
(define-function g_subprocess_new
(c-name "g_subprocess_new")
- (is-constructor-of "GSubprocess")
(return-type "GSubprocess*")
(parameters
'("GSubprocessFlags" "flags")
'("GError**" "error")
'("const-gchar*" "argv0")
+ '("..." "...")
)
- (varargs #t)
)
(define-function g_subprocess_newv
(c-name "g_subprocess_newv")
(return-type "GSubprocess*")
(parameters
- '("const-gchar*-const*" "argv")
+ '("gchar**" "argv")
'("GSubprocessFlags" "flags")
'("GError**" "error")
)
)
-(define-method get_stdin_pipe
- (of-object "GSubprocess")
- (c-name "g_subprocess_get_stdin_pipe")
- (return-type "GOutputStream*")
-)
-
-(define-method get_stdout_pipe
- (of-object "GSubprocess")
- (c-name "g_subprocess_get_stdout_pipe")
- (return-type "GInputStream*")
-)
-
-(define-method get_stderr_pipe
- (of-object "GSubprocess")
- (c-name "g_subprocess_get_stderr_pipe")
- (return-type "GInputStream*")
-)
-
-(define-method get_identifier
- (of-object "GSubprocess")
- (c-name "g_subprocess_get_identifier")
- (return-type "const-gchar*")
-)
-
-(define-method send_signal
- (of-object "GSubprocess")
- (c-name "g_subprocess_send_signal")
- (return-type "none")
- (parameters
- '("gint" "signal_num")
- )
-)
-
-(define-method force_exit
- (of-object "GSubprocess")
- (c-name "g_subprocess_force_exit")
- (return-type "none")
-)
-
-(define-method wait
+(define-method communicate
(of-object "GSubprocess")
- (c-name "g_subprocess_wait")
+ (c-name "g_subprocess_communicate")
(return-type "gboolean")
(parameters
+ '("GBytes*" "stdin_buf")
'("GCancellable*" "cancellable")
+ '("GBytes**" "stdout_buf")
+ '("GBytes**" "stderr_buf")
'("GError**" "error")
)
)
-(define-method wait_async
+(define-method communicate_async
(of-object "GSubprocess")
- (c-name "g_subprocess_wait_async")
- (return-type "none")
+ (c-name "g_subprocess_communicate_async")
+ (return-type "void")
(parameters
+ '("GBytes*" "stdin_buf")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method wait_finish
+(define-method communicate_finish
(of-object "GSubprocess")
- (c-name "g_subprocess_wait_finish")
+ (c-name "g_subprocess_communicate_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
+ '("GBytes**" "stdout_buf")
+ '("GBytes**" "stderr_buf")
'("GError**" "error")
)
)
-(define-method wait_check
+(define-method communicate_utf8
(of-object "GSubprocess")
- (c-name "g_subprocess_wait_check")
+ (c-name "g_subprocess_communicate_utf8")
(return-type "gboolean")
(parameters
+ '("const-char*" "stdin_buf")
'("GCancellable*" "cancellable")
+ '("char**" "stdout_buf")
+ '("char**" "stderr_buf")
'("GError**" "error")
)
)
-(define-method wait_check_async
+(define-method communicate_utf8_async
(of-object "GSubprocess")
- (c-name "g_subprocess_wait_check_async")
- (return-type "none")
+ (c-name "g_subprocess_communicate_utf8_async")
+ (return-type "void")
(parameters
+ '("const-char*" "stdin_buf")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method wait_check_finish
+(define-method communicate_utf8_finish
(of-object "GSubprocess")
- (c-name "g_subprocess_wait_check_finish")
+ (c-name "g_subprocess_communicate_utf8_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
+ '("char**" "stdout_buf")
+ '("char**" "stderr_buf")
'("GError**" "error")
)
)
-(define-method get_status
+(define-method force_exit
(of-object "GSubprocess")
- (c-name "g_subprocess_get_status")
+ (c-name "g_subprocess_force_exit")
+ (return-type "void")
+)
+
+(define-method get_exit_status
+ (of-object "GSubprocess")
+ (c-name "g_subprocess_get_exit_status")
(return-type "gint")
)
-(define-method get_successful
+(define-method get_identifier
(of-object "GSubprocess")
- (c-name "g_subprocess_get_successful")
- (return-type "gboolean")
+ (c-name "g_subprocess_get_identifier")
+ (return-type "const-gchar*")
)
(define-method get_if_exited
@@ -17406,15 +10029,39 @@
(return-type "gboolean")
)
-(define-method get_exit_status
+(define-method get_if_signaled
(of-object "GSubprocess")
- (c-name "g_subprocess_get_exit_status")
+ (c-name "g_subprocess_get_if_signaled")
+ (return-type "gboolean")
+)
+
+(define-method get_status
+ (of-object "GSubprocess")
+ (c-name "g_subprocess_get_status")
(return-type "gint")
)
-(define-method get_if_signaled
+(define-method get_stderr_pipe
(of-object "GSubprocess")
- (c-name "g_subprocess_get_if_signaled")
+ (c-name "g_subprocess_get_stderr_pipe")
+ (return-type "GInputStream*")
+)
+
+(define-method get_stdin_pipe
+ (of-object "GSubprocess")
+ (c-name "g_subprocess_get_stdin_pipe")
+ (return-type "GOutputStream*")
+)
+
+(define-method get_stdout_pipe
+ (of-object "GSubprocess")
+ (c-name "g_subprocess_get_stdout_pipe")
+ (return-type "GInputStream*")
+)
+
+(define-method get_successful
+ (of-object "GSubprocess")
+ (c-name "g_subprocess_get_successful")
(return-type "gboolean")
)
@@ -17424,262 +10071,239 @@
(return-type "gint")
)
-(define-method communicate
+(define-method send_signal
(of-object "GSubprocess")
- (c-name "g_subprocess_communicate")
- (return-type "gboolean")
+ (c-name "g_subprocess_send_signal")
+ (return-type "void")
(parameters
- '("GBytes*" "stdin_buf")
- '("GCancellable*" "cancellable")
- '("GBytes**" "stdout_buf")
- '("GBytes**" "stderr_buf")
- '("GError**" "error")
+ '("gint" "signal_num")
)
)
-(define-method communicate_async
+(define-method wait
(of-object "GSubprocess")
- (c-name "g_subprocess_communicate_async")
- (return-type "none")
+ (c-name "g_subprocess_wait")
+ (return-type "gboolean")
(parameters
- '("GBytes*" "stdin_buf")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method communicate_finish
+(define-method wait_async
(of-object "GSubprocess")
- (c-name "g_subprocess_communicate_finish")
- (return-type "gboolean")
+ (c-name "g_subprocess_wait_async")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "result")
- '("GBytes**" "stdout_buf")
- '("GBytes**" "stderr_buf")
- '("GError**" "error")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method communicate_utf8
+(define-method wait_check
(of-object "GSubprocess")
- (c-name "g_subprocess_communicate_utf8")
+ (c-name "g_subprocess_wait_check")
(return-type "gboolean")
(parameters
- '("const-char*" "stdin_buf")
'("GCancellable*" "cancellable")
- '("char**" "stdout_buf")
- '("char**" "stderr_buf")
'("GError**" "error")
)
)
-(define-method communicate_utf8_async
+(define-method wait_check_async
(of-object "GSubprocess")
- (c-name "g_subprocess_communicate_utf8_async")
- (return-type "none")
+ (c-name "g_subprocess_wait_check_async")
+ (return-type "void")
(parameters
- '("const-char*" "stdin_buf")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method communicate_utf8_finish
+(define-method wait_check_finish
(of-object "GSubprocess")
- (c-name "g_subprocess_communicate_utf8_finish")
+ (c-name "g_subprocess_wait_check_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
- '("char**" "stdout_buf")
- '("char**" "stderr_buf")
'("GError**" "error")
)
)
-
-
-;; From gsubprocesslauncher.h
-
-(define-function g_subprocess_launcher_get_type
- (c-name "g_subprocess_launcher_get_type")
- (return-type "GType")
+(define-method wait_finish
+ (of-object "GSubprocess")
+ (c-name "g_subprocess_wait_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
(define-function g_subprocess_launcher_new
(c-name "g_subprocess_launcher_new")
- (is-constructor-of "GSubprocessLauncher")
(return-type "GSubprocessLauncher*")
(parameters
'("GSubprocessFlags" "flags")
)
)
-(define-method spawn
+(define-method getenv
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_spawn")
- (return-type "GSubprocess*")
+ (c-name "g_subprocess_launcher_getenv")
+ (return-type "const-gchar*")
(parameters
- '("GError**" "error")
- '("const-gchar*" "argv0")
+ '("const-gchar*" "variable")
)
- (varargs #t)
)
-(define-method spawnv
+(define-method set_child_setup
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_spawnv")
- (return-type "GSubprocess*")
+ (c-name "g_subprocess_launcher_set_child_setup")
+ (return-type "void")
(parameters
- '("const-gchar*-const*" "argv")
- '("GError**" "error")
+ '("GSpawnChildSetupFunc" "child_setup")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "destroy_notify")
)
)
-(define-method set_environ
+(define-method set_cwd
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_set_environ")
- (return-type "none")
+ (c-name "g_subprocess_launcher_set_cwd")
+ (return-type "void")
(parameters
- '("gchar**" "env")
+ '("gchar*" "cwd")
)
)
-(define-method setenv
+(define-method set_environ
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_setenv")
- (return-type "none")
+ (c-name "g_subprocess_launcher_set_environ")
+ (return-type "void")
(parameters
- '("const-gchar*" "variable")
- '("const-gchar*" "value")
- '("gboolean" "overwrite")
+ '("gchar**" "env")
)
)
-(define-method unsetenv
+(define-method set_flags
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_unsetenv")
- (return-type "none")
+ (c-name "g_subprocess_launcher_set_flags")
+ (return-type "void")
(parameters
- '("const-gchar*" "variable")
+ '("GSubprocessFlags" "flags")
)
)
-(define-method getenv
+(define-method set_stderr_file_path
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_getenv")
- (return-type "const-gchar*")
+ (c-name "g_subprocess_launcher_set_stderr_file_path")
+ (return-type "void")
(parameters
- '("const-gchar*" "variable")
+ '("gchar*" "path")
)
)
-(define-method set_cwd
+(define-method set_stdin_file_path
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_set_cwd")
- (return-type "none")
+ (c-name "g_subprocess_launcher_set_stdin_file_path")
+ (return-type "void")
(parameters
- '("const-gchar*" "cwd")
+ '("const-gchar*" "path")
)
)
-(define-method set_flags
+(define-method set_stdout_file_path
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_set_flags")
- (return-type "none")
+ (c-name "g_subprocess_launcher_set_stdout_file_path")
+ (return-type "void")
(parameters
- '("GSubprocessFlags" "flags")
+ '("gchar*" "path")
)
)
-(define-method set_stdin_file_path
+(define-method setenv
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_set_stdin_file_path")
- (return-type "none")
+ (c-name "g_subprocess_launcher_setenv")
+ (return-type "void")
(parameters
- '("const-gchar*" "path")
+ '("const-gchar*" "variable")
+ '("const-gchar*" "value")
+ '("gboolean" "overwrite")
)
)
-(define-method take_stdin_fd
+(define-method spawn
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_take_stdin_fd")
- (return-type "none")
+ (c-name "g_subprocess_launcher_spawn")
+ (return-type "GSubprocess*")
(parameters
- '("gint" "fd")
+ '("GError**" "error")
+ '("const-gchar*" "argv0")
+ '("..." "...")
)
)
-(define-method set_stdout_file_path
+(define-method spawnv
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_set_stdout_file_path")
- (return-type "none")
+ (c-name "g_subprocess_launcher_spawnv")
+ (return-type "GSubprocess*")
(parameters
- '("const-gchar*" "path")
+ '("gchar**" "argv")
+ '("GError**" "error")
)
)
-(define-method take_stdout_fd
+(define-method take_fd
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_take_stdout_fd")
- (return-type "none")
+ (c-name "g_subprocess_launcher_take_fd")
+ (return-type "void")
(parameters
- '("gint" "fd")
+ '("gint" "source_fd")
+ '("gint" "target_fd")
)
)
-(define-method set_stderr_file_path
+(define-method take_stderr_fd
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_set_stderr_file_path")
- (return-type "none")
+ (c-name "g_subprocess_launcher_take_stderr_fd")
+ (return-type "void")
(parameters
- '("const-gchar*" "path")
+ '("gint" "fd")
)
)
-(define-method take_stderr_fd
+(define-method take_stdin_fd
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_take_stderr_fd")
- (return-type "none")
+ (c-name "g_subprocess_launcher_take_stdin_fd")
+ (return-type "void")
(parameters
'("gint" "fd")
)
)
-(define-method take_fd
+(define-method take_stdout_fd
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_take_fd")
- (return-type "none")
+ (c-name "g_subprocess_launcher_take_stdout_fd")
+ (return-type "void")
(parameters
- '("gint" "source_fd")
- '("gint" "target_fd")
+ '("gint" "fd")
)
)
-(define-method set_child_setup
+(define-method unsetenv
(of-object "GSubprocessLauncher")
- (c-name "g_subprocess_launcher_set_child_setup")
- (return-type "none")
+ (c-name "g_subprocess_launcher_unsetenv")
+ (return-type "void")
(parameters
- '("GSpawnChildSetupFunc" "child_setup")
- '("gpointer" "user_data")
- '("GDestroyNotify" "destroy_notify")
+ '("const-gchar*" "variable")
)
)
-
-
-;; From gtask.h
-
-(define-function g_task_get_type
- (c-name "g_task_get_type")
- (return-type "GType")
-)
-
(define-function g_task_new
(c-name "g_task_new")
- (is-constructor-of "GTask")
(return-type "GTask*")
(parameters
'("gpointer" "source_object")
@@ -17689,9 +10313,18 @@
)
)
+(define-function g_task_is_valid
+ (c-name "g_task_is_valid")
+ (return-type "gboolean")
+ (parameters
+ '("gpointer" "result")
+ '("gpointer" "source_object")
+ )
+)
+
(define-function g_task_report_error
(c-name "g_task_report_error")
- (return-type "none")
+ (return-type "void")
(parameters
'("gpointer" "source_object")
'("GAsyncReadyCallback" "callback")
@@ -17703,7 +10336,7 @@
(define-function g_task_report_new_error
(c-name "g_task_report_new_error")
- (return-type "none")
+ (return-type "void")
(parameters
'("gpointer" "source_object")
'("GAsyncReadyCallback" "callback")
@@ -17712,57 +10345,42 @@
'("GQuark" "domain")
'("gint" "code")
'("const-char*" "format")
+ '("..." "...")
)
- (varargs #t)
)
-(define-method set_task_data
- (of-object "GTask")
- (c-name "g_task_set_task_data")
- (return-type "none")
- (parameters
- '("gpointer" "task_data")
- '("GDestroyNotify" "task_data_destroy")
- )
-)
-
-(define-method set_priority
+(define-method attach_source
(of-object "GTask")
- (c-name "g_task_set_priority")
- (return-type "none")
+ (c-name "g_task_attach_source")
+ (return-type "void")
(parameters
- '("gint" "priority")
+ '("GSource*" "source")
+ '("GSourceFunc" "callback")
)
)
-(define-method set_check_cancellable
+(define-method get_cancellable
(of-object "GTask")
- (c-name "g_task_set_check_cancellable")
- (return-type "none")
- (parameters
- '("gboolean" "check_cancellable")
- )
+ (c-name "g_task_get_cancellable")
+ (return-type "GCancellable*")
)
-(define-method set_source_tag
+(define-method get_check_cancellable
(of-object "GTask")
- (c-name "g_task_set_source_tag")
- (return-type "none")
- (parameters
- '("gpointer" "source_tag")
- )
+ (c-name "g_task_get_check_cancellable")
+ (return-type "gboolean")
)
-(define-method get_source_object
+(define-method get_completed
(of-object "GTask")
- (c-name "g_task_get_source_object")
- (return-type "gpointer")
+ (c-name "g_task_get_completed")
+ (return-type "gboolean")
)
-(define-method get_task_data
+(define-method get_context
(of-object "GTask")
- (c-name "g_task_get_task_data")
- (return-type "gpointer")
+ (c-name "g_task_get_context")
+ (return-type "GMainContext*")
)
(define-method get_priority
@@ -17771,22 +10389,16 @@
(return-type "gint")
)
-(define-method get_context
- (of-object "GTask")
- (c-name "g_task_get_context")
- (return-type "GMainContext*")
-)
-
-(define-method get_cancellable
+(define-method get_return_on_cancel
(of-object "GTask")
- (c-name "g_task_get_cancellable")
- (return-type "GCancellable*")
+ (c-name "g_task_get_return_on_cancel")
+ (return-type "gboolean")
)
-(define-method get_check_cancellable
+(define-method get_source_object
(of-object "GTask")
- (c-name "g_task_get_check_cancellable")
- (return-type "gboolean")
+ (c-name "g_task_get_source_object")
+ (return-type "gpointer")
)
(define-method get_source_tag
@@ -17795,167 +10407,161 @@
(return-type "gpointer")
)
-(define-function g_task_is_valid
- (c-name "g_task_is_valid")
- (return-type "gboolean")
- (parameters
- '("gpointer" "result")
- '("gpointer" "source_object")
- )
-)
-
-(define-method run_in_thread
+(define-method get_task_data
(of-object "GTask")
- (c-name "g_task_run_in_thread")
- (return-type "none")
- (parameters
- '("GTaskThreadFunc" "task_func")
- )
+ (c-name "g_task_get_task_data")
+ (return-type "gpointer")
)
-(define-method run_in_thread_sync
+(define-method had_error
(of-object "GTask")
- (c-name "g_task_run_in_thread_sync")
- (return-type "none")
- (parameters
- '("GTaskThreadFunc" "task_func")
- )
+ (c-name "g_task_had_error")
+ (return-type "gboolean")
)
-(define-method set_return_on_cancel
+(define-method propagate_boolean
(of-object "GTask")
- (c-name "g_task_set_return_on_cancel")
+ (c-name "g_task_propagate_boolean")
(return-type "gboolean")
(parameters
- '("gboolean" "return_on_cancel")
+ '("GError**" "error")
)
)
-(define-method get_return_on_cancel
- (of-object "GTask")
- (c-name "g_task_get_return_on_cancel")
- (return-type "gboolean")
-)
-
-(define-method attach_source
+(define-method propagate_int
(of-object "GTask")
- (c-name "g_task_attach_source")
- (return-type "none")
+ (c-name "g_task_propagate_int")
+ (return-type "gssize")
(parameters
- '("GSource*" "source")
- '("GSourceFunc" "callback")
+ '("GError**" "error")
)
)
-(define-method return_pointer
+(define-method propagate_pointer
(of-object "GTask")
- (c-name "g_task_return_pointer")
- (return-type "none")
+ (c-name "g_task_propagate_pointer")
+ (return-type "gpointer")
(parameters
- '("gpointer" "result")
- '("GDestroyNotify" "result_destroy")
+ '("GError**" "error")
)
)
(define-method return_boolean
(of-object "GTask")
(c-name "g_task_return_boolean")
- (return-type "none")
+ (return-type "void")
(parameters
'("gboolean" "result")
)
)
-(define-method return_int
+(define-method return_error
(of-object "GTask")
- (c-name "g_task_return_int")
- (return-type "none")
+ (c-name "g_task_return_error")
+ (return-type "void")
(parameters
- '("gssize" "result")
+ '("GError*" "error")
)
)
-(define-method return_error
+(define-method return_error_if_cancelled
(of-object "GTask")
- (c-name "g_task_return_error")
- (return-type "none")
+ (c-name "g_task_return_error_if_cancelled")
+ (return-type "gboolean")
+)
+
+(define-method return_int
+ (of-object "GTask")
+ (c-name "g_task_return_int")
+ (return-type "void")
(parameters
- '("GError*" "error")
+ '("gssize" "result")
)
)
(define-method return_new_error
(of-object "GTask")
(c-name "g_task_return_new_error")
- (return-type "none")
+ (return-type "void")
(parameters
'("GQuark" "domain")
'("gint" "code")
'("const-char*" "format")
+ '("..." "...")
)
- (varargs #t)
)
-(define-method return_error_if_cancelled
+(define-method return_pointer
(of-object "GTask")
- (c-name "g_task_return_error_if_cancelled")
- (return-type "gboolean")
+ (c-name "g_task_return_pointer")
+ (return-type "void")
+ (parameters
+ '("gpointer" "result")
+ '("GDestroyNotify" "result_destroy")
+ )
)
-(define-method propagate_pointer
+(define-method run_in_thread
(of-object "GTask")
- (c-name "g_task_propagate_pointer")
- (return-type "gpointer")
+ (c-name "g_task_run_in_thread")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("GTaskThreadFunc" "task_func")
)
)
-(define-method propagate_boolean
+(define-method run_in_thread_sync
(of-object "GTask")
- (c-name "g_task_propagate_boolean")
- (return-type "gboolean")
+ (c-name "g_task_run_in_thread_sync")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("GTaskThreadFunc" "task_func")
)
)
-(define-method propagate_int
+(define-method set_check_cancellable
(of-object "GTask")
- (c-name "g_task_propagate_int")
- (return-type "gssize")
+ (c-name "g_task_set_check_cancellable")
+ (return-type "void")
(parameters
- '("GError**" "error")
+ '("gboolean" "check_cancellable")
)
)
-(define-method had_error
+(define-method set_priority
(of-object "GTask")
- (c-name "g_task_had_error")
- (return-type "gboolean")
+ (c-name "g_task_set_priority")
+ (return-type "void")
+ (parameters
+ '("gint" "priority")
+ )
)
-(define-method get_completed
+(define-method set_return_on_cancel
(of-object "GTask")
- (c-name "g_task_get_completed")
+ (c-name "g_task_set_return_on_cancel")
(return-type "gboolean")
+ (parameters
+ '("gboolean" "return_on_cancel")
+ )
)
-
-
-;; From gtcpconnection.h
-
-(define-function g_tcp_connection_get_type
- (c-name "g_tcp_connection_get_type")
- (return-type "GType")
+(define-method set_source_tag
+ (of-object "GTask")
+ (c-name "g_task_set_source_tag")
+ (return-type "void")
+ (parameters
+ '("gpointer" "source_tag")
+ )
)
-(define-method set_graceful_disconnect
- (of-object "GTcpConnection")
- (c-name "g_tcp_connection_set_graceful_disconnect")
- (return-type "none")
+(define-method set_task_data
+ (of-object "GTask")
+ (c-name "g_task_set_task_data")
+ (return-type "void")
(parameters
- '("gboolean" "graceful_disconnect")
+ '("gpointer" "task_data")
+ '("GDestroyNotify" "task_data_destroy")
)
)
@@ -17965,18 +10571,17 @@
(return-type "gboolean")
)
-
-
-;; From gtcpwrapperconnection.h
-
-(define-function g_tcp_wrapper_connection_get_type
- (c-name "g_tcp_wrapper_connection_get_type")
- (return-type "GType")
+(define-method set_graceful_disconnect
+ (of-object "GTcpConnection")
+ (c-name "g_tcp_connection_set_graceful_disconnect")
+ (return-type "void")
+ (parameters
+ '("gboolean" "graceful_disconnect")
+ )
)
(define-function g_tcp_wrapper_connection_new
(c-name "g_tcp_wrapper_connection_new")
- (is-constructor-of "GTcpWrapperConnection")
(return-type "GSocketConnection*")
(parameters
'("GIOStream*" "base_io_stream")
@@ -17990,88 +10595,60 @@
(return-type "GIOStream*")
)
-
-
-;; From gtestdbus.h
-
-(define-function g_test_dbus_get_type
- (c-name "g_test_dbus_get_type")
- (return-type "GType")
-)
-
(define-function g_test_dbus_new
(c-name "g_test_dbus_new")
- (is-constructor-of "GTestDbus")
(return-type "GTestDBus*")
(parameters
'("GTestDBusFlags" "flags")
)
)
-(define-method get_flags
- (of-object "GTestDBus")
- (c-name "g_test_dbus_get_flags")
- (return-type "GTestDBusFlags")
-)
-
-(define-method get_bus_address
- (of-object "GTestDBus")
- (c-name "g_test_dbus_get_bus_address")
- (return-type "const-gchar*")
+(define-function g_test_dbus_unset
+ (c-name "g_test_dbus_unset")
+ (return-type "void")
)
(define-method add_service_dir
(of-object "GTestDBus")
(c-name "g_test_dbus_add_service_dir")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "path")
)
)
-(define-method up
+(define-method down
(of-object "GTestDBus")
- (c-name "g_test_dbus_up")
- (return-type "none")
+ (c-name "g_test_dbus_down")
+ (return-type "void")
)
-(define-method stop
+(define-method get_bus_address
(of-object "GTestDBus")
- (c-name "g_test_dbus_stop")
- (return-type "none")
+ (c-name "g_test_dbus_get_bus_address")
+ (return-type "const-gchar*")
)
-(define-method down
+(define-method get_flags
(of-object "GTestDBus")
- (c-name "g_test_dbus_down")
- (return-type "none")
+ (c-name "g_test_dbus_get_flags")
+ (return-type "GTestDBusFlags")
)
-(define-function g_test_dbus_unset
- (c-name "g_test_dbus_unset")
- (return-type "none")
+(define-method stop
+ (of-object "GTestDBus")
+ (c-name "g_test_dbus_stop")
+ (return-type "void")
)
-
-
-;; From gthemedicon.h
-
-(define-function g_themed_icon_get_type
- (c-name "g_themed_icon_get_type")
- (return-type "GType")
+(define-method up
+ (of-object "GTestDBus")
+ (c-name "g_test_dbus_up")
+ (return-type "void")
)
(define-function g_themed_icon_new
(c-name "g_themed_icon_new")
- (is-constructor-of "GThemedIcon")
- (return-type "GIcon*")
- (parameters
- '("const-char*" "iconname")
- )
-)
-
-(define-function g_themed_icon_new_with_default_fallbacks
- (c-name "g_themed_icon_new_with_default_fallbacks")
(return-type "GIcon*")
(parameters
'("const-char*" "iconname")
@@ -18087,10 +10664,9 @@
)
)
-(define-method prepend_name
- (of-object "GThemedIcon")
- (c-name "g_themed_icon_prepend_name")
- (return-type "none")
+(define-function g_themed_icon_new_with_default_fallbacks
+ (c-name "g_themed_icon_new_with_default_fallbacks")
+ (return-type "GIcon*")
(parameters
'("const-char*" "iconname")
)
@@ -18099,7 +10675,7 @@
(define-method append_name
(of-object "GThemedIcon")
(c-name "g_themed_icon_append_name")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-char*" "iconname")
)
@@ -18111,135 +10687,48 @@
(return-type "const-gchar*-const*")
)
-
-
-;; From gthreadedresolver.h
-
-(define-function g_threaded_resolver_get_type
- (c-name "g_threaded_resolver_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gthreadedsocketservice.h
-
-(define-function g_threaded_socket_service_get_type
- (c-name "g_threaded_socket_service_get_type")
- (return-type "GType")
+(define-method prepend_name
+ (of-object "GThemedIcon")
+ (c-name "g_themed_icon_prepend_name")
+ (return-type "void")
+ (parameters
+ '("const-char*" "iconname")
+ )
)
(define-function g_threaded_socket_service_new
(c-name "g_threaded_socket_service_new")
- (is-constructor-of "GThreadedSocketService")
(return-type "GSocketService*")
(parameters
'("int" "max_threads")
)
)
-
-
-;; From gtlsbackend.h
-
-(define-function g_tls_backend_get_type
- (c-name "g_tls_backend_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_backend_get_default
- (c-name "g_tls_backend_get_default")
- (return-type "GTlsBackend*")
-)
-
-(define-method get_default_database
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_get_default_database")
- (return-type "GTlsDatabase*")
-)
-
-(define-method supports_tls
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_supports_tls")
- (return-type "gboolean")
-)
-
-(define-method supports_dtls
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_supports_dtls")
- (return-type "gboolean")
-)
-
-(define-method get_certificate_type
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_get_certificate_type")
- (return-type "GType")
-)
-
-(define-method get_client_connection_type
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_get_client_connection_type")
- (return-type "GType")
-)
-
-(define-method get_server_connection_type
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_get_server_connection_type")
- (return-type "GType")
-)
-
-(define-method get_file_database_type
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_get_file_database_type")
- (return-type "GType")
-)
-
-(define-method get_dtls_client_connection_type
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_get_dtls_client_connection_type")
- (return-type "GType")
-)
-
-(define-method get_dtls_server_connection_type
- (of-object "GTlsBackend")
- (c-name "g_tls_backend_get_dtls_server_connection_type")
- (return-type "GType")
-)
-
-
-
-;; From gtlscertificate.h
-
-(define-function g_tls_certificate_get_type
- (c-name "g_tls_certificate_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_certificate_new_from_pem
- (c-name "g_tls_certificate_new_from_pem")
+(define-function g_tls_certificate_new_from_file
+ (c-name "g_tls_certificate_new_from_file")
(return-type "GTlsCertificate*")
(parameters
- '("const-gchar*" "data")
- '("gssize" "length")
+ '("gchar*" "file")
'("GError**" "error")
)
)
-(define-function g_tls_certificate_new_from_file
- (c-name "g_tls_certificate_new_from_file")
+(define-function g_tls_certificate_new_from_files
+ (c-name "g_tls_certificate_new_from_files")
(return-type "GTlsCertificate*")
(parameters
- '("const-gchar*" "file")
+ '("gchar*" "cert_file")
+ '("gchar*" "key_file")
'("GError**" "error")
)
)
-(define-function g_tls_certificate_new_from_files
- (c-name "g_tls_certificate_new_from_files")
+(define-function g_tls_certificate_new_from_pem
+ (c-name "g_tls_certificate_new_from_pem")
(return-type "GTlsCertificate*")
(parameters
- '("const-gchar*" "cert_file")
- '("const-gchar*" "key_file")
+ '("const-gchar*" "data")
+ '("gssize" "length")
'("GError**" "error")
)
)
@@ -18248,7 +10737,7 @@
(c-name "g_tls_certificate_list_new_from_file")
(return-type "GList*")
(parameters
- '("const-gchar*" "file")
+ '("gchar*" "file")
'("GError**" "error")
)
)
@@ -18259,16 +10748,6 @@
(return-type "GTlsCertificate*")
)
-(define-method verify
- (of-object "GTlsCertificate")
- (c-name "g_tls_certificate_verify")
- (return-type "GTlsCertificateFlags")
- (parameters
- '("GSocketConnectable*" "identity")
- '("GTlsCertificate*" "trusted_ca")
- )
-)
-
(define-method is_same
(of-object "GTlsCertificate")
(c-name "g_tls_certificate_is_same")
@@ -18278,131 +10757,23 @@
)
)
-
-
-;; From gtlsclientconnection.h
-
-(define-function g_tls_client_connection_get_type
- (c-name "g_tls_client_connection_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_client_connection_new
- (c-name "g_tls_client_connection_new")
- (is-constructor-of "GTlsClientConnection")
- (return-type "GIOStream*")
- (parameters
- '("GIOStream*" "base_io_stream")
- '("GSocketConnectable*" "server_identity")
- '("GError**" "error")
- )
-)
-
-(define-method get_validation_flags
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_get_validation_flags")
+(define-method verify
+ (of-object "GTlsCertificate")
+ (c-name "g_tls_certificate_verify")
(return-type "GTlsCertificateFlags")
-)
-
-(define-method set_validation_flags
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_set_validation_flags")
- (return-type "none")
- (parameters
- '("GTlsCertificateFlags" "flags")
- )
-)
-
-(define-method get_server_identity
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_get_server_identity")
- (return-type "GSocketConnectable*")
-)
-
-(define-method set_server_identity
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_set_server_identity")
- (return-type "none")
(parameters
'("GSocketConnectable*" "identity")
+ '("GTlsCertificate*" "trusted_ca")
)
)
-(define-method get_use_ssl3
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_get_use_ssl3")
- (return-type "gboolean")
-)
-
-(define-method set_use_ssl3
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_set_use_ssl3")
- (return-type "none")
- (parameters
- '("gboolean" "use_ssl3")
- )
-)
-
-(define-method get_accepted_cas
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_get_accepted_cas")
- (return-type "GList*")
-)
-
-(define-method copy_session_state
- (of-object "GTlsClientConnection")
- (c-name "g_tls_client_connection_copy_session_state")
- (return-type "none")
- (parameters
- '("GTlsClientConnection*" "source")
- )
-)
-
-
-
-;; From gtlsconnection.h
-
-(define-function g_tls_connection_get_type
- (c-name "g_tls_connection_get_type")
- (return-type "GType")
-)
-
-(define-method set_use_system_certdb
- (of-object "GTlsConnection")
- (c-name "g_tls_connection_set_use_system_certdb")
- (return-type "none")
- (parameters
- '("gboolean" "use_system_certdb")
- )
-)
-
-(define-method get_use_system_certdb
+(define-method emit_accept_certificate
(of-object "GTlsConnection")
- (c-name "g_tls_connection_get_use_system_certdb")
+ (c-name "g_tls_connection_emit_accept_certificate")
(return-type "gboolean")
-)
-
-(define-method set_database
- (of-object "GTlsConnection")
- (c-name "g_tls_connection_set_database")
- (return-type "none")
- (parameters
- '("GTlsDatabase*" "database")
- )
-)
-
-(define-method get_database
- (of-object "GTlsConnection")
- (c-name "g_tls_connection_get_database")
- (return-type "GTlsDatabase*")
-)
-
-(define-method set_certificate
- (of-object "GTlsConnection")
- (c-name "g_tls_connection_set_certificate")
- (return-type "none")
(parameters
- '("GTlsCertificate*" "certificate")
+ '("GTlsCertificate*" "peer_cert")
+ '("GTlsCertificateFlags" "errors")
)
)
@@ -18412,13 +10783,10 @@
(return-type "GTlsCertificate*")
)
-(define-method set_interaction
+(define-method get_database
(of-object "GTlsConnection")
- (c-name "g_tls_connection_set_interaction")
- (return-type "none")
- (parameters
- '("GTlsInteraction*" "interaction")
- )
+ (c-name "g_tls_connection_get_database")
+ (return-type "GTlsDatabase*")
)
(define-method get_interaction
@@ -18439,13 +10807,10 @@
(return-type "GTlsCertificateFlags")
)
-(define-method set_require_close_notify
+(define-method get_rehandshake_mode
(of-object "GTlsConnection")
- (c-name "g_tls_connection_set_require_close_notify")
- (return-type "none")
- (parameters
- '("gboolean" "require_close_notify")
- )
+ (c-name "g_tls_connection_get_rehandshake_mode")
+ (return-type "GTlsRehandshakeMode")
)
(define-method get_require_close_notify
@@ -18454,19 +10819,10 @@
(return-type "gboolean")
)
-(define-method set_rehandshake_mode
- (of-object "GTlsConnection")
- (c-name "g_tls_connection_set_rehandshake_mode")
- (return-type "none")
- (parameters
- '("GTlsRehandshakeMode" "mode")
- )
-)
-
-(define-method get_rehandshake_mode
+(define-method get_use_system_certdb
(of-object "GTlsConnection")
- (c-name "g_tls_connection_get_rehandshake_mode")
- (return-type "GTlsRehandshakeMode")
+ (c-name "g_tls_connection_get_use_system_certdb")
+ (return-type "gboolean")
)
(define-method handshake
@@ -18482,7 +10838,7 @@
(define-method handshake_async
(of-object "GTlsConnection")
(c-name "g_tls_connection_handshake_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("int" "io_priority")
'("GCancellable*" "cancellable")
@@ -18501,68 +10857,57 @@
)
)
-(define-function g_tls_error_quark
- (c-name "g_tls_error_quark")
- (return-type "GQuark")
+(define-method set_certificate
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_certificate")
+ (return-type "void")
+ (parameters
+ '("GTlsCertificate*" "certificate")
+ )
)
-(define-method emit_accept_certificate
+(define-method set_database
(of-object "GTlsConnection")
- (c-name "g_tls_connection_emit_accept_certificate")
- (return-type "gboolean")
+ (c-name "g_tls_connection_set_database")
+ (return-type "void")
(parameters
- '("GTlsCertificate*" "peer_cert")
- '("GTlsCertificateFlags" "errors")
+ '("GTlsDatabase*" "database")
)
)
-
-
-;; From gtlsdatabase.h
-
-(define-function g_tls_database_get_type
- (c-name "g_tls_database_get_type")
- (return-type "GType")
+(define-method set_interaction
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_interaction")
+ (return-type "void")
+ (parameters
+ '("GTlsInteraction*" "interaction")
+ )
)
-(define-method verify_chain
- (of-object "GTlsDatabase")
- (c-name "g_tls_database_verify_chain")
- (return-type "GTlsCertificateFlags")
+(define-method set_rehandshake_mode
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_rehandshake_mode")
+ (return-type "void")
(parameters
- '("GTlsCertificate*" "chain")
- '("const-gchar*" "purpose")
- '("GSocketConnectable*" "identity")
- '("GTlsInteraction*" "interaction")
- '("GTlsDatabaseVerifyFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GError**" "error")
+ '("GTlsRehandshakeMode" "mode")
)
)
-(define-method verify_chain_async
- (of-object "GTlsDatabase")
- (c-name "g_tls_database_verify_chain_async")
- (return-type "none")
+(define-method set_require_close_notify
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_require_close_notify")
+ (return-type "void")
(parameters
- '("GTlsCertificate*" "chain")
- '("const-gchar*" "purpose")
- '("GSocketConnectable*" "identity")
- '("GTlsInteraction*" "interaction")
- '("GTlsDatabaseVerifyFlags" "flags")
- '("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("gboolean" "require_close_notify")
)
)
-(define-method verify_chain_finish
- (of-object "GTlsDatabase")
- (c-name "g_tls_database_verify_chain_finish")
- (return-type "GTlsCertificateFlags")
+(define-method set_use_system_certdb
+ (of-object "GTlsConnection")
+ (c-name "g_tls_connection_set_use_system_certdb")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "result")
- '("GError**" "error")
+ '("gboolean" "use_system_certdb")
)
)
@@ -18591,7 +10936,7 @@
(define-method lookup_certificate_for_handle_async
(of-object "GTlsDatabase")
(c-name "g_tls_database_lookup_certificate_for_handle_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "handle")
'("GTlsInteraction*" "interaction")
@@ -18628,7 +10973,7 @@
(define-method lookup_certificate_issuer_async
(of-object "GTlsDatabase")
(c-name "g_tls_database_lookup_certificate_issuer_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("GTlsCertificate*" "certificate")
'("GTlsInteraction*" "interaction")
@@ -18665,7 +11010,7 @@
(define-method lookup_certificates_issued_by_async
(of-object "GTlsDatabase")
(c-name "g_tls_database_lookup_certificates_issued_by_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("GByteArray*" "issuer_raw_dn")
'("GTlsInteraction*" "interaction")
@@ -18686,41 +11031,43 @@
)
)
-
-
-;; From gtlsfiledatabase.h
-
-(define-function g_tls_file_database_get_type
- (c-name "g_tls_file_database_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_file_database_new
- (c-name "g_tls_file_database_new")
- (is-constructor-of "GTlsFileDatabase")
- (return-type "GTlsDatabase*")
+(define-method verify_chain
+ (of-object "GTlsDatabase")
+ (c-name "g_tls_database_verify_chain")
+ (return-type "GTlsCertificateFlags")
(parameters
- '("const-gchar*" "anchors")
+ '("GTlsCertificate*" "chain")
+ '("const-gchar*" "purpose")
+ '("GSocketConnectable*" "identity")
+ '("GTlsInteraction*" "interaction")
+ '("GTlsDatabaseVerifyFlags" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-
-
-;; From gtlsinteraction.h
-
-(define-function g_tls_interaction_get_type
- (c-name "g_tls_interaction_get_type")
- (return-type "GType")
+(define-method verify_chain_async
+ (of-object "GTlsDatabase")
+ (c-name "g_tls_database_verify_chain_async")
+ (return-type "void")
+ (parameters
+ '("GTlsCertificate*" "chain")
+ '("const-gchar*" "purpose")
+ '("GSocketConnectable*" "identity")
+ '("GTlsInteraction*" "interaction")
+ '("GTlsDatabaseVerifyFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method invoke_ask_password
- (of-object "GTlsInteraction")
- (c-name "g_tls_interaction_invoke_ask_password")
- (return-type "GTlsInteractionResult")
+(define-method verify_chain_finish
+ (of-object "GTlsDatabase")
+ (c-name "g_tls_database_verify_chain_finish")
+ (return-type "GTlsCertificateFlags")
(parameters
- '("GTlsPassword*" "password")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
@@ -18739,7 +11086,7 @@
(define-method ask_password_async
(of-object "GTlsInteraction")
(c-name "g_tls_interaction_ask_password_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("GTlsPassword*" "password")
'("GCancellable*" "cancellable")
@@ -18758,6 +11105,17 @@
)
)
+(define-method invoke_ask_password
+ (of-object "GTlsInteraction")
+ (c-name "g_tls_interaction_invoke_ask_password")
+ (return-type "GTlsInteractionResult")
+ (parameters
+ '("GTlsPassword*" "password")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
(define-method invoke_request_certificate
(of-object "GTlsInteraction")
(c-name "g_tls_interaction_invoke_request_certificate")
@@ -18785,7 +11143,7 @@
(define-method request_certificate_async
(of-object "GTlsInteraction")
(c-name "g_tls_interaction_request_certificate_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("GTlsConnection*" "connection")
'("GTlsCertificateRequestFlags" "flags")
@@ -18805,18 +11163,8 @@
)
)
-
-
-;; From gtlspassword.h
-
-(define-function g_tls_password_get_type
- (c-name "g_tls_password_get_type")
- (return-type "GType")
-)
-
(define-function g_tls_password_new
(c-name "g_tls_password_new")
- (is-constructor-of "GTlsPassword")
(return-type "GTlsPassword*")
(parameters
'("GTlsPasswordFlags" "flags")
@@ -18824,6 +11172,18 @@
)
)
+(define-method get_description
+ (of-object "GTlsPassword")
+ (c-name "g_tls_password_get_description")
+ (return-type "const-gchar*")
+)
+
+(define-method get_flags
+ (of-object "GTlsPassword")
+ (c-name "g_tls_password_get_flags")
+ (return-type "GTlsPasswordFlags")
+)
+
(define-method get_value
(of-object "GTlsPassword")
(c-name "g_tls_password_get_value")
@@ -18833,112 +11193,87 @@
)
)
-(define-method set_value
+(define-method get_warning
(of-object "GTlsPassword")
- (c-name "g_tls_password_set_value")
- (return-type "none")
- (parameters
- '("const-guchar*" "value")
- '("gssize" "length")
- )
+ (c-name "g_tls_password_get_warning")
+ (return-type "const-gchar*")
)
-(define-method set_value_full
+(define-method set_description
(of-object "GTlsPassword")
- (c-name "g_tls_password_set_value_full")
- (return-type "none")
+ (c-name "g_tls_password_set_description")
+ (return-type "void")
(parameters
- '("guchar*" "value")
- '("gssize" "length")
- '("GDestroyNotify" "destroy")
+ '("const-gchar*" "description")
)
)
-(define-method get_flags
- (of-object "GTlsPassword")
- (c-name "g_tls_password_get_flags")
- (return-type "GTlsPasswordFlags")
-)
-
(define-method set_flags
(of-object "GTlsPassword")
(c-name "g_tls_password_set_flags")
- (return-type "none")
+ (return-type "void")
(parameters
'("GTlsPasswordFlags" "flags")
)
)
-(define-method get_description
- (of-object "GTlsPassword")
- (c-name "g_tls_password_get_description")
- (return-type "const-gchar*")
-)
-
-(define-method set_description
+(define-method set_value
(of-object "GTlsPassword")
- (c-name "g_tls_password_set_description")
- (return-type "none")
+ (c-name "g_tls_password_set_value")
+ (return-type "void")
(parameters
- '("const-gchar*" "description")
+ '("const-guchar*" "value")
+ '("gssize" "length")
)
)
-(define-method get_warning
+(define-method set_value_full
(of-object "GTlsPassword")
- (c-name "g_tls_password_get_warning")
- (return-type "const-gchar*")
+ (c-name "g_tls_password_set_value_full")
+ (return-type "void")
+ (parameters
+ '("guchar*" "value")
+ '("gssize" "length")
+ '("GDestroyNotify" "destroy")
+ )
)
(define-method set_warning
(of-object "GTlsPassword")
(c-name "g_tls_password_set_warning")
- (return-type "none")
+ (return-type "void")
(parameters
'("const-gchar*" "warning")
)
)
-
-
-;; From gtlsserverconnection.h
-
-(define-function g_tls_server_connection_get_type
- (c-name "g_tls_server_connection_get_type")
- (return-type "GType")
-)
-
-(define-function g_tls_server_connection_new
- (c-name "g_tls_server_connection_new")
- (is-constructor-of "GTlsServerConnection")
- (return-type "GIOStream*")
+(define-method receive_credentials
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_credentials")
+ (return-type "GCredentials*")
(parameters
- '("GIOStream*" "base_io_stream")
- '("GTlsCertificate*" "certificate")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-
-
-;; From gunionvolumemonitor.h
-
-
-
-;; From gunixconnection.h
-
-(define-function g_unix_connection_get_type
- (c-name "g_unix_connection_get_type")
- (return-type "GType")
+(define-method receive_credentials_async
+ (of-object "GUnixConnection")
+ (c-name "g_unix_connection_receive_credentials_async")
+ (return-type "void")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method send_fd
+(define-method receive_credentials_finish
(of-object "GUnixConnection")
- (c-name "g_unix_connection_send_fd")
- (return-type "gboolean")
+ (c-name "g_unix_connection_receive_credentials_finish")
+ (return-type "GCredentials*")
(parameters
- '("gint" "fd")
- '("GCancellable*" "cancellable")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
@@ -18966,7 +11301,7 @@
(define-method send_credentials_async
(of-object "GUnixConnection")
(c-name "g_unix_connection_send_credentials_async")
- (return-type "none")
+ (return-type "void")
(parameters
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
@@ -18984,49 +11319,19 @@
)
)
-(define-method receive_credentials
- (of-object "GUnixConnection")
- (c-name "g_unix_connection_receive_credentials")
- (return-type "GCredentials*")
- (parameters
- '("GCancellable*" "cancellable")
- '("GError**" "error")
- )
-)
-
-(define-method receive_credentials_async
+(define-method send_fd
(of-object "GUnixConnection")
- (c-name "g_unix_connection_receive_credentials_async")
- (return-type "none")
+ (c-name "g_unix_connection_send_fd")
+ (return-type "gboolean")
(parameters
+ '("gint" "fd")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
- )
-)
-
-(define-method receive_credentials_finish
- (of-object "GUnixConnection")
- (c-name "g_unix_connection_receive_credentials_finish")
- (return-type "GCredentials*")
- (parameters
- '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-
-
-;; From gunixcredentialsmessage.h
-
-(define-function g_unix_credentials_message_get_type
- (c-name "g_unix_credentials_message_get_type")
- (return-type "GType")
-)
-
(define-function g_unix_credentials_message_new
(c-name "g_unix_credentials_message_new")
- (is-constructor-of "GUnixCredentialsMessage")
(return-type "GSocketControlMessage*")
)
@@ -19038,29 +11343,19 @@
)
)
-(define-method get_credentials
- (of-object "GUnixCredentialsMessage")
- (c-name "g_unix_credentials_message_get_credentials")
- (return-type "GCredentials*")
-)
-
(define-function g_unix_credentials_message_is_supported
(c-name "g_unix_credentials_message_is_supported")
(return-type "gboolean")
)
-
-
-;; From gunixfdlist.h
-
-(define-function g_unix_fd_list_get_type
- (c-name "g_unix_fd_list_get_type")
- (return-type "GType")
+(define-method get_credentials
+ (of-object "GUnixCredentialsMessage")
+ (c-name "g_unix_credentials_message_get_credentials")
+ (return-type "GCredentials*")
)
(define-function g_unix_fd_list_new
(c-name "g_unix_fd_list_new")
- (is-constructor-of "GUnixFdList")
(return-type "GUnixFDList*")
)
@@ -19068,7 +11363,7 @@
(c-name "g_unix_fd_list_new_from_array")
(return-type "GUnixFDList*")
(parameters
- '("const-gint*" "fds")
+ '("gint*" "fds")
'("gint" "n_fds")
)
)
@@ -19083,12 +11378,6 @@
)
)
-(define-method get_length
- (of-object "GUnixFDList")
- (c-name "g_unix_fd_list_get_length")
- (return-type "gint")
-)
-
(define-method get
(of-object "GUnixFDList")
(c-name "g_unix_fd_list_get")
@@ -19099,10 +11388,16 @@
)
)
+(define-method get_length
+ (of-object "GUnixFDList")
+ (c-name "g_unix_fd_list_get_length")
+ (return-type "gint")
+)
+
(define-method peek_fds
(of-object "GUnixFDList")
(c-name "g_unix_fd_list_peek_fds")
- (return-type "const-gint*")
+ (return-type "gint*")
(parameters
'("gint*" "length")
)
@@ -19117,13 +11412,9 @@
)
)
-
-
-;; From gunixfdmessage.h
-
-(define-function g_unix_fd_message_get_type
- (c-name "g_unix_fd_message_get_type")
- (return-type "GType")
+(define-function g_unix_fd_message_new
+ (c-name "g_unix_fd_message_new")
+ (return-type "GSocketControlMessage*")
)
(define-function g_unix_fd_message_new_with_fd_list
@@ -19134,10 +11425,14 @@
)
)
-(define-function g_unix_fd_message_new
- (c-name "g_unix_fd_message_new")
- (is-constructor-of "GUnixFdMessage")
- (return-type "GSocketControlMessage*")
+(define-method append_fd
+ (of-object "GUnixFDMessage")
+ (c-name "g_unix_fd_message_append_fd")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "fd")
+ '("GError**" "error")
+ )
)
(define-method get_fd_list
@@ -19155,28 +11450,8 @@
)
)
-(define-method append_fd
- (of-object "GUnixFDMessage")
- (c-name "g_unix_fd_message_append_fd")
- (return-type "gboolean")
- (parameters
- '("gint" "fd")
- '("GError**" "error")
- )
-)
-
-
-
-;; From gunixinputstream.h
-
-(define-function g_unix_input_stream_get_type
- (c-name "g_unix_input_stream_get_type")
- (return-type "GType")
-)
-
(define-function g_unix_input_stream_new
(c-name "g_unix_input_stream_new")
- (is-constructor-of "GUnixInputStream")
(return-type "GInputStream*")
(parameters
'("gint" "fd")
@@ -19184,15 +11459,6 @@
)
)
-(define-method set_close_fd
- (of-object "GUnixInputStream")
- (c-name "g_unix_input_stream_set_close_fd")
- (return-type "none")
- (parameters
- '("gboolean" "close_fd")
- )
-)
-
(define-method get_close_fd
(of-object "GUnixInputStream")
(c-name "g_unix_input_stream_get_close_fd")
@@ -19205,533 +11471,1198 @@
(return-type "gint")
)
+(define-method set_close_fd
+ (of-object "GUnixInputStream")
+ (c-name "g_unix_input_stream_set_close_fd")
+ (return-type "void")
+ (parameters
+ '("gboolean" "close_fd")
+ )
+)
+(define-function g_unix_mount_monitor_new
+ (c-name "g_unix_mount_monitor_new")
+ (return-type "GUnixMountMonitor*")
+)
-;; From gunixmount.h
-
+(define-function g_unix_mount_monitor_get
+ (c-name "g_unix_mount_monitor_get")
+ (return-type "GUnixMountMonitor*")
+)
+(define-method set_rate_limit
+ (of-object "GUnixMountMonitor")
+ (c-name "g_unix_mount_monitor_set_rate_limit")
+ (return-type "void")
+ (parameters
+ '("int" "limit_msec")
+ )
+)
-;; From gunixmounts.h
+(define-method compare
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_compare")
+ (return-type "gint")
+ (parameters
+ '("GUnixMountPoint*" "mount2")
+ )
+)
(define-method free
(of-object "GUnixMountPoint")
(c-name "g_unix_mount_point_free")
- (return-type "none")
+ (return-type "void")
)
-(define-function g_unix_mount_compare
- (c-name "g_unix_mount_compare")
+(define-method get_device_path
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_device_path")
+ (return-type "char*")
+)
+
+(define-method get_fs_type
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_fs_type")
+ (return-type "const-char*")
+)
+
+(define-method get_mount_path
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_mount_path")
+ (return-type "char*")
+)
+
+(define-method get_options
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_get_options")
+ (return-type "const-char*")
+)
+
+(define-method guess_can_eject
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_can_eject")
+ (return-type "gboolean")
+)
+
+(define-method guess_icon
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_icon")
+ (return-type "GIcon*")
+)
+
+(define-method guess_name
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_name")
+ (return-type "char*")
+)
+
+(define-method guess_symbolic_icon
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_guess_symbolic_icon")
+ (return-type "GIcon*")
+)
+
+(define-method is_loopback
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_loopback")
+ (return-type "gboolean")
+)
+
+(define-method is_readonly
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_readonly")
+ (return-type "gboolean")
+)
+
+(define-method is_user_mountable
+ (of-object "GUnixMountPoint")
+ (c-name "g_unix_mount_point_is_user_mountable")
+ (return-type "gboolean")
+)
+
+(define-function g_unix_output_stream_new
+ (c-name "g_unix_output_stream_new")
+ (return-type "GOutputStream*")
+ (parameters
+ '("gint" "fd")
+ '("gboolean" "close_fd")
+ )
+)
+
+(define-method get_close_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_get_close_fd")
+ (return-type "gboolean")
+)
+
+(define-method get_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_get_fd")
(return-type "gint")
+)
+
+(define-method set_close_fd
+ (of-object "GUnixOutputStream")
+ (c-name "g_unix_output_stream_set_close_fd")
+ (return-type "void")
(parameters
- '("GUnixMountEntry*" "mount1")
- '("GUnixMountEntry*" "mount2")
+ '("gboolean" "close_fd")
)
)
-(define-function g_unix_mount_get_mount_path
- (c-name "g_unix_mount_get_mount_path")
- (return-type "const-char*")
+(define-function g_unix_socket_address_new
+ (c-name "g_unix_socket_address_new")
+ (return-type "GSocketAddress*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("const-gchar*" "path")
)
)
-(define-function g_unix_mount_get_device_path
- (c-name "g_unix_mount_get_device_path")
- (return-type "const-char*")
+(define-function g_unix_socket_address_new_abstract
+ (c-name "g_unix_socket_address_new_abstract")
+ (return-type "GSocketAddress*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("gchar*" "path")
+ '("gint" "path_len")
)
)
-(define-function g_unix_mount_get_fs_type
- (c-name "g_unix_mount_get_fs_type")
- (return-type "const-char*")
+(define-function g_unix_socket_address_new_with_type
+ (c-name "g_unix_socket_address_new_with_type")
+ (return-type "GSocketAddress*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("gchar*" "path")
+ '("gint" "path_len")
+ '("GUnixSocketAddressType" "type")
)
)
-(define-function g_unix_mount_is_readonly
- (c-name "g_unix_mount_is_readonly")
+(define-function g_unix_socket_address_abstract_names_supported
+ (c-name "g_unix_socket_address_abstract_names_supported")
+ (return-type "gboolean")
+)
+
+(define-method get_address_type
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_address_type")
+ (return-type "GUnixSocketAddressType")
+)
+
+(define-method get_is_abstract
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_is_abstract")
(return-type "gboolean")
+)
+
+(define-method get_path
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_path")
+ (return-type "const-char*")
+)
+
+(define-method get_path_len
+ (of-object "GUnixSocketAddress")
+ (c-name "g_unix_socket_address_get_path_len")
+ (return-type "gsize")
+)
+
+(define-function g_vfs_get_default
+ (c-name "g_vfs_get_default")
+ (return-type "GVfs*")
+)
+
+(define-function g_vfs_get_local
+ (c-name "g_vfs_get_local")
+ (return-type "GVfs*")
+)
+
+(define-method get_file_for_path
+ (of-object "GVfs")
+ (c-name "g_vfs_get_file_for_path")
+ (return-type "GFile*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("const-char*" "path")
)
)
-(define-function g_unix_mount_is_system_internal
- (c-name "g_unix_mount_is_system_internal")
+(define-method get_file_for_uri
+ (of-object "GVfs")
+ (c-name "g_vfs_get_file_for_uri")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "uri")
+ )
+)
+
+(define-method get_supported_uri_schemes
+ (of-object "GVfs")
+ (c-name "g_vfs_get_supported_uri_schemes")
+ (return-type "const-gchar*-const*")
+)
+
+(define-method is_active
+ (of-object "GVfs")
+ (c-name "g_vfs_is_active")
(return-type "gboolean")
+)
+
+(define-method parse_name
+ (of-object "GVfs")
+ (c-name "g_vfs_parse_name")
+ (return-type "GFile*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("const-char*" "parse_name")
)
)
-(define-function g_unix_mount_guess_can_eject
- (c-name "g_unix_mount_guess_can_eject")
+(define-method register_uri_scheme
+ (of-object "GVfs")
+ (c-name "g_vfs_register_uri_scheme")
(return-type "gboolean")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("const-char*" "scheme")
+ '("GVfsFileLookupFunc" "uri_func")
+ '("gpointer" "uri_data")
+ '("GDestroyNotify" "uri_destroy")
+ '("GVfsFileLookupFunc" "parse_name_func")
+ '("gpointer" "parse_name_data")
+ '("GDestroyNotify" "parse_name_destroy")
)
)
-(define-function g_unix_mount_guess_should_display
- (c-name "g_unix_mount_guess_should_display")
+(define-method unregister_uri_scheme
+ (of-object "GVfs")
+ (c-name "g_vfs_unregister_uri_scheme")
(return-type "gboolean")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("const-char*" "scheme")
)
)
-(define-function g_unix_mount_guess_name
- (c-name "g_unix_mount_guess_name")
- (return-type "char*")
+(define-function g_volume_monitor_adopt_orphan_mount
+ (c-name "g_volume_monitor_adopt_orphan_mount")
+ (return-type "GVolume*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("GMount*" "mount")
)
)
-(define-function g_unix_mount_guess_icon
- (c-name "g_unix_mount_guess_icon")
- (return-type "GIcon*")
+(define-function g_volume_monitor_get
+ (c-name "g_volume_monitor_get")
+ (return-type "GVolumeMonitor*")
+)
+
+(define-method get_connected_drives
+ (of-object "GVolumeMonitor")
+ (c-name "g_volume_monitor_get_connected_drives")
+ (return-type "GList*")
+)
+
+(define-method get_mount_for_uuid
+ (of-object "GVolumeMonitor")
+ (c-name "g_volume_monitor_get_mount_for_uuid")
+ (return-type "GMount*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("const-char*" "uuid")
)
)
-(define-function g_unix_mount_guess_symbolic_icon
- (c-name "g_unix_mount_guess_symbolic_icon")
- (return-type "GIcon*")
+(define-method get_mounts
+ (of-object "GVolumeMonitor")
+ (c-name "g_volume_monitor_get_mounts")
+ (return-type "GList*")
+)
+
+(define-method get_volume_for_uuid
+ (of-object "GVolumeMonitor")
+ (c-name "g_volume_monitor_get_volume_for_uuid")
+ (return-type "GVolume*")
(parameters
- '("GUnixMountEntry*" "mount_entry")
+ '("const-char*" "uuid")
)
)
-(define-method compare
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_compare")
- (return-type "gint")
+(define-method get_volumes
+ (of-object "GVolumeMonitor")
+ (c-name "g_volume_monitor_get_volumes")
+ (return-type "GList*")
+)
+
+(define-function g_zlib_compressor_new
+ (c-name "g_zlib_compressor_new")
+ (return-type "GZlibCompressor*")
(parameters
- '("GUnixMountPoint*" "mount2")
+ '("GZlibCompressorFormat" "format")
+ '("int" "level")
)
)
-(define-method get_mount_path
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_get_mount_path")
- (return-type "const-char*")
+(define-method get_file_info
+ (of-object "GZlibCompressor")
+ (c-name "g_zlib_compressor_get_file_info")
+ (return-type "GFileInfo*")
)
-(define-method get_device_path
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_get_device_path")
- (return-type "const-char*")
+(define-method set_file_info
+ (of-object "GZlibCompressor")
+ (c-name "g_zlib_compressor_set_file_info")
+ (return-type "void")
+ (parameters
+ '("GFileInfo*" "file_info")
+ )
)
-(define-method get_fs_type
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_get_fs_type")
- (return-type "const-char*")
+(define-function g_zlib_decompressor_new
+ (c-name "g_zlib_decompressor_new")
+ (return-type "GZlibDecompressor*")
+ (parameters
+ '("GZlibCompressorFormat" "format")
+ )
)
-(define-method get_options
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_get_options")
- (return-type "const-char*")
+(define-method get_file_info
+ (of-object "GZlibDecompressor")
+ (c-name "g_zlib_decompressor_get_file_info")
+ (return-type "GFileInfo*")
)
-(define-method is_readonly
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_is_readonly")
+(define-function g_action_name_is_valid
+ (c-name "g_action_name_is_valid")
(return-type "gboolean")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
)
-(define-method is_user_mountable
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_is_user_mountable")
+(define-function g_action_parse_detailed_name
+ (c-name "g_action_parse_detailed_name")
(return-type "gboolean")
+ (parameters
+ '("const-gchar*" "detailed_name")
+ '("gchar**" "action_name")
+ '("GVariant**" "target_value")
+ '("GError**" "error")
+ )
)
-(define-method is_loopback
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_is_loopback")
- (return-type "gboolean")
+(define-function g_action_print_detailed_name
+ (c-name "g_action_print_detailed_name")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "target_value")
+ )
)
-(define-method guess_can_eject
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_guess_can_eject")
+(define-method activate
+ (of-object "GAction")
+ (c-name "g_action_activate")
+ (return-type "void")
+ (parameters
+ '("GVariant*" "parameter")
+ )
+)
+
+(define-method change_state
+ (of-object "GAction")
+ (c-name "g_action_change_state")
+ (return-type "void")
+ (parameters
+ '("GVariant*" "value")
+ )
+)
+
+(define-method get_enabled
+ (of-object "GAction")
+ (c-name "g_action_get_enabled")
(return-type "gboolean")
)
-(define-method guess_name
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_guess_name")
- (return-type "char*")
+(define-method get_name
+ (of-object "GAction")
+ (c-name "g_action_get_name")
+ (return-type "const-gchar*")
)
-(define-method guess_icon
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_guess_icon")
- (return-type "GIcon*")
+(define-method get_parameter_type
+ (of-object "GAction")
+ (c-name "g_action_get_parameter_type")
+ (return-type "const-GVariantType*")
)
-(define-method guess_symbolic_icon
- (of-object "GUnixMountPoint")
- (c-name "g_unix_mount_point_guess_symbolic_icon")
- (return-type "GIcon*")
+(define-method get_state
+ (of-object "GAction")
+ (c-name "g_action_get_state")
+ (return-type "GVariant*")
)
-(define-function g_unix_mount_points_get
- (c-name "g_unix_mount_points_get")
- (return-type "GList*")
+(define-method get_state_hint
+ (of-object "GAction")
+ (c-name "g_action_get_state_hint")
+ (return-type "GVariant*")
+)
+
+(define-method get_state_type
+ (of-object "GAction")
+ (c-name "g_action_get_state_type")
+ (return-type "const-GVariantType*")
+)
+
+(define-method action_added
+ (of-object "GActionGroup")
+ (c-name "g_action_group_action_added")
+ (return-type "void")
(parameters
- '("guint64*" "time_read")
+ '("const-gchar*" "action_name")
)
)
-(define-function g_unix_mounts_get
- (c-name "g_unix_mounts_get")
- (return-type "GList*")
+(define-method action_enabled_changed
+ (of-object "GActionGroup")
+ (c-name "g_action_group_action_enabled_changed")
+ (return-type "void")
(parameters
- '("guint64*" "time_read")
+ '("const-gchar*" "action_name")
+ '("gboolean" "enabled")
)
)
-(define-function g_unix_mount_at
- (c-name "g_unix_mount_at")
- (return-type "GUnixMountEntry*")
+(define-method action_removed
+ (of-object "GActionGroup")
+ (c-name "g_action_group_action_removed")
+ (return-type "void")
(parameters
- '("const-char*" "mount_path")
- '("guint64*" "time_read")
+ '("const-gchar*" "action_name")
)
)
-(define-function g_unix_mounts_changed_since
- (c-name "g_unix_mounts_changed_since")
- (return-type "gboolean")
+(define-method action_state_changed
+ (of-object "GActionGroup")
+ (c-name "g_action_group_action_state_changed")
+ (return-type "void")
(parameters
- '("guint64" "time")
+ '("const-gchar*" "action_name")
+ '("GVariant*" "state")
)
)
-(define-function g_unix_mount_points_changed_since
- (c-name "g_unix_mount_points_changed_since")
+(define-method activate_action
+ (of-object "GActionGroup")
+ (c-name "g_action_group_activate_action")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "parameter")
+ )
+)
+
+(define-method change_action_state
+ (of-object "GActionGroup")
+ (c-name "g_action_group_change_action_state")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "value")
+ )
+)
+
+(define-method get_action_enabled
+ (of-object "GActionGroup")
+ (c-name "g_action_group_get_action_enabled")
(return-type "gboolean")
(parameters
- '("guint64" "time")
+ '("const-gchar*" "action_name")
)
)
-(define-function g_unix_mount_monitor_get_type
- (c-name "g_unix_mount_monitor_get_type")
- (return-type "GType")
+(define-method get_action_parameter_type
+ (of-object "GActionGroup")
+ (c-name "g_action_group_get_action_parameter_type")
+ (return-type "const-GVariantType*")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
)
-(define-function g_unix_mount_monitor_get
- (c-name "g_unix_mount_monitor_get")
- (return-type "GUnixMountMonitor*")
+(define-method get_action_state
+ (of-object "GActionGroup")
+ (c-name "g_action_group_get_action_state")
+ (return-type "GVariant*")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
)
-(define-function g_unix_mount_monitor_new
- (c-name "g_unix_mount_monitor_new")
- (is-constructor-of "GUnixMountMonitor")
- (return-type "GUnixMountMonitor*")
+(define-method get_action_state_hint
+ (of-object "GActionGroup")
+ (c-name "g_action_group_get_action_state_hint")
+ (return-type "GVariant*")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
)
-(define-method set_rate_limit
- (of-object "GUnixMountMonitor")
- (c-name "g_unix_mount_monitor_set_rate_limit")
- (return-type "none")
+(define-method get_action_state_type
+ (of-object "GActionGroup")
+ (c-name "g_action_group_get_action_state_type")
+ (return-type "const-GVariantType*")
(parameters
- '("int" "limit_msec")
+ '("const-gchar*" "action_name")
)
)
-(define-function g_unix_is_mount_path_system_internal
- (c-name "g_unix_is_mount_path_system_internal")
+(define-method has_action
+ (of-object "GActionGroup")
+ (c-name "g_action_group_has_action")
(return-type "gboolean")
(parameters
- '("const-char*" "mount_path")
+ '("const-gchar*" "action_name")
)
)
+(define-method list_actions
+ (of-object "GActionGroup")
+ (c-name "g_action_group_list_actions")
+ (return-type "gchar**")
+)
+(define-method query_action
+ (of-object "GActionGroup")
+ (c-name "g_action_group_query_action")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("gboolean*" "enabled")
+ '("const-GVariantType**" "parameter_type")
+ '("const-GVariantType**" "state_type")
+ '("GVariant**" "state_hint")
+ '("GVariant**" "state")
+ )
+)
-;; From gunixoutputstream.h
+(define-method add_action
+ (of-object "GActionMap")
+ (c-name "g_action_map_add_action")
+ (return-type "void")
+ (parameters
+ '("GAction*" "action")
+ )
+)
-(define-function g_unix_output_stream_get_type
- (c-name "g_unix_output_stream_get_type")
- (return-type "GType")
+(define-method add_action_entries
+ (of-object "GActionMap")
+ (c-name "g_action_map_add_action_entries")
+ (return-type "void")
+ (parameters
+ '("GActionEntry*" "entries")
+ '("gint" "n_entries")
+ '("gpointer" "user_data")
+ )
)
-(define-function g_unix_output_stream_new
- (c-name "g_unix_output_stream_new")
- (is-constructor-of "GUnixOutputStream")
- (return-type "GOutputStream*")
+(define-method lookup_action
+ (of-object "GActionMap")
+ (c-name "g_action_map_lookup_action")
+ (return-type "GAction*")
(parameters
- '("gint" "fd")
- '("gboolean" "close_fd")
+ '("const-gchar*" "action_name")
)
)
-(define-method set_close_fd
- (of-object "GUnixOutputStream")
- (c-name "g_unix_output_stream_set_close_fd")
- (return-type "none")
+(define-method remove_action
+ (of-object "GActionMap")
+ (c-name "g_action_map_remove_action")
+ (return-type "void")
(parameters
- '("gboolean" "close_fd")
+ '("const-gchar*" "action_name")
)
)
-(define-method get_close_fd
- (of-object "GUnixOutputStream")
- (c-name "g_unix_output_stream_get_close_fd")
- (return-type "gboolean")
+(define-function g_app_info_create_from_commandline
+ (c-name "g_app_info_create_from_commandline")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "commandline")
+ '("const-char*" "application_name")
+ '("GAppInfoCreateFlags" "flags")
+ '("GError**" "error")
+ )
)
-(define-method get_fd
- (of-object "GUnixOutputStream")
- (c-name "g_unix_output_stream_get_fd")
- (return-type "gint")
+(define-function g_app_info_get_all
+ (c-name "g_app_info_get_all")
+ (return-type "GList*")
)
+(define-function g_app_info_get_all_for_type
+ (c-name "g_app_info_get_all_for_type")
+ (return-type "GList*")
+ (parameters
+ '("const-char*" "content_type")
+ )
+)
+(define-function g_app_info_get_default_for_type
+ (c-name "g_app_info_get_default_for_type")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "content_type")
+ '("gboolean" "must_support_uris")
+ )
+)
-;; From gunixsocketaddress.h
+(define-function g_app_info_get_default_for_uri_scheme
+ (c-name "g_app_info_get_default_for_uri_scheme")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "uri_scheme")
+ )
+)
-(define-function g_unix_socket_address_get_type
- (c-name "g_unix_socket_address_get_type")
- (return-type "GType")
+(define-function g_app_info_get_fallback_for_type
+ (c-name "g_app_info_get_fallback_for_type")
+ (return-type "GList*")
+ (parameters
+ '("const-gchar*" "content_type")
+ )
)
-(define-function g_unix_socket_address_new
- (c-name "g_unix_socket_address_new")
- (is-constructor-of "GUnixSocketAddress")
- (return-type "GSocketAddress*")
+(define-function g_app_info_get_recommended_for_type
+ (c-name "g_app_info_get_recommended_for_type")
+ (return-type "GList*")
(parameters
- '("const-gchar*" "path")
+ '("const-gchar*" "content_type")
)
)
-(define-function g_unix_socket_address_new_abstract
- (c-name "g_unix_socket_address_new_abstract")
- (return-type "GSocketAddress*")
+(define-function g_app_info_launch_default_for_uri
+ (c-name "g_app_info_launch_default_for_uri")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "path")
- '("gint" "path_len")
+ '("const-char*" "uri")
+ '("GAppLaunchContext*" "launch_context")
+ '("GError**" "error")
)
)
-(define-function g_unix_socket_address_new_with_type
- (c-name "g_unix_socket_address_new_with_type")
- (return-type "GSocketAddress*")
+(define-function g_app_info_launch_default_for_uri_async
+ (c-name "g_app_info_launch_default_for_uri_async")
+ (return-type "void")
(parameters
- '("const-gchar*" "path")
- '("gint" "path_len")
- '("GUnixSocketAddressType" "type")
+ '("const-char*" "uri")
+ '("GAppLaunchContext*" "launch_context")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_path
- (of-object "GUnixSocketAddress")
- (c-name "g_unix_socket_address_get_path")
- (return-type "const-char*")
+(define-function g_app_info_launch_default_for_uri_finish
+ (c-name "g_app_info_launch_default_for_uri_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-method get_path_len
- (of-object "GUnixSocketAddress")
- (c-name "g_unix_socket_address_get_path_len")
- (return-type "gsize")
+(define-function g_app_info_reset_type_associations
+ (c-name "g_app_info_reset_type_associations")
+ (return-type "void")
+ (parameters
+ '("const-char*" "content_type")
+ )
)
-(define-method get_address_type
- (of-object "GUnixSocketAddress")
- (c-name "g_unix_socket_address_get_address_type")
- (return-type "GUnixSocketAddressType")
+(define-method add_supports_type
+ (of-object "GAppInfo")
+ (c-name "g_app_info_add_supports_type")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "content_type")
+ '("GError**" "error")
+ )
)
-(define-method get_is_abstract
- (of-object "GUnixSocketAddress")
- (c-name "g_unix_socket_address_get_is_abstract")
+(define-method can_delete
+ (of-object "GAppInfo")
+ (c-name "g_app_info_can_delete")
(return-type "gboolean")
)
-(define-function g_unix_socket_address_abstract_names_supported
- (c-name "g_unix_socket_address_abstract_names_supported")
+(define-method can_remove_supports_type
+ (of-object "GAppInfo")
+ (c-name "g_app_info_can_remove_supports_type")
+ (return-type "gboolean")
+)
+
+(define-method delete
+ (of-object "GAppInfo")
+ (c-name "g_app_info_delete")
(return-type "gboolean")
)
+(define-method dup
+ (of-object "GAppInfo")
+ (c-name "g_app_info_dup")
+ (return-type "GAppInfo*")
+)
+(define-method equal
+ (of-object "GAppInfo")
+ (c-name "g_app_info_equal")
+ (return-type "gboolean")
+ (parameters
+ '("GAppInfo*" "appinfo2")
+ )
+)
-;; From gunixvolume.h
+(define-method get_commandline
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_commandline")
+ (return-type "const-char*")
+)
+(define-method get_description
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_description")
+ (return-type "const-char*")
+)
+(define-method get_display_name
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_display_name")
+ (return-type "const-char*")
+)
-;; From gunixvolumemonitor.h
+(define-method get_executable
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_executable")
+ (return-type "const-char*")
+)
+(define-method get_icon
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_icon")
+ (return-type "GIcon*")
+)
+(define-method get_id
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_id")
+ (return-type "const-char*")
+)
-;; From gvfs.h
+(define-method get_name
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_name")
+ (return-type "const-char*")
+)
-(define-function g_vfs_get_type
- (c-name "g_vfs_get_type")
- (return-type "GType")
+(define-method get_supported_types
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_supported_types")
+ (return-type "const-char**")
)
-(define-method is_active
- (of-object "GVfs")
- (c-name "g_vfs_is_active")
+(define-method launch
+ (of-object "GAppInfo")
+ (c-name "g_app_info_launch")
(return-type "gboolean")
+ (parameters
+ '("GList*" "files")
+ '("GAppLaunchContext*" "launch_context")
+ '("GError**" "error")
+ )
)
-(define-method get_file_for_path
- (of-object "GVfs")
- (c-name "g_vfs_get_file_for_path")
- (return-type "GFile*")
+(define-method launch_uris
+ (of-object "GAppInfo")
+ (c-name "g_app_info_launch_uris")
+ (return-type "gboolean")
(parameters
- '("const-char*" "path")
+ '("GList*" "uris")
+ '("GAppLaunchContext*" "launch_context")
+ '("GError**" "error")
)
)
-(define-method get_file_for_uri
- (of-object "GVfs")
- (c-name "g_vfs_get_file_for_uri")
- (return-type "GFile*")
+(define-method remove_supports_type
+ (of-object "GAppInfo")
+ (c-name "g_app_info_remove_supports_type")
+ (return-type "gboolean")
(parameters
- '("const-char*" "uri")
+ '("const-char*" "content_type")
+ '("GError**" "error")
)
)
-(define-method get_supported_uri_schemes
- (of-object "GVfs")
- (c-name "g_vfs_get_supported_uri_schemes")
- (return-type "const-gchar*-const*")
+(define-method set_as_default_for_extension
+ (of-object "GAppInfo")
+ (c-name "g_app_info_set_as_default_for_extension")
+ (return-type "gboolean")
+ (parameters
+ '("char*" "extension")
+ '("GError**" "error")
+ )
)
-(define-method parse_name
- (of-object "GVfs")
- (c-name "g_vfs_parse_name")
- (return-type "GFile*")
+(define-method set_as_default_for_type
+ (of-object "GAppInfo")
+ (c-name "g_app_info_set_as_default_for_type")
+ (return-type "gboolean")
(parameters
- '("const-char*" "parse_name")
+ '("const-char*" "content_type")
+ '("GError**" "error")
)
)
-(define-function g_vfs_get_default
- (c-name "g_vfs_get_default")
- (return-type "GVfs*")
+(define-method set_as_last_used_for_type
+ (of-object "GAppInfo")
+ (c-name "g_app_info_set_as_last_used_for_type")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "content_type")
+ '("GError**" "error")
+ )
)
-(define-function g_vfs_get_local
- (c-name "g_vfs_get_local")
- (return-type "GVfs*")
+(define-method should_show
+ (of-object "GAppInfo")
+ (c-name "g_app_info_should_show")
+ (return-type "gboolean")
)
-(define-method register_uri_scheme
- (of-object "GVfs")
- (c-name "g_vfs_register_uri_scheme")
+(define-method supports_files
+ (of-object "GAppInfo")
+ (c-name "g_app_info_supports_files")
+ (return-type "gboolean")
+)
+
+(define-method supports_uris
+ (of-object "GAppInfo")
+ (c-name "g_app_info_supports_uris")
(return-type "gboolean")
+)
+
+(define-function g_async_initable_new_async
+ (c-name "g_async_initable_new_async")
+ (return-type "void")
(parameters
- '("const-char*" "scheme")
- '("GVfsFileLookupFunc" "uri_func")
- '("gpointer" "uri_data")
- '("GDestroyNotify" "uri_destroy")
- '("GVfsFileLookupFunc" "parse_name_func")
- '("gpointer" "parse_name_data")
- '("GDestroyNotify" "parse_name_destroy")
+ '("GType" "object_type")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ '("const-gchar*" "first_property_name")
+ '("..." "...")
)
)
-(define-method unregister_uri_scheme
- (of-object "GVfs")
- (c-name "g_vfs_unregister_uri_scheme")
+(define-function g_async_initable_new_valist_async
+ (c-name "g_async_initable_new_valist_async")
+ (return-type "void")
+ (parameters
+ '("GType" "object_type")
+ '("const-gchar*" "first_property_name")
+ '("va_list" "var_args")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-function g_async_initable_newv_async
+ (c-name "g_async_initable_newv_async")
+ (return-type "void")
+ (parameters
+ '("GType" "object_type")
+ '("guint" "n_parameters")
+ '("GParameter*" "parameters")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method init_async
+ (of-object "GAsyncInitable")
+ (c-name "g_async_initable_init_async")
+ (return-type "void")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method init_finish
+ (of-object "GAsyncInitable")
+ (c-name "g_async_initable_init_finish")
(return-type "gboolean")
(parameters
- '("const-char*" "scheme")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
+(define-method new_finish
+ (of-object "GAsyncInitable")
+ (c-name "g_async_initable_new_finish")
+ (return-type "GObject*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
+)
+(define-method get_source_object
+ (of-object "GAsyncResult")
+ (c-name "g_async_result_get_source_object")
+ (return-type "GObject*")
+)
-;; From gvolume.h
+(define-method get_user_data
+ (of-object "GAsyncResult")
+ (c-name "g_async_result_get_user_data")
+ (return-type "gpointer")
+)
-(define-function g_volume_get_type
- (c-name "g_volume_get_type")
- (return-type "GType")
+(define-method is_tagged
+ (of-object "GAsyncResult")
+ (c-name "g_async_result_is_tagged")
+ (return-type "gboolean")
+ (parameters
+ '("gpointer" "source_tag")
+ )
)
-(define-method get_name
- (of-object "GVolume")
- (c-name "g_volume_get_name")
- (return-type "char*")
+(define-method legacy_propagate_error
+ (of-object "GAsyncResult")
+ (c-name "g_async_result_legacy_propagate_error")
+ (return-type "gboolean")
+ (parameters
+ '("GError**" "error")
+ )
)
-(define-method get_icon
- (of-object "GVolume")
- (c-name "g_volume_get_icon")
- (return-type "GIcon*")
+(define-method convert
+ (of-object "GConverter")
+ (c-name "g_converter_convert")
+ (return-type "GConverterResult")
+ (parameters
+ '("const-void*" "inbuf")
+ '("gsize" "inbuf_size")
+ '("void*" "outbuf")
+ '("gsize" "outbuf_size")
+ '("GConverterFlags" "flags")
+ '("gsize*" "bytes_read")
+ '("gsize*" "bytes_written")
+ '("GError**" "error")
+ )
)
-(define-method get_symbolic_icon
- (of-object "GVolume")
- (c-name "g_volume_get_symbolic_icon")
- (return-type "GIcon*")
+(define-method reset
+ (of-object "GConverter")
+ (c-name "g_converter_reset")
+ (return-type "void")
)
-(define-method get_uuid
- (of-object "GVolume")
- (c-name "g_volume_get_uuid")
- (return-type "char*")
+(define-method dup_object
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_dup_object")
+ (return-type "GDBusObject*")
)
-(define-method get_drive
- (of-object "GVolume")
- (c-name "g_volume_get_drive")
- (return-type "GDrive*")
+(define-method get_info
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_get_info")
+ (return-type "GDBusInterfaceInfo*")
)
-(define-method get_mount
- (of-object "GVolume")
- (c-name "g_volume_get_mount")
- (return-type "GMount*")
+(define-method get_object
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_get_object")
+ (return-type "GDBusObject*")
)
-(define-method can_mount
- (of-object "GVolume")
- (c-name "g_volume_can_mount")
+(define-method set_object
+ (of-object "GDBusInterface")
+ (c-name "g_dbus_interface_set_object")
+ (return-type "void")
+ (parameters
+ '("GDBusObject*" "object")
+ )
+)
+
+(define-method get_interface
+ (of-object "GDBusObject")
+ (c-name "g_dbus_object_get_interface")
+ (return-type "GDBusInterface*")
+ (parameters
+ '("const-gchar*" "interface_name")
+ )
+)
+
+(define-method get_interfaces
+ (of-object "GDBusObject")
+ (c-name "g_dbus_object_get_interfaces")
+ (return-type "GList*")
+)
+
+(define-method get_object_path
+ (of-object "GDBusObject")
+ (c-name "g_dbus_object_get_object_path")
+ (return-type "const-gchar*")
+)
+
+(define-method get_interface
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_interface")
+ (return-type "GDBusInterface*")
+ (parameters
+ '("const-gchar*" "object_path")
+ '("const-gchar*" "interface_name")
+ )
+)
+
+(define-method get_object
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_object")
+ (return-type "GDBusObject*")
+ (parameters
+ '("const-gchar*" "object_path")
+ )
+)
+
+(define-method get_object_path
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_object_path")
+ (return-type "const-gchar*")
+)
+
+(define-method get_objects
+ (of-object "GDBusObjectManager")
+ (c-name "g_dbus_object_manager_get_objects")
+ (return-type "GList*")
+)
+
+(define-method condition_check
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_condition_check")
+ (return-type "GIOCondition")
+ (parameters
+ '("GIOCondition" "condition")
+ )
+)
+
+(define-method condition_wait
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_condition_wait")
(return-type "gboolean")
+ (parameters
+ '("GIOCondition" "condition")
+ '("gint64" "timeout")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method create_source
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_create_source")
+ (return-type "GSource*")
+ (parameters
+ '("GIOCondition" "condition")
+ '("GCancellable*" "cancellable")
+ )
+)
+
+(define-method receive_messages
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_receive_messages")
+ (return-type "gint")
+ (parameters
+ '("GInputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("gint64" "timeout")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method send_messages
+ (of-object "GDatagramBased")
+ (c-name "g_datagram_based_send_messages")
+ (return-type "gint")
+ (parameters
+ '("GOutputMessage*" "messages")
+ '("guint" "num_messages")
+ '("gint" "flags")
+ '("gint64" "timeout")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_default_for_uri_scheme
+ (of-object "GDesktopAppInfoLookup")
+ (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme")
+ (return-type "GAppInfo*")
+ (parameters
+ '("const-char*" "uri_scheme")
+ )
)
(define-method can_eject
- (of-object "GVolume")
- (c-name "g_volume_can_eject")
+ (of-object "GDrive")
+ (c-name "g_drive_can_eject")
(return-type "gboolean")
)
-(define-method should_automount
- (of-object "GVolume")
- (c-name "g_volume_should_automount")
+(define-method can_poll_for_media
+ (of-object "GDrive")
+ (c-name "g_drive_can_poll_for_media")
(return-type "gboolean")
)
-(define-method mount
- (of-object "GVolume")
- (c-name "g_volume_mount")
- (return-type "none")
+(define-method can_start
+ (of-object "GDrive")
+ (c-name "g_drive_can_start")
+ (return-type "gboolean")
+)
+
+(define-method can_start_degraded
+ (of-object "GDrive")
+ (c-name "g_drive_can_start_degraded")
+ (return-type "gboolean")
+)
+
+(define-method can_stop
+ (of-object "GDrive")
+ (c-name "g_drive_can_stop")
+ (return-type "gboolean")
+)
+
+(define-method eject
+ (of-object "GDrive")
+ (c-name "g_drive_eject")
+ (return-type "void")
(parameters
- '("GMountMountFlags" "flags")
- '("GMountOperation*" "mount_operation")
+ '("GMountUnmountFlags" "flags")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method mount_finish
- (of-object "GVolume")
- (c-name "g_volume_mount_finish")
+(define-method eject_finish
+ (of-object "GDrive")
+ (c-name "g_drive_eject_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
@@ -19739,21 +12670,22 @@
)
)
-(define-method eject
- (of-object "GVolume")
- (c-name "g_volume_eject")
- (return-type "none")
+(define-method eject_with_operation
+ (of-object "GDrive")
+ (c-name "g_drive_eject_with_operation")
+ (return-type "void")
(parameters
'("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method eject_finish
- (of-object "GVolume")
- (c-name "g_volume_eject_finish")
+(define-method eject_with_operation_finish
+ (of-object "GDrive")
+ (c-name "g_drive_eject_with_operation_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
@@ -19761,43 +12693,101 @@
)
)
+(define-method enumerate_identifiers
+ (of-object "GDrive")
+ (c-name "g_drive_enumerate_identifiers")
+ (return-type "char**")
+)
+
+(define-method get_icon
+ (of-object "GDrive")
+ (c-name "g_drive_get_icon")
+ (return-type "GIcon*")
+)
+
(define-method get_identifier
- (of-object "GVolume")
- (c-name "g_volume_get_identifier")
+ (of-object "GDrive")
+ (c-name "g_drive_get_identifier")
(return-type "char*")
(parameters
'("const-char*" "kind")
)
)
-(define-method enumerate_identifiers
- (of-object "GVolume")
- (c-name "g_volume_enumerate_identifiers")
- (return-type "char**")
+(define-method get_name
+ (of-object "GDrive")
+ (c-name "g_drive_get_name")
+ (return-type "char*")
)
-(define-method get_activation_root
- (of-object "GVolume")
- (c-name "g_volume_get_activation_root")
- (return-type "GFile*")
+(define-method get_sort_key
+ (of-object "GDrive")
+ (c-name "g_drive_get_sort_key")
+ (return-type "const-gchar*")
)
-(define-method eject_with_operation
- (of-object "GVolume")
- (c-name "g_volume_eject_with_operation")
- (return-type "none")
+(define-method get_start_stop_type
+ (of-object "GDrive")
+ (c-name "g_drive_get_start_stop_type")
+ (return-type "GDriveStartStopType")
+)
+
+(define-method get_symbolic_icon
+ (of-object "GDrive")
+ (c-name "g_drive_get_symbolic_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_volumes
+ (of-object "GDrive")
+ (c-name "g_drive_get_volumes")
+ (return-type "GList*")
+)
+
+(define-method has_media
+ (of-object "GDrive")
+ (c-name "g_drive_has_media")
+ (return-type "gboolean")
+)
+
+(define-method has_volumes
+ (of-object "GDrive")
+ (c-name "g_drive_has_volumes")
+ (return-type "gboolean")
+)
+
+(define-method is_media_check_automatic
+ (of-object "GDrive")
+ (c-name "g_drive_is_media_check_automatic")
+ (return-type "gboolean")
+)
+
+(define-method is_media_removable
+ (of-object "GDrive")
+ (c-name "g_drive_is_media_removable")
+ (return-type "gboolean")
+)
+
+(define-method is_removable
+ (of-object "GDrive")
+ (c-name "g_drive_is_removable")
+ (return-type "gboolean")
+)
+
+(define-method poll_for_media
+ (of-object "GDrive")
+ (c-name "g_drive_poll_for_media")
+ (return-type "void")
(parameters
- '("GMountUnmountFlags" "flags")
- '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method eject_with_operation_finish
- (of-object "GVolume")
- (c-name "g_volume_eject_with_operation_finish")
+(define-method poll_for_media_finish
+ (of-object "GDrive")
+ (c-name "g_drive_poll_for_media_finish")
(return-type "gboolean")
(parameters
'("GAsyncResult*" "result")
@@ -19805,1337 +12795,2660 @@
)
)
-(define-method get_sort_key
- (of-object "GVolume")
- (c-name "g_volume_get_sort_key")
- (return-type "const-gchar*")
+(define-method start
+ (of-object "GDrive")
+ (c-name "g_drive_start")
+ (return-type "void")
+ (parameters
+ '("GDriveStartFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
+(define-method start_finish
+ (of-object "GDrive")
+ (c-name "g_drive_start_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+(define-method stop
+ (of-object "GDrive")
+ (c-name "g_drive_stop")
+ (return-type "void")
+ (parameters
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
-;; From gvolumemonitor.h
-
-(define-function g_volume_monitor_get_type
- (c-name "g_volume_monitor_get_type")
- (return-type "GType")
+(define-method stop_finish
+ (of-object "GDrive")
+ (c-name "g_drive_stop_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-function g_volume_monitor_get
- (c-name "g_volume_monitor_get")
- (return-type "GVolumeMonitor*")
+(define-function g_dtls_client_connection_new
+ (c-name "g_dtls_client_connection_new")
+ (return-type "GDatagramBased*")
+ (parameters
+ '("GDatagramBased*" "base_socket")
+ '("GSocketConnectable*" "server_identity")
+ '("GError**" "error")
+ )
)
-(define-method get_connected_drives
- (of-object "GVolumeMonitor")
- (c-name "g_volume_monitor_get_connected_drives")
+(define-method get_accepted_cas
+ (of-object "GDtlsClientConnection")
+ (c-name "g_dtls_client_connection_get_accepted_cas")
(return-type "GList*")
)
-(define-method get_volumes
- (of-object "GVolumeMonitor")
- (c-name "g_volume_monitor_get_volumes")
- (return-type "GList*")
+(define-method get_server_identity
+ (of-object "GDtlsClientConnection")
+ (c-name "g_dtls_client_connection_get_server_identity")
+ (return-type "GSocketConnectable*")
)
-(define-method get_mounts
- (of-object "GVolumeMonitor")
- (c-name "g_volume_monitor_get_mounts")
- (return-type "GList*")
+(define-method get_validation_flags
+ (of-object "GDtlsClientConnection")
+ (c-name "g_dtls_client_connection_get_validation_flags")
+ (return-type "GTlsCertificateFlags")
)
-(define-method get_volume_for_uuid
- (of-object "GVolumeMonitor")
- (c-name "g_volume_monitor_get_volume_for_uuid")
- (return-type "GVolume*")
+(define-method set_server_identity
+ (of-object "GDtlsClientConnection")
+ (c-name "g_dtls_client_connection_set_server_identity")
+ (return-type "void")
(parameters
- '("const-char*" "uuid")
+ '("GSocketConnectable*" "identity")
)
)
-(define-method get_mount_for_uuid
- (of-object "GVolumeMonitor")
- (c-name "g_volume_monitor_get_mount_for_uuid")
- (return-type "GMount*")
+(define-method set_validation_flags
+ (of-object "GDtlsClientConnection")
+ (c-name "g_dtls_client_connection_set_validation_flags")
+ (return-type "void")
(parameters
- '("const-char*" "uuid")
+ '("GTlsCertificateFlags" "flags")
)
)
-(define-function g_volume_monitor_adopt_orphan_mount
- (c-name "g_volume_monitor_adopt_orphan_mount")
- (return-type "GVolume*")
+(define-method close
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_close")
+ (return-type "gboolean")
(parameters
- '("GMount*" "mount")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
+(define-method close_async
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_close_async")
+ (return-type "void")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+(define-method close_finish
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_close_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
-;; From gwin32appinfo.h
+(define-method emit_accept_certificate
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_emit_accept_certificate")
+ (return-type "gboolean")
+ (parameters
+ '("GTlsCertificate*" "peer_cert")
+ '("GTlsCertificateFlags" "errors")
+ )
+)
-(define-function g_win32_app_info_get_type
- (c-name "g_win32_app_info_get_type")
- (return-type "GType")
+(define-method get_certificate
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_get_certificate")
+ (return-type "GTlsCertificate*")
)
+(define-method get_database
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_get_database")
+ (return-type "GTlsDatabase*")
+)
+(define-method get_interaction
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_get_interaction")
+ (return-type "GTlsInteraction*")
+)
-;; From gwin32inputstream.h
+(define-method get_peer_certificate
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_get_peer_certificate")
+ (return-type "GTlsCertificate*")
+)
-(define-function g_win32_input_stream_get_type
- (c-name "g_win32_input_stream_get_type")
- (return-type "GType")
+(define-method get_peer_certificate_errors
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_get_peer_certificate_errors")
+ (return-type "GTlsCertificateFlags")
)
-(define-function g_win32_input_stream_new
- (c-name "g_win32_input_stream_new")
- (is-constructor-of "GWin32InputStream")
- (return-type "GInputStream*")
+(define-method get_rehandshake_mode
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_get_rehandshake_mode")
+ (return-type "GTlsRehandshakeMode")
+)
+
+(define-method get_require_close_notify
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_get_require_close_notify")
+ (return-type "gboolean")
+)
+
+(define-method handshake
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_handshake")
+ (return-type "gboolean")
(parameters
- '("void*" "handle")
- '("gboolean" "close_handle")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method set_close_handle
- (of-object "GWin32InputStream")
- (c-name "g_win32_input_stream_set_close_handle")
- (return-type "none")
+(define-method handshake_async
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_handshake_async")
+ (return-type "void")
(parameters
- '("gboolean" "close_handle")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_close_handle
- (of-object "GWin32InputStream")
- (c-name "g_win32_input_stream_get_close_handle")
+(define-method handshake_finish
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_handshake_finish")
(return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-method get_handle
- (of-object "GWin32InputStream")
- (c-name "g_win32_input_stream_get_handle")
- (return-type "void*")
+(define-method set_certificate
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_set_certificate")
+ (return-type "void")
+ (parameters
+ '("GTlsCertificate*" "certificate")
+ )
)
+(define-method set_database
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_set_database")
+ (return-type "void")
+ (parameters
+ '("GTlsDatabase*" "database")
+ )
+)
+(define-method set_interaction
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_set_interaction")
+ (return-type "void")
+ (parameters
+ '("GTlsInteraction*" "interaction")
+ )
+)
-;; From gwin32mount.h
+(define-method set_rehandshake_mode
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_set_rehandshake_mode")
+ (return-type "void")
+ (parameters
+ '("GTlsRehandshakeMode" "mode")
+ )
+)
+(define-method set_require_close_notify
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_set_require_close_notify")
+ (return-type "void")
+ (parameters
+ '("gboolean" "require_close_notify")
+ )
+)
+(define-method shutdown
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_shutdown")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "shutdown_read")
+ '("gboolean" "shutdown_write")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
-;; From gwin32networking.h
+(define-method shutdown_async
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_shutdown_async")
+ (return-type "void")
+ (parameters
+ '("gboolean" "shutdown_read")
+ '("gboolean" "shutdown_write")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+(define-method shutdown_finish
+ (of-object "GDtlsConnection")
+ (c-name "g_dtls_connection_shutdown_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+(define-function g_dtls_server_connection_new
+ (c-name "g_dtls_server_connection_new")
+ (return-type "GDatagramBased*")
+ (parameters
+ '("GDatagramBased*" "base_socket")
+ '("GTlsCertificate*" "certificate")
+ '("GError**" "error")
+ )
+)
-;; From gwin32outputstream.h
+(define-function g_file_new_for_commandline_arg
+ (c-name "g_file_new_for_commandline_arg")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "arg")
+ )
+)
-(define-function g_win32_output_stream_get_type
- (c-name "g_win32_output_stream_get_type")
- (return-type "GType")
+(define-function g_file_new_for_commandline_arg_and_cwd
+ (c-name "g_file_new_for_commandline_arg_and_cwd")
+ (return-type "GFile*")
+ (parameters
+ '("const-gchar*" "arg")
+ '("gchar*" "cwd")
+ )
)
-(define-function g_win32_output_stream_new
- (c-name "g_win32_output_stream_new")
- (is-constructor-of "GWin32OutputStream")
- (return-type "GOutputStream*")
+(define-function g_file_new_for_path
+ (c-name "g_file_new_for_path")
+ (return-type "GFile*")
(parameters
- '("void*" "handle")
- '("gboolean" "close_handle")
+ '("char*" "path")
)
)
-(define-method set_close_handle
- (of-object "GWin32OutputStream")
- (c-name "g_win32_output_stream_set_close_handle")
- (return-type "none")
+(define-function g_file_new_for_uri
+ (c-name "g_file_new_for_uri")
+ (return-type "GFile*")
(parameters
- '("gboolean" "close_handle")
+ '("const-char*" "uri")
)
)
-(define-method get_close_handle
- (of-object "GWin32OutputStream")
- (c-name "g_win32_output_stream_get_close_handle")
- (return-type "gboolean")
+(define-function g_file_new_tmp
+ (c-name "g_file_new_tmp")
+ (return-type "GFile*")
+ (parameters
+ '("char*" "tmpl")
+ '("GFileIOStream**" "iostream")
+ '("GError**" "error")
+ )
)
-(define-method get_handle
- (of-object "GWin32OutputStream")
- (c-name "g_win32_output_stream_get_handle")
- (return-type "void*")
+(define-function g_file_parse_name
+ (c-name "g_file_parse_name")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "parse_name")
+ )
)
+(define-method append_to
+ (of-object "GFile")
+ (c-name "g_file_append_to")
+ (return-type "GFileOutputStream*")
+ (parameters
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+(define-method append_to_async
+ (of-object "GFile")
+ (c-name "g_file_append_to_async")
+ (return-type "void")
+ (parameters
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
-;; From gwin32registrykey.h
+(define-method append_to_finish
+ (of-object "GFile")
+ (c-name "g_file_append_to_finish")
+ (return-type "GFileOutputStream*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
+)
(define-method copy
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_copy")
- (return-type "GWin32RegistrySubkeyIter*")
+ (of-object "GFile")
+ (c-name "g_file_copy")
+ (return-type "gboolean")
+ (parameters
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GFileProgressCallback" "progress_callback")
+ '("gpointer" "progress_callback_data")
+ '("GError**" "error")
+ )
)
-(define-method free
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_free")
- (return-type "none")
+(define-method copy_async
+ (of-object "GFile")
+ (c-name "g_file_copy_async")
+ (return-type "void")
+ (parameters
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GFileProgressCallback" "progress_callback")
+ '("gpointer" "progress_callback_data")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method assign
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_assign")
- (return-type "none")
+(define-method copy_attributes
+ (of-object "GFile")
+ (c-name "g_file_copy_attributes")
+ (return-type "gboolean")
(parameters
- '("const-GWin32RegistrySubkeyIter*" "other")
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-function g_win32_registry_subkey_iter_get_type
- (c-name "g_win32_registry_subkey_iter_get_type")
- (return-type "GType")
+(define-method copy_finish
+ (of-object "GFile")
+ (c-name "g_file_copy_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
)
-(define-method copy
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_copy")
- (return-type "GWin32RegistryValueIter*")
+(define-method create
+ (of-object "GFile")
+ (c-name "g_file_create")
+ (return-type "GFileOutputStream*")
+ (parameters
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method free
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_free")
- (return-type "none")
+(define-method create_async
+ (of-object "GFile")
+ (c-name "g_file_create_async")
+ (return-type "void")
+ (parameters
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method assign
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_assign")
- (return-type "none")
+(define-method create_finish
+ (of-object "GFile")
+ (c-name "g_file_create_finish")
+ (return-type "GFileOutputStream*")
(parameters
- '("const-GWin32RegistryValueIter*" "other")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-function g_win32_registry_value_iter_get_type
- (c-name "g_win32_registry_value_iter_get_type")
- (return-type "GType")
+(define-method create_readwrite
+ (of-object "GFile")
+ (c-name "g_file_create_readwrite")
+ (return-type "GFileIOStream*")
+ (parameters
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-function g_win32_registry_key_get_type
- (c-name "g_win32_registry_key_get_type")
- (return-type "GType")
+(define-method create_readwrite_async
+ (of-object "GFile")
+ (c-name "g_file_create_readwrite_async")
+ (return-type "void")
+ (parameters
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-function g_win32_registry_key_new
- (c-name "g_win32_registry_key_new")
- (is-constructor-of "GWin32RegistryKey")
- (return-type "GWin32RegistryKey*")
+(define-method create_readwrite_finish
+ (of-object "GFile")
+ (c-name "g_file_create_readwrite_finish")
+ (return-type "GFileIOStream*")
(parameters
- '("const-gchar*" "path")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-function g_win32_registry_key_new_w
- (c-name "g_win32_registry_key_new_w")
- (return-type "GWin32RegistryKey*")
+(define-method delete
+ (of-object "GFile")
+ (c-name "g_file_delete")
+ (return-type "gboolean")
(parameters
- '("const-gunichar2*" "path")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method get_child
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_get_child")
- (return-type "GWin32RegistryKey*")
+(define-method delete_async
+ (of-object "GFile")
+ (c-name "g_file_delete_async")
+ (return-type "void")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method delete_finish
+ (of-object "GFile")
+ (c-name "g_file_delete_finish")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "subkey")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method get_child_w
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_get_child_w")
- (return-type "GWin32RegistryKey*")
+(define-method dup
+ (of-object "GFile")
+ (c-name "g_file_dup")
+ (return-type "GFile*")
+)
+
+(define-method eject_mountable
+ (of-object "GFile")
+ (c-name "g_file_eject_mountable")
+ (return-type "void")
+ (parameters
+ '("GMountUnmountFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method eject_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_eject_mountable_finish")
+ (return-type "gboolean")
(parameters
- '("const-gunichar2*" "subkey")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method init
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_init")
+(define-method eject_mountable_with_operation
+ (of-object "GFile")
+ (c-name "g_file_eject_mountable_with_operation")
+ (return-type "void")
+ (parameters
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method eject_mountable_with_operation_finish
+ (of-object "GFile")
+ (c-name "g_file_eject_mountable_with_operation_finish")
(return-type "gboolean")
(parameters
- '("GWin32RegistryKey*" "key")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method clear
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_clear")
- (return-type "none")
+(define-method enumerate_children
+ (of-object "GFile")
+ (c-name "g_file_enumerate_children")
+ (return-type "GFileEnumerator*")
+ (parameters
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method n_subkeys
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_n_subkeys")
- (return-type "gsize")
+(define-method enumerate_children_async
+ (of-object "GFile")
+ (c-name "g_file_enumerate_children_async")
+ (return-type "void")
+ (parameters
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method next
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_next")
- (return-type "gboolean")
+(define-method enumerate_children_finish
+ (of-object "GFile")
+ (c-name "g_file_enumerate_children_finish")
+ (return-type "GFileEnumerator*")
(parameters
- '("gboolean" "skip_errors")
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method get_name
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_get_name")
+(define-method equal
+ (of-object "GFile")
+ (c-name "g_file_equal")
(return-type "gboolean")
(parameters
- '("gchar**" "subkey_name")
- '("gsize*" "subkey_name_len")
+ '("GFile*" "file2")
+ )
+)
+
+(define-method find_enclosing_mount
+ (of-object "GFile")
+ (c-name "g_file_find_enclosing_mount")
+ (return-type "GMount*")
+ (parameters
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method get_name_w
- (of-object "GWin32RegistrySubkeyIter")
- (c-name "g_win32_registry_subkey_iter_get_name_w")
- (return-type "gboolean")
+(define-method find_enclosing_mount_async
+ (of-object "GFile")
+ (c-name "g_file_find_enclosing_mount_async")
+ (return-type "void")
(parameters
- '("gunichar2**" "subkey_name")
- '("gsize*" "subkey_name_len")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method find_enclosing_mount_finish
+ (of-object "GFile")
+ (c-name "g_file_find_enclosing_mount_finish")
+ (return-type "GMount*")
+ (parameters
+ '("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method init
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_init")
- (return-type "gboolean")
+(define-method get_basename
+ (of-object "GFile")
+ (c-name "g_file_get_basename")
+ (return-type "char*")
+)
+
+(define-method get_child
+ (of-object "GFile")
+ (c-name "g_file_get_child")
+ (return-type "GFile*")
(parameters
- '("GWin32RegistryKey*" "key")
+ '("char*" "name")
+ )
+)
+
+(define-method get_child_for_display_name
+ (of-object "GFile")
+ (c-name "g_file_get_child_for_display_name")
+ (return-type "GFile*")
+ (parameters
+ '("const-char*" "display_name")
'("GError**" "error")
)
)
-(define-method clear
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_clear")
- (return-type "none")
+(define-method get_parent
+ (of-object "GFile")
+ (c-name "g_file_get_parent")
+ (return-type "GFile*")
)
-(define-method n_values
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_n_values")
- (return-type "gsize")
+(define-method get_parse_name
+ (of-object "GFile")
+ (c-name "g_file_get_parse_name")
+ (return-type "char*")
)
-(define-method next
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_next")
+(define-method get_path
+ (of-object "GFile")
+ (c-name "g_file_get_path")
+ (return-type "char*")
+)
+
+(define-method get_relative_path
+ (of-object "GFile")
+ (c-name "g_file_get_relative_path")
+ (return-type "char*")
+ (parameters
+ '("GFile*" "descendant")
+ )
+)
+
+(define-method get_uri
+ (of-object "GFile")
+ (c-name "g_file_get_uri")
+ (return-type "char*")
+)
+
+(define-method get_uri_scheme
+ (of-object "GFile")
+ (c-name "g_file_get_uri_scheme")
+ (return-type "char*")
+)
+
+(define-method has_parent
+ (of-object "GFile")
+ (c-name "g_file_has_parent")
(return-type "gboolean")
(parameters
- '("gboolean" "skip_errors")
- '("GError**" "error")
+ '("GFile*" "parent")
)
)
-(define-method get_value_type
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_get_value_type")
+(define-method has_prefix
+ (of-object "GFile")
+ (c-name "g_file_has_prefix")
(return-type "gboolean")
(parameters
- '("GWin32RegistryValueType*" "value_type")
- '("GError**" "error")
+ '("GFile*" "prefix")
)
)
-(define-method get_name
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_get_name")
+(define-method has_uri_scheme
+ (of-object "GFile")
+ (c-name "g_file_has_uri_scheme")
(return-type "gboolean")
(parameters
- '("gchar**" "value_name")
- '("gsize*" "value_name_len")
- '("GError**" "error")
+ '("const-char*" "uri_scheme")
+ )
+)
+
+(define-function g_file_hash
+ (c-name "g_file_hash")
+ (return-type "guint")
+ (parameters
+ '("gconstpointer" "file")
)
)
-(define-method get_name_w
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_get_name_w")
+(define-method is_native
+ (of-object "GFile")
+ (c-name "g_file_is_native")
+ (return-type "gboolean")
+)
+
+(define-method load_contents
+ (of-object "GFile")
+ (c-name "g_file_load_contents")
(return-type "gboolean")
(parameters
- '("gunichar2**" "value_name")
- '("gsize*" "value_name_len")
+ '("GCancellable*" "cancellable")
+ '("char**" "contents")
+ '("gsize*" "length")
+ '("char**" "etag_out")
'("GError**" "error")
)
)
-(define-method get_data
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_get_data")
+(define-method load_contents_async
+ (of-object "GFile")
+ (c-name "g_file_load_contents_async")
+ (return-type "void")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method load_contents_finish
+ (of-object "GFile")
+ (c-name "g_file_load_contents_finish")
(return-type "gboolean")
(parameters
- '("gboolean" "auto_expand")
- '("gpointer*" "value_data")
- '("gsize*" "value_data_size")
+ '("GAsyncResult*" "res")
+ '("char**" "contents")
+ '("gsize*" "length")
+ '("char**" "etag_out")
'("GError**" "error")
)
)
-(define-method get_data_w
- (of-object "GWin32RegistryValueIter")
- (c-name "g_win32_registry_value_iter_get_data_w")
+(define-method load_partial_contents_async
+ (of-object "GFile")
+ (c-name "g_file_load_partial_contents_async")
+ (return-type "void")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GFileReadMoreCallback" "read_more_callback")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method load_partial_contents_finish
+ (of-object "GFile")
+ (c-name "g_file_load_partial_contents_finish")
(return-type "gboolean")
(parameters
- '("gboolean" "auto_expand")
- '("gpointer*" "value_data")
- '("gsize*" "value_data_size")
+ '("GAsyncResult*" "res")
+ '("char**" "contents")
+ '("gsize*" "length")
+ '("char**" "etag_out")
'("GError**" "error")
)
)
-(define-method get_value
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_get_value")
+(define-method make_directory
+ (of-object "GFile")
+ (c-name "g_file_make_directory")
(return-type "gboolean")
(parameters
- '("gboolean" "auto_expand")
- '("const-gchar*" "value_name")
- '("GWin32RegistryValueType*" "value_type")
- '("gpointer*" "value_data")
- '("gsize*" "value_data_size")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method get_value_w
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_get_value_w")
+(define-method make_directory_async
+ (of-object "GFile")
+ (c-name "g_file_make_directory_async")
+ (return-type "void")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method make_directory_finish
+ (of-object "GFile")
+ (c-name "g_file_make_directory_finish")
(return-type "gboolean")
(parameters
- '("gboolean" "auto_expand")
- '("const-gunichar2*" "value_name")
- '("GWin32RegistryValueType*" "value_type")
- '("gpointer*" "value_data")
- '("gsize*" "value_data_size")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method get_path
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_get_path")
- (return-type "const-gchar*")
+(define-method make_directory_with_parents
+ (of-object "GFile")
+ (c-name "g_file_make_directory_with_parents")
+ (return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method get_path_w
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_get_path_w")
- (return-type "const-gunichar2*")
+(define-method make_symbolic_link
+ (of-object "GFile")
+ (c-name "g_file_make_symbolic_link")
+ (return-type "gboolean")
+ (parameters
+ '("char*" "symlink_value")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-method watch
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_watch")
+(define-method measure_disk_usage
+ (of-object "GFile")
+ (c-name "g_file_measure_disk_usage")
(return-type "gboolean")
(parameters
- '("gboolean" "watch_children")
- '("GWin32RegistryKeyWatcherFlags" "watch_flags")
- '("GWin32RegistryKeyWatchCallbackFunc" "callback")
- '("gpointer" "user_data")
+ '("GFileMeasureFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GFileMeasureProgressCallback" "progress_callback")
+ '("gpointer" "progress_data")
+ '("guint64*" "disk_usage")
+ '("guint64*" "num_dirs")
+ '("guint64*" "num_files")
'("GError**" "error")
)
)
-(define-method has_changed
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_has_changed")
+(define-method measure_disk_usage_async
+ (of-object "GFile")
+ (c-name "g_file_measure_disk_usage_async")
+ (return-type "void")
+ (parameters
+ '("GFileMeasureFlags" "flags")
+ '("gint" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GFileMeasureProgressCallback" "progress_callback")
+ '("gpointer" "progress_data")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method measure_disk_usage_finish
+ (of-object "GFile")
+ (c-name "g_file_measure_disk_usage_finish")
(return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("guint64*" "disk_usage")
+ '("guint64*" "num_dirs")
+ '("guint64*" "num_files")
+ '("GError**" "error")
+ )
)
-(define-method erase_change_indicator
- (of-object "GWin32RegistryKey")
- (c-name "g_win32_registry_key_erase_change_indicator")
- (return-type "none")
+(define-method monitor
+ (of-object "GFile")
+ (c-name "g_file_monitor")
+ (return-type "GFileMonitor*")
+ (parameters
+ '("GFileMonitorFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
+(define-method monitor_directory
+ (of-object "GFile")
+ (c-name "g_file_monitor_directory")
+ (return-type "GFileMonitor*")
+ (parameters
+ '("GFileMonitorFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+(define-method monitor_file
+ (of-object "GFile")
+ (c-name "g_file_monitor_file")
+ (return-type "GFileMonitor*")
+ (parameters
+ '("GFileMonitorFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
-;; From gwin32volumemonitor.h
+(define-method mount_enclosing_volume
+ (of-object "GFile")
+ (c-name "g_file_mount_enclosing_volume")
+ (return-type "void")
+ (parameters
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+(define-method mount_enclosing_volume_finish
+ (of-object "GFile")
+ (c-name "g_file_mount_enclosing_volume_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+(define-method mount_mountable
+ (of-object "GFile")
+ (c-name "g_file_mount_mountable")
+ (return-type "void")
+ (parameters
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
-;; From gzlibcompressor.h
+(define-method mount_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_mount_mountable_finish")
+ (return-type "GFile*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
-(define-function g_zlib_compressor_get_type
- (c-name "g_zlib_compressor_get_type")
- (return-type "GType")
+(define-method move
+ (of-object "GFile")
+ (c-name "g_file_move")
+ (return-type "gboolean")
+ (parameters
+ '("GFile*" "destination")
+ '("GFileCopyFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GFileProgressCallback" "progress_callback")
+ '("gpointer" "progress_callback_data")
+ '("GError**" "error")
+ )
)
-(define-function g_zlib_compressor_new
- (c-name "g_zlib_compressor_new")
- (is-constructor-of "GZlibCompressor")
- (return-type "GZlibCompressor*")
+(define-method open_readwrite
+ (of-object "GFile")
+ (c-name "g_file_open_readwrite")
+ (return-type "GFileIOStream*")
(parameters
- '("GZlibCompressorFormat" "format")
- '("int" "level")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method get_file_info
- (of-object "GZlibCompressor")
- (c-name "g_zlib_compressor_get_file_info")
- (return-type "GFileInfo*")
+(define-method open_readwrite_async
+ (of-object "GFile")
+ (c-name "g_file_open_readwrite_async")
+ (return-type "void")
+ (parameters
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
)
-(define-method set_file_info
- (of-object "GZlibCompressor")
- (c-name "g_zlib_compressor_set_file_info")
- (return-type "none")
+(define-method open_readwrite_finish
+ (of-object "GFile")
+ (c-name "g_file_open_readwrite_finish")
+ (return-type "GFileIOStream*")
(parameters
- '("GFileInfo*" "file_info")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
+(define-method poll_mountable
+ (of-object "GFile")
+ (c-name "g_file_poll_mountable")
+ (return-type "void")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+(define-method poll_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_poll_mountable_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
-;; From gzlibdecompressor.h
+(define-method query_default_handler
+ (of-object "GFile")
+ (c-name "g_file_query_default_handler")
+ (return-type "GAppInfo*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
-(define-function g_zlib_decompressor_get_type
- (c-name "g_zlib_decompressor_get_type")
- (return-type "GType")
+(define-method query_exists
+ (of-object "GFile")
+ (c-name "g_file_query_exists")
+ (return-type "gboolean")
+ (parameters
+ '("GCancellable*" "cancellable")
+ )
)
-(define-function g_zlib_decompressor_new
- (c-name "g_zlib_decompressor_new")
- (is-constructor-of "GZlibDecompressor")
- (return-type "GZlibDecompressor*")
+(define-method query_file_type
+ (of-object "GFile")
+ (c-name "g_file_query_file_type")
+ (return-type "GFileType")
(parameters
- '("GZlibCompressorFormat" "format")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
)
)
-(define-method get_file_info
- (of-object "GZlibDecompressor")
- (c-name "g_zlib_decompressor_get_file_info")
+(define-method query_filesystem_info
+ (of-object "GFile")
+ (c-name "g_file_query_filesystem_info")
(return-type "GFileInfo*")
+ (parameters
+ '("const-char*" "attributes")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
+(define-method query_filesystem_info_async
+ (of-object "GFile")
+ (c-name "g_file_query_filesystem_info_async")
+ (return-type "void")
+ (parameters
+ '("const-char*" "attributes")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+(define-method query_filesystem_info_finish
+ (of-object "GFile")
+ (c-name "g_file_query_filesystem_info_finish")
+ (return-type "GFileInfo*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
+)
-;; From thumbnail-verify.h
-
-(define-function thumbnail_verify
- (c-name "thumbnail_verify")
- (return-type "gboolean")
+(define-method query_info
+ (of-object "GFile")
+ (c-name "g_file_query_info")
+ (return-type "GFileInfo*")
(parameters
- '("const-gchar*" "thumbnail_path")
- '("const-gchar*" "file_uri")
- '("const-GLocalFileStat*" "file_stat_buf")
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
+(define-method query_info_async
+ (of-object "GFile")
+ (c-name "g_file_query_info_async")
+ (return-type "void")
+ (parameters
+ '("const-char*" "attributes")
+ '("GFileQueryInfoFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+(define-method query_info_finish
+ (of-object "GFile")
+ (c-name "g_file_query_info_finish")
+ (return-type "GFileInfo*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
+)
-;; From xdp-dbus.h
+(define-method query_settable_attributes
+ (of-object "GFile")
+ (c-name "g_file_query_settable_attributes")
+ (return-type "GFileAttributeInfoList*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
-(define-function gxdp_documents_get_type
- (c-name "gxdp_documents_get_type")
- (return-type "GType")
+(define-method query_writable_namespaces
+ (of-object "GFile")
+ (c-name "g_file_query_writable_namespaces")
+ (return-type "GFileAttributeInfoList*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-function gxdp_documents_interface_info
- (c-name "gxdp_documents_interface_info")
- (return-type "GDBusInterfaceInfo*")
+(define-method read
+ (of-object "GFile")
+ (c-name "g_file_read")
+ (return-type "GFileInputStream*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
)
-(define-function gxdp_documents_override_properties
- (c-name "gxdp_documents_override_properties")
- (return-type "guint")
+(define-method read_async
+ (of-object "GFile")
+ (c-name "g_file_read_async")
+ (return-type "void")
(parameters
- '("GObjectClass*" "klass")
- '("guint" "property_id_begin")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method complete_get_mount_point
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_get_mount_point")
- (return-type "none")
+(define-method read_finish
+ (of-object "GFile")
+ (c-name "g_file_read_finish")
+ (return-type "GFileInputStream*")
(parameters
- '("GDBusMethodInvocation*" "invocation")
- '("const-gchar*" "path")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method complete_add
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_add")
- (return-type "none")
+(define-method replace
+ (of-object "GFile")
+ (c-name "g_file_replace")
+ (return-type "GFileOutputStream*")
(parameters
- '("GDBusMethodInvocation*" "invocation")
- '("GUnixFDList*" "fd_list")
- '("const-gchar*" "doc_id")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method complete_add_named
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_add_named")
- (return-type "none")
+(define-method replace_async
+ (of-object "GFile")
+ (c-name "g_file_replace_async")
+ (return-type "void")
(parameters
- '("GDBusMethodInvocation*" "invocation")
- '("GUnixFDList*" "fd_list")
- '("const-gchar*" "doc_id")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method complete_grant_permissions
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_grant_permissions")
- (return-type "none")
+(define-method replace_contents
+ (of-object "GFile")
+ (c-name "g_file_replace_contents")
+ (return-type "gboolean")
(parameters
- '("GDBusMethodInvocation*" "invocation")
+ '("char*" "contents")
+ '("gsize" "length")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("char**" "new_etag")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method complete_revoke_permissions
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_revoke_permissions")
- (return-type "none")
+(define-method replace_contents_async
+ (of-object "GFile")
+ (c-name "g_file_replace_contents_async")
+ (return-type "void")
(parameters
- '("GDBusMethodInvocation*" "invocation")
+ '("char*" "contents")
+ '("gsize" "length")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method complete_delete
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_delete")
- (return-type "none")
+(define-method replace_contents_bytes_async
+ (of-object "GFile")
+ (c-name "g_file_replace_contents_bytes_async")
+ (return-type "void")
(parameters
- '("GDBusMethodInvocation*" "invocation")
+ '("GBytes*" "contents")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method complete_lookup
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_lookup")
- (return-type "none")
+(define-method replace_contents_finish
+ (of-object "GFile")
+ (c-name "g_file_replace_contents_finish")
+ (return-type "gboolean")
(parameters
- '("GDBusMethodInvocation*" "invocation")
- '("const-gchar*" "doc_id")
+ '("GAsyncResult*" "res")
+ '("char**" "new_etag")
+ '("GError**" "error")
)
)
-(define-method complete_info
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_info")
- (return-type "none")
+(define-method replace_finish
+ (of-object "GFile")
+ (c-name "g_file_replace_finish")
+ (return-type "GFileOutputStream*")
(parameters
- '("GDBusMethodInvocation*" "invocation")
- '("const-gchar*" "path")
- '("GVariant*" "apps")
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
)
)
-(define-method complete_list
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_complete_list")
- (return-type "none")
+(define-method replace_readwrite
+ (of-object "GFile")
+ (c-name "g_file_replace_readwrite")
+ (return-type "GFileIOStream*")
(parameters
- '("GDBusMethodInvocation*" "invocation")
- '("GVariant*" "docs")
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method call_get_mount_point
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_get_mount_point")
- (return-type "none")
+(define-method replace_readwrite_async
+ (of-object "GFile")
+ (c-name "g_file_replace_readwrite_async")
+ (return-type "void")
(parameters
+ '("const-char*" "etag")
+ '("gboolean" "make_backup")
+ '("GFileCreateFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method call_get_mount_point_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_get_mount_point_finish")
- (return-type "gboolean")
+(define-method replace_readwrite_finish
+ (of-object "GFile")
+ (c-name "g_file_replace_readwrite_finish")
+ (return-type "GFileIOStream*")
(parameters
- '("gchar**" "out_path")
'("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method call_get_mount_point_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_get_mount_point_sync")
+(define-method resolve_relative_path
+ (of-object "GFile")
+ (c-name "g_file_resolve_relative_path")
+ (return-type "GFile*")
+ (parameters
+ '("char*" "relative_path")
+ )
+)
+
+(define-method set_attribute
+ (of-object "GFile")
+ (c-name "g_file_set_attribute")
(return-type "gboolean")
(parameters
- '("gchar**" "out_path")
+ '("const-char*" "attribute")
+ '("GFileAttributeType" "type")
+ '("gpointer" "value_p")
+ '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_add
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_add")
- (return-type "none")
+(define-method set_attribute_byte_string
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_byte_string")
+ (return-type "gboolean")
(parameters
- '("GVariant*" "arg_o_path_fd")
- '("gboolean" "arg_reuse_existing")
- '("gboolean" "arg_persistent")
- '("GUnixFDList*" "fd_list")
+ '("const-char*" "attribute")
+ '("const-char*" "value")
+ '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method call_add_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_add_finish")
+(define-method set_attribute_int32
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_int32")
(return-type "gboolean")
(parameters
- '("gchar**" "out_doc_id")
- '("GUnixFDList**" "out_fd_list")
- '("GAsyncResult*" "res")
+ '("const-char*" "attribute")
+ '("gint32" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_add_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_add_sync")
+(define-method set_attribute_int64
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_int64")
(return-type "gboolean")
(parameters
- '("GVariant*" "arg_o_path_fd")
- '("gboolean" "arg_reuse_existing")
- '("gboolean" "arg_persistent")
- '("GUnixFDList*" "fd_list")
- '("gchar**" "out_doc_id")
- '("GUnixFDList**" "out_fd_list")
+ '("const-char*" "attribute")
+ '("gint64" "value")
+ '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_add_named
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_add_named")
- (return-type "none")
+(define-method set_attribute_string
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_string")
+ (return-type "gboolean")
(parameters
- '("GVariant*" "arg_o_path_parent_fd")
- '("const-gchar*" "arg_filename")
- '("gboolean" "arg_reuse_existing")
- '("gboolean" "arg_persistent")
- '("GUnixFDList*" "fd_list")
+ '("const-char*" "attribute")
+ '("const-char*" "value")
+ '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method call_add_named_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_add_named_finish")
+(define-method set_attribute_uint32
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_uint32")
(return-type "gboolean")
(parameters
- '("gchar**" "out_doc_id")
- '("GUnixFDList**" "out_fd_list")
- '("GAsyncResult*" "res")
+ '("const-char*" "attribute")
+ '("guint32" "value")
+ '("GFileQueryInfoFlags" "flags")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_add_named_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_add_named_sync")
+(define-method set_attribute_uint64
+ (of-object "GFile")
+ (c-name "g_file_set_attribute_uint64")
(return-type "gboolean")
(parameters
- '("GVariant*" "arg_o_path_parent_fd")
- '("const-gchar*" "arg_filename")
- '("gboolean" "arg_reuse_existing")
- '("gboolean" "arg_persistent")
- '("GUnixFDList*" "fd_list")
- '("gchar**" "out_doc_id")
- '("GUnixFDList**" "out_fd_list")
+ '("const-char*" "attribute")
+ '("guint64" "value")
+ '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_grant_permissions
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_grant_permissions")
- (return-type "none")
+(define-method set_attributes_async
+ (of-object "GFile")
+ (c-name "g_file_set_attributes_async")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg_doc_id")
- '("const-gchar*" "arg_app_id")
- '("const-gchar*-const*" "arg_permissions")
+ '("GFileInfo*" "info")
+ '("GFileQueryInfoFlags" "flags")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method call_grant_permissions_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_grant_permissions_finish")
+(define-method set_attributes_finish
+ (of-object "GFile")
+ (c-name "g_file_set_attributes_finish")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
+ '("GFileInfo**" "info")
'("GError**" "error")
)
)
-(define-method call_grant_permissions_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_grant_permissions_sync")
+(define-method set_attributes_from_info
+ (of-object "GFile")
+ (c-name "g_file_set_attributes_from_info")
(return-type "gboolean")
(parameters
- '("const-gchar*" "arg_doc_id")
- '("const-gchar*" "arg_app_id")
- '("const-gchar*-const*" "arg_permissions")
+ '("GFileInfo*" "info")
+ '("GFileQueryInfoFlags" "flags")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_revoke_permissions
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_revoke_permissions")
- (return-type "none")
+(define-method set_display_name
+ (of-object "GFile")
+ (c-name "g_file_set_display_name")
+ (return-type "GFile*")
(parameters
- '("const-gchar*" "arg_doc_id")
- '("const-gchar*" "arg_app_id")
- '("const-gchar*-const*" "arg_permissions")
+ '("const-char*" "display_name")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method set_display_name_async
+ (of-object "GFile")
+ (c-name "g_file_set_display_name_async")
+ (return-type "void")
+ (parameters
+ '("const-char*" "display_name")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method call_revoke_permissions_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_revoke_permissions_finish")
- (return-type "gboolean")
+(define-method set_display_name_finish
+ (of-object "GFile")
+ (c-name "g_file_set_display_name_finish")
+ (return-type "GFile*")
(parameters
'("GAsyncResult*" "res")
'("GError**" "error")
)
)
-(define-method call_revoke_permissions_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_revoke_permissions_sync")
- (return-type "gboolean")
+(define-method start_mountable
+ (of-object "GFile")
+ (c-name "g_file_start_mountable")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg_doc_id")
- '("const-gchar*" "arg_app_id")
- '("const-gchar*-const*" "arg_permissions")
+ '("GDriveStartFlags" "flags")
+ '("GMountOperation*" "start_operation")
'("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method start_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_start_mountable_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method call_delete
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_delete")
- (return-type "none")
+(define-method stop_mountable
+ (of-object "GFile")
+ (c-name "g_file_stop_mountable")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg_doc_id")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method call_delete_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_delete_finish")
+(define-method stop_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_stop_mountable_finish")
(return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method call_delete_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_delete_sync")
+(define-method supports_thread_contexts
+ (of-object "GFile")
+ (c-name "g_file_supports_thread_contexts")
+ (return-type "gboolean")
+)
+
+(define-method trash
+ (of-object "GFile")
+ (c-name "g_file_trash")
(return-type "gboolean")
(parameters
- '("const-gchar*" "arg_doc_id")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_lookup
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_lookup")
- (return-type "none")
+(define-method trash_async
+ (of-object "GFile")
+ (c-name "g_file_trash_async")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg_filename")
+ '("int" "io_priority")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method call_lookup_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_lookup_finish")
+(define-method trash_finish
+ (of-object "GFile")
+ (c-name "g_file_trash_finish")
(return-type "gboolean")
(parameters
- '("gchar**" "out_doc_id")
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method call_lookup_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_lookup_sync")
- (return-type "gboolean")
+(define-method unmount_mountable
+ (of-object "GFile")
+ (c-name "g_file_unmount_mountable")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg_filename")
- '("gchar**" "out_doc_id")
+ '("GMountUnmountFlags" "flags")
'("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method unmount_mountable_finish
+ (of-object "GFile")
+ (c-name "g_file_unmount_mountable_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method call_info
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_info")
- (return-type "none")
+(define-method unmount_mountable_with_operation
+ (of-object "GFile")
+ (c-name "g_file_unmount_mountable_with_operation")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg_doc_id")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method call_info_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_info_finish")
+(define-method unmount_mountable_with_operation_finish
+ (of-object "GFile")
+ (c-name "g_file_unmount_mountable_with_operation_finish")
(return-type "gboolean")
(parameters
- '("gchar**" "out_path")
- '("GVariant**" "out_apps")
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method get_fd
+ (of-object "GFileDescriptorBased")
+ (c-name "g_file_descriptor_based_get_fd")
+ (return-type "int")
+)
+
+(define-function g_icon_deserialize
+ (c-name "g_icon_deserialize")
+ (return-type "GIcon*")
+ (parameters
+ '("GVariant*" "value")
+ )
+)
+
+(define-function g_icon_hash
+ (c-name "g_icon_hash")
+ (return-type "guint")
+ (parameters
+ '("gconstpointer" "icon")
+ )
+)
+
+(define-function g_icon_new_for_string
+ (c-name "g_icon_new_for_string")
+ (return-type "GIcon*")
+ (parameters
+ '("const-gchar*" "str")
'("GError**" "error")
)
)
-(define-method call_info_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_info_sync")
+(define-method equal
+ (of-object "GIcon")
+ (c-name "g_icon_equal")
(return-type "gboolean")
(parameters
- '("const-gchar*" "arg_doc_id")
- '("gchar**" "out_path")
- '("GVariant**" "out_apps")
+ '("GIcon*" "icon2")
+ )
+)
+
+(define-method serialize
+ (of-object "GIcon")
+ (c-name "g_icon_serialize")
+ (return-type "GVariant*")
+)
+
+(define-method to_string
+ (of-object "GIcon")
+ (c-name "g_icon_to_string")
+ (return-type "gchar*")
+)
+
+(define-function g_initable_new
+ (c-name "g_initable_new")
+ (return-type "gpointer")
+ (parameters
+ '("GType" "object_type")
'("GCancellable*" "cancellable")
'("GError**" "error")
+ '("const-gchar*" "first_property_name")
+ '("..." "...")
)
)
-(define-method call_list
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_list")
- (return-type "none")
+(define-function g_initable_new_valist
+ (c-name "g_initable_new_valist")
+ (return-type "GObject*")
(parameters
- '("const-gchar*" "arg_app_id")
+ '("GType" "object_type")
+ '("const-gchar*" "first_property_name")
+ '("va_list" "var_args")
'("GCancellable*" "cancellable")
- '("GAsyncReadyCallback" "callback")
- '("gpointer" "user_data")
+ '("GError**" "error")
)
)
-(define-method call_list_finish
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_list_finish")
- (return-type "gboolean")
+(define-function g_initable_newv
+ (c-name "g_initable_newv")
+ (return-type "gpointer")
(parameters
- '("GVariant**" "out_docs")
- '("GAsyncResult*" "res")
+ '("GType" "object_type")
+ '("guint" "n_parameters")
+ '("GParameter*" "parameters")
+ '("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-method call_list_sync
- (of-object "GXdpDocuments")
- (c-name "gxdp_documents_call_list_sync")
+(define-method init
+ (of-object "GInitable")
+ (c-name "g_initable_init")
(return-type "gboolean")
(parameters
- '("const-gchar*" "arg_app_id")
- '("GVariant**" "out_docs")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function gxdp_documents_proxy_get_type
- (c-name "gxdp_documents_proxy_get_type")
+(define-method get_item
+ (of-object "GListModel")
+ (c-name "g_list_model_get_item")
+ (return-type "gpointer")
+ (parameters
+ '("guint" "position")
+ )
+)
+
+(define-method get_item_type
+ (of-object "GListModel")
+ (c-name "g_list_model_get_item_type")
(return-type "GType")
)
-(define-function gxdp_documents_proxy_new_finish
- (c-name "gxdp_documents_proxy_new_finish")
- (return-type "GXdpDocuments*")
+(define-method get_n_items
+ (of-object "GListModel")
+ (c-name "g_list_model_get_n_items")
+ (return-type "guint")
+)
+
+(define-method get_object
+ (of-object "GListModel")
+ (c-name "g_list_model_get_object")
+ (return-type "GObject*")
(parameters
- '("GAsyncResult*" "res")
- '("GError**" "error")
+ '("guint" "position")
)
)
-(define-function gxdp_documents_proxy_new_sync
- (c-name "gxdp_documents_proxy_new_sync")
- (return-type "GXdpDocuments*")
+(define-method items_changed
+ (of-object "GListModel")
+ (c-name "g_list_model_items_changed")
+ (return-type "void")
(parameters
- '("GDBusConnection*" "connection")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("guint" "position")
+ '("guint" "removed")
+ '("guint" "added")
+ )
+)
+
+(define-method load
+ (of-object "GLoadableIcon")
+ (c-name "g_loadable_icon_load")
+ (return-type "GInputStream*")
+ (parameters
+ '("int" "size")
+ '("char**" "type")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function gxdp_documents_proxy_new_for_bus
- (c-name "gxdp_documents_proxy_new_for_bus")
- (return-type "none")
+(define-method load_async
+ (of-object "GLoadableIcon")
+ (c-name "g_loadable_icon_load_async")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("int" "size")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-function gxdp_documents_proxy_new_for_bus_finish
- (c-name "gxdp_documents_proxy_new_for_bus_finish")
- (return-type "GXdpDocuments*")
+(define-method load_finish
+ (of-object "GLoadableIcon")
+ (c-name "g_loadable_icon_load_finish")
+ (return-type "GInputStream*")
(parameters
'("GAsyncResult*" "res")
+ '("char**" "type")
'("GError**" "error")
)
)
-(define-function gxdp_documents_proxy_new_for_bus_sync
- (c-name "gxdp_documents_proxy_new_for_bus_sync")
- (return-type "GXdpDocuments*")
+(define-method can_eject
+ (of-object "GMount")
+ (c-name "g_mount_can_eject")
+ (return-type "gboolean")
+)
+
+(define-method can_unmount
+ (of-object "GMount")
+ (c-name "g_mount_can_unmount")
+ (return-type "gboolean")
+)
+
+(define-method eject
+ (of-object "GMount")
+ (c-name "g_mount_eject")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("GMountUnmountFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method eject_finish
+ (of-object "GMount")
+ (c-name "g_mount_eject_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method eject_with_operation
+ (of-object "GMount")
+ (c-name "g_mount_eject_with_operation")
+ (return-type "void")
+ (parameters
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method eject_with_operation_finish
+ (of-object "GMount")
+ (c-name "g_mount_eject_with_operation_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-function gxdp_documents_skeleton_get_type
- (c-name "gxdp_documents_skeleton_get_type")
- (return-type "GType")
+(define-method get_default_location
+ (of-object "GMount")
+ (c-name "g_mount_get_default_location")
+ (return-type "GFile*")
)
-(define-function gxdp_network_monitor_get_type
- (c-name "gxdp_network_monitor_get_type")
- (return-type "GType")
+(define-method get_drive
+ (of-object "GMount")
+ (c-name "g_mount_get_drive")
+ (return-type "GDrive*")
)
-(define-function gxdp_network_monitor_interface_info
- (c-name "gxdp_network_monitor_interface_info")
- (return-type "GDBusInterfaceInfo*")
+(define-method get_icon
+ (of-object "GMount")
+ (c-name "g_mount_get_icon")
+ (return-type "GIcon*")
)
-(define-function gxdp_network_monitor_override_properties
- (c-name "gxdp_network_monitor_override_properties")
- (return-type "guint")
+(define-method get_name
+ (of-object "GMount")
+ (c-name "g_mount_get_name")
+ (return-type "char*")
+)
+
+(define-method get_root
+ (of-object "GMount")
+ (c-name "g_mount_get_root")
+ (return-type "GFile*")
+)
+
+(define-method get_sort_key
+ (of-object "GMount")
+ (c-name "g_mount_get_sort_key")
+ (return-type "const-gchar*")
+)
+
+(define-method get_symbolic_icon
+ (of-object "GMount")
+ (c-name "g_mount_get_symbolic_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_uuid
+ (of-object "GMount")
+ (c-name "g_mount_get_uuid")
+ (return-type "char*")
+)
+
+(define-method get_volume
+ (of-object "GMount")
+ (c-name "g_mount_get_volume")
+ (return-type "GVolume*")
+)
+
+(define-method guess_content_type
+ (of-object "GMount")
+ (c-name "g_mount_guess_content_type")
+ (return-type "void")
(parameters
- '("GObjectClass*" "klass")
- '("guint" "property_id_begin")
+ '("gboolean" "force_rescan")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method emit_changed
- (of-object "GXdpNetworkMonitor")
- (c-name "gxdp_network_monitor_emit_changed")
- (return-type "none")
+(define-method guess_content_type_finish
+ (of-object "GMount")
+ (c-name "g_mount_guess_content_type_finish")
+ (return-type "gchar**")
(parameters
- '("gboolean" "arg_available")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method get_available
- (of-object "GXdpNetworkMonitor")
- (c-name "gxdp_network_monitor_get_available")
+(define-method guess_content_type_sync
+ (of-object "GMount")
+ (c-name "g_mount_guess_content_type_sync")
+ (return-type "gchar**")
+ (parameters
+ '("gboolean" "force_rescan")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method is_shadowed
+ (of-object "GMount")
+ (c-name "g_mount_is_shadowed")
(return-type "gboolean")
)
-(define-method set_available
- (of-object "GXdpNetworkMonitor")
- (c-name "gxdp_network_monitor_set_available")
- (return-type "none")
+(define-method remount
+ (of-object "GMount")
+ (c-name "g_mount_remount")
+ (return-type "void")
(parameters
- '("gboolean" "value")
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-method get_metered
- (of-object "GXdpNetworkMonitor")
- (c-name "gxdp_network_monitor_get_metered")
+(define-method remount_finish
+ (of-object "GMount")
+ (c-name "g_mount_remount_finish")
(return-type "gboolean")
-)
-
-(define-method set_metered
- (of-object "GXdpNetworkMonitor")
- (c-name "gxdp_network_monitor_set_metered")
- (return-type "none")
(parameters
- '("gboolean" "value")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-method get_connectivity
- (of-object "GXdpNetworkMonitor")
- (c-name "gxdp_network_monitor_get_connectivity")
- (return-type "guint")
+(define-method shadow
+ (of-object "GMount")
+ (c-name "g_mount_shadow")
+ (return-type "void")
)
-(define-method set_connectivity
- (of-object "GXdpNetworkMonitor")
- (c-name "gxdp_network_monitor_set_connectivity")
- (return-type "none")
+(define-method unmount
+ (of-object "GMount")
+ (c-name "g_mount_unmount")
+ (return-type "void")
(parameters
- '("guint" "value")
+ '("GMountUnmountFlags" "flags")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-function gxdp_network_monitor_proxy_get_type
- (c-name "gxdp_network_monitor_proxy_get_type")
- (return-type "GType")
+(define-method unmount_finish
+ (of-object "GMount")
+ (c-name "g_mount_unmount_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
)
-(define-function gxdp_network_monitor_proxy_new_finish
- (c-name "gxdp_network_monitor_proxy_new_finish")
- (return-type "GXdpNetworkMonitor*")
+(define-method unmount_with_operation
+ (of-object "GMount")
+ (c-name "g_mount_unmount_with_operation")
+ (return-type "void")
(parameters
- '("GAsyncResult*" "res")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method unmount_with_operation_finish
+ (of-object "GMount")
+ (c-name "g_mount_unmount_with_operation_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-function gxdp_network_monitor_proxy_new_sync
- (c-name "gxdp_network_monitor_proxy_new_sync")
- (return-type "GXdpNetworkMonitor*")
+(define-method unshadow
+ (of-object "GMount")
+ (c-name "g_mount_unshadow")
+ (return-type "void")
+)
+
+(define-function g_network_monitor_get_default
+ (c-name "g_network_monitor_get_default")
+ (return-type "GNetworkMonitor*")
+)
+
+(define-method can_reach
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_can_reach")
+ (return-type "gboolean")
(parameters
- '("GDBusConnection*" "connection")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("GSocketConnectable*" "connectable")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function gxdp_network_monitor_proxy_new_for_bus
- (c-name "gxdp_network_monitor_proxy_new_for_bus")
- (return-type "none")
+(define-method can_reach_async
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_can_reach_async")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("GSocketConnectable*" "connectable")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-function gxdp_network_monitor_proxy_new_for_bus_finish
- (c-name "gxdp_network_monitor_proxy_new_for_bus_finish")
- (return-type "GXdpNetworkMonitor*")
+(define-method can_reach_finish
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_can_reach_finish")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-function gxdp_network_monitor_proxy_new_for_bus_sync
- (c-name "gxdp_network_monitor_proxy_new_for_bus_sync")
- (return-type "GXdpNetworkMonitor*")
+(define-method get_connectivity
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_get_connectivity")
+ (return-type "GNetworkConnectivity")
+)
+
+(define-method get_network_available
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_get_network_available")
+ (return-type "gboolean")
+)
+
+(define-method get_network_metered
+ (of-object "GNetworkMonitor")
+ (c-name "g_network_monitor_get_network_metered")
+ (return-type "gboolean")
+)
+
+(define-method can_poll
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_can_poll")
+ (return-type "gboolean")
+)
+
+(define-method create_source
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_create_source")
+ (return-type "GSource*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ )
+)
+
+(define-method is_readable
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_is_readable")
+ (return-type "gboolean")
+)
+
+(define-method read_nonblocking
+ (of-object "GPollableInputStream")
+ (c-name "g_pollable_input_stream_read_nonblocking")
+ (return-type "gssize")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("void*" "buffer")
+ '("gsize" "count")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function gxdp_network_monitor_skeleton_get_type
- (c-name "gxdp_network_monitor_skeleton_get_type")
- (return-type "GType")
+(define-method can_poll
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_can_poll")
+ (return-type "gboolean")
)
-(define-function gxdp_proxy_resolver_get_type
- (c-name "gxdp_proxy_resolver_get_type")
- (return-type "GType")
+(define-method create_source
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_create_source")
+ (return-type "GSource*")
+ (parameters
+ '("GCancellable*" "cancellable")
+ )
)
-(define-function gxdp_proxy_resolver_interface_info
- (c-name "gxdp_proxy_resolver_interface_info")
- (return-type "GDBusInterfaceInfo*")
+(define-method is_writable
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_is_writable")
+ (return-type "gboolean")
)
-(define-function gxdp_proxy_resolver_override_properties
- (c-name "gxdp_proxy_resolver_override_properties")
- (return-type "guint")
+(define-method write_nonblocking
+ (of-object "GPollableOutputStream")
+ (c-name "g_pollable_output_stream_write_nonblocking")
+ (return-type "gssize")
+ (parameters
+ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-function g_proxy_get_default_for_protocol
+ (c-name "g_proxy_get_default_for_protocol")
+ (return-type "GProxy*")
(parameters
- '("GObjectClass*" "klass")
- '("guint" "property_id_begin")
+ '("const-gchar*" "protocol")
)
)
-(define-method complete_lookup
- (of-object "GXdpProxyResolver")
- (c-name "gxdp_proxy_resolver_complete_lookup")
- (return-type "none")
+(define-method connect
+ (of-object "GProxy")
+ (c-name "g_proxy_connect")
+ (return-type "GIOStream*")
(parameters
- '("GDBusMethodInvocation*" "invocation")
- '("const-gchar*-const*" "proxies")
+ '("GIOStream*" "connection")
+ '("GProxyAddress*" "proxy_address")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
)
)
-(define-method call_lookup
- (of-object "GXdpProxyResolver")
- (c-name "gxdp_proxy_resolver_call_lookup")
- (return-type "none")
+(define-method connect_async
+ (of-object "GProxy")
+ (c-name "g_proxy_connect_async")
+ (return-type "void")
(parameters
- '("const-gchar*" "arg_uri")
+ '("GIOStream*" "connection")
+ '("GProxyAddress*" "proxy_address")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-method call_lookup_finish
- (of-object "GXdpProxyResolver")
- (c-name "gxdp_proxy_resolver_call_lookup_finish")
+(define-method connect_finish
+ (of-object "GProxy")
+ (c-name "g_proxy_connect_finish")
+ (return-type "GIOStream*")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method supports_hostname
+ (of-object "GProxy")
+ (c-name "g_proxy_supports_hostname")
(return-type "gboolean")
+)
+
+(define-function g_proxy_resolver_get_default
+ (c-name "g_proxy_resolver_get_default")
+ (return-type "GProxyResolver*")
+)
+
+(define-method is_supported
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_is_supported")
+ (return-type "gboolean")
+)
+
+(define-method lookup
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_lookup")
+ (return-type "gchar**")
(parameters
- '("gchar***" "out_proxies")
- '("GAsyncResult*" "res")
+ '("const-gchar*" "uri")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method lookup_async
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_lookup_async")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "uri")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method lookup_finish
+ (of-object "GProxyResolver")
+ (c-name "g_proxy_resolver_lookup_finish")
+ (return-type "gchar**")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-method call_lookup_sync
- (of-object "GXdpProxyResolver")
- (c-name "gxdp_proxy_resolver_call_lookup_sync")
+(define-method activate_action_full
+ (of-object "GRemoteActionGroup")
+ (c-name "g_remote_action_group_activate_action_full")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "parameter")
+ '("GVariant*" "platform_data")
+ )
+)
+
+(define-method change_action_state_full
+ (of-object "GRemoteActionGroup")
+ (c-name "g_remote_action_group_change_action_state_full")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "value")
+ '("GVariant*" "platform_data")
+ )
+)
+
+(define-method can_seek
+ (of-object "GSeekable")
+ (c-name "g_seekable_can_seek")
+ (return-type "gboolean")
+)
+
+(define-method can_truncate
+ (of-object "GSeekable")
+ (c-name "g_seekable_can_truncate")
+ (return-type "gboolean")
+)
+
+(define-method seek
+ (of-object "GSeekable")
+ (c-name "g_seekable_seek")
+ (return-type "gboolean")
+ (parameters
+ '("goffset" "offset")
+ '("GSeekType" "type")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+ )
+)
+
+(define-method tell
+ (of-object "GSeekable")
+ (c-name "g_seekable_tell")
+ (return-type "goffset")
+)
+
+(define-method truncate
+ (of-object "GSeekable")
+ (c-name "g_seekable_truncate")
(return-type "gboolean")
(parameters
- '("const-gchar*" "arg_uri")
- '("gchar***" "out_proxies")
+ '("goffset" "offset")
'("GCancellable*" "cancellable")
'("GError**" "error")
)
)
-(define-function gxdp_proxy_resolver_proxy_get_type
- (c-name "gxdp_proxy_resolver_proxy_get_type")
+(define-method enumerate
+ (of-object "GSocketConnectable")
+ (c-name "g_socket_connectable_enumerate")
+ (return-type "GSocketAddressEnumerator*")
+)
+
+(define-method proxy_enumerate
+ (of-object "GSocketConnectable")
+ (c-name "g_socket_connectable_proxy_enumerate")
+ (return-type "GSocketAddressEnumerator*")
+)
+
+(define-method to_string
+ (of-object "GSocketConnectable")
+ (c-name "g_socket_connectable_to_string")
+ (return-type "gchar*")
+)
+
+(define-function g_tls_backend_get_default
+ (c-name "g_tls_backend_get_default")
+ (return-type "GTlsBackend*")
+)
+
+(define-method get_certificate_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_certificate_type")
+ (return-type "GType")
+)
+
+(define-method get_client_connection_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_client_connection_type")
(return-type "GType")
)
-(define-function gxdp_proxy_resolver_proxy_new_finish
- (c-name "gxdp_proxy_resolver_proxy_new_finish")
- (return-type "GXdpProxyResolver*")
+(define-method get_default_database
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_default_database")
+ (return-type "GTlsDatabase*")
+)
+
+(define-method get_dtls_client_connection_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_dtls_client_connection_type")
+ (return-type "GType")
+)
+
+(define-method get_dtls_server_connection_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_dtls_server_connection_type")
+ (return-type "GType")
+)
+
+(define-method get_file_database_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_file_database_type")
+ (return-type "GType")
+)
+
+(define-method get_server_connection_type
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_get_server_connection_type")
+ (return-type "GType")
+)
+
+(define-method supports_dtls
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_supports_dtls")
+ (return-type "gboolean")
+)
+
+(define-method supports_tls
+ (of-object "GTlsBackend")
+ (c-name "g_tls_backend_supports_tls")
+ (return-type "gboolean")
+)
+
+(define-function g_tls_client_connection_new
+ (c-name "g_tls_client_connection_new")
+ (return-type "GIOStream*")
(parameters
- '("GAsyncResult*" "res")
+ '("GIOStream*" "base_io_stream")
+ '("GSocketConnectable*" "server_identity")
'("GError**" "error")
)
)
-(define-function gxdp_proxy_resolver_proxy_new_sync
- (c-name "gxdp_proxy_resolver_proxy_new_sync")
- (return-type "GXdpProxyResolver*")
+(define-method copy_session_state
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_copy_session_state")
+ (return-type "void")
+ (parameters
+ '("GTlsClientConnection*" "source")
+ )
+)
+
+(define-method get_accepted_cas
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_accepted_cas")
+ (return-type "GList*")
+)
+
+(define-method get_server_identity
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_server_identity")
+ (return-type "GSocketConnectable*")
+)
+
+(define-method get_use_ssl3
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_use_ssl3")
+ (return-type "gboolean")
+)
+
+(define-method get_validation_flags
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_get_validation_flags")
+ (return-type "GTlsCertificateFlags")
+)
+
+(define-method set_server_identity
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_set_server_identity")
+ (return-type "void")
(parameters
- '("GDBusConnection*" "connection")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
- '("GCancellable*" "cancellable")
+ '("GSocketConnectable*" "identity")
+ )
+)
+
+(define-method set_use_ssl3
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_set_use_ssl3")
+ (return-type "void")
+ (parameters
+ '("gboolean" "use_ssl3")
+ )
+)
+
+(define-method set_validation_flags
+ (of-object "GTlsClientConnection")
+ (c-name "g_tls_client_connection_set_validation_flags")
+ (return-type "void")
+ (parameters
+ '("GTlsCertificateFlags" "flags")
+ )
+)
+
+(define-function g_tls_file_database_new
+ (c-name "g_tls_file_database_new")
+ (return-type "GTlsDatabase*")
+ (parameters
+ '("gchar*" "anchors")
'("GError**" "error")
)
)
-(define-function gxdp_proxy_resolver_proxy_new_for_bus
- (c-name "gxdp_proxy_resolver_proxy_new_for_bus")
- (return-type "none")
+(define-function g_tls_server_connection_new
+ (c-name "g_tls_server_connection_new")
+ (return-type "GIOStream*")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("GIOStream*" "base_io_stream")
+ '("GTlsCertificate*" "certificate")
+ '("GError**" "error")
+ )
+)
+
+(define-method can_eject
+ (of-object "GVolume")
+ (c-name "g_volume_can_eject")
+ (return-type "gboolean")
+)
+
+(define-method can_mount
+ (of-object "GVolume")
+ (c-name "g_volume_can_mount")
+ (return-type "gboolean")
+)
+
+(define-method eject
+ (of-object "GVolume")
+ (c-name "g_volume_eject")
+ (return-type "void")
+ (parameters
+ '("GMountUnmountFlags" "flags")
'("GCancellable*" "cancellable")
'("GAsyncReadyCallback" "callback")
'("gpointer" "user_data")
)
)
-(define-function gxdp_proxy_resolver_proxy_new_for_bus_finish
- (c-name "gxdp_proxy_resolver_proxy_new_for_bus_finish")
- (return-type "GXdpProxyResolver*")
+(define-method eject_finish
+ (of-object "GVolume")
+ (c-name "g_volume_eject_finish")
+ (return-type "gboolean")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-function gxdp_proxy_resolver_proxy_new_for_bus_sync
- (c-name "gxdp_proxy_resolver_proxy_new_for_bus_sync")
- (return-type "GXdpProxyResolver*")
+(define-method eject_with_operation
+ (of-object "GVolume")
+ (c-name "g_volume_eject_with_operation")
+ (return-type "void")
(parameters
- '("GBusType" "bus_type")
- '("GDBusProxyFlags" "flags")
- '("const-gchar*" "name")
- '("const-gchar*" "object_path")
+ '("GMountUnmountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
'("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method eject_with_operation_finish
+ (of-object "GVolume")
+ (c-name "g_volume_eject_with_operation_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
-(define-function gxdp_proxy_resolver_skeleton_get_type
- (c-name "gxdp_proxy_resolver_skeleton_get_type")
- (return-type "GType")
+(define-method enumerate_identifiers
+ (of-object "GVolume")
+ (c-name "g_volume_enumerate_identifiers")
+ (return-type "char**")
)
+(define-method get_activation_root
+ (of-object "GVolume")
+ (c-name "g_volume_get_activation_root")
+ (return-type "GFile*")
+)
+
+(define-method get_drive
+ (of-object "GVolume")
+ (c-name "g_volume_get_drive")
+ (return-type "GDrive*")
+)
+
+(define-method get_icon
+ (of-object "GVolume")
+ (c-name "g_volume_get_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_identifier
+ (of-object "GVolume")
+ (c-name "g_volume_get_identifier")
+ (return-type "char*")
+ (parameters
+ '("const-char*" "kind")
+ )
+)
+
+(define-method get_mount
+ (of-object "GVolume")
+ (c-name "g_volume_get_mount")
+ (return-type "GMount*")
+)
+
+(define-method get_name
+ (of-object "GVolume")
+ (c-name "g_volume_get_name")
+ (return-type "char*")
+)
+
+(define-method get_sort_key
+ (of-object "GVolume")
+ (c-name "g_volume_get_sort_key")
+ (return-type "const-gchar*")
+)
+
+(define-method get_symbolic_icon
+ (of-object "GVolume")
+ (c-name "g_volume_get_symbolic_icon")
+ (return-type "GIcon*")
+)
+
+(define-method get_uuid
+ (of-object "GVolume")
+ (c-name "g_volume_get_uuid")
+ (return-type "char*")
+)
+
+(define-method mount
+ (of-object "GVolume")
+ (c-name "g_volume_mount")
+ (return-type "void")
+ (parameters
+ '("GMountMountFlags" "flags")
+ '("GMountOperation*" "mount_operation")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method mount_finish
+ (of-object "GVolume")
+ (c-name "g_volume_mount_finish")
+ (return-type "gboolean")
+ (parameters
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
+ )
+)
+
+(define-method should_automount
+ (of-object "GVolume")
+ (c-name "g_volume_should_automount")
+ (return-type "gboolean")
+)
diff --git a/gio/src/gio_methods.defs.patch b/gio/src/gio_methods.defs.patch
new file mode 100644
index 0000000..37a3331
--- /dev/null
+++ b/gio/src/gio_methods.defs.patch
@@ -0,0 +1,177 @@
+--- a/gio_methods.defs
++++ b/gio_methods.defs
+@@ -1551,13 +1551,13 @@
+ (define-method get_cwd
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_cwd")
+- (return-type "gchar*")
++ (return-type "const-gchar*")
+ )
+
+ (define-method get_environ
+ (of-object "GApplicationCommandLine")
+ (c-name "g_application_command_line_get_environ")
+- (return-type "gchar**")
++ (return-type "const-gchar*-const*")
+ )
+
+ (define-method get_exit_status
+
+@@ -1705,7 +1705,7 @@
+ (define-method peek_buffer
+ (of-object "GBufferedInputStream")
+ (c-name "g_buffered_input_stream_peek_buffer")
+- (return-type "void*")
++ (return-type "const-void*")
+ (parameters
+ '("gsize*" "count")
+ )
+
+@@ -4317,7 +4317,7 @@
+ (define-method get_filename
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_get_filename")
+- (return-type "char*")
++ (return-type "const-char*")
+ )
+
+ (define-method get_generic_name
+
+@@ -4406,7 +4406,7 @@
+ (define-method list_actions
+ (of-object "GDesktopAppInfo")
+ (c-name "g_desktop_app_info_list_actions")
+- (return-type "gchar**")
++ (return-type "const-gchar*-const*")
+ )
+
+ (define-function g_emblem_new
+
+@@ -4970,7 +4970,7 @@
+ (define-method get_name
+ (of-object "GFileInfo")
+ (c-name "g_file_info_get_name")
+- (return-type "char*")
++ (return-type "const-char*")
+ )
+
+ (define-method get_size
+
+@@ -5713,7 +5713,7 @@
+ (c-name "g_inet_address_new_from_bytes")
+ (return-type "GInetAddress*")
+ (parameters
+- '("guint8*" "bytes")
++ '("const-guint8*" "bytes")
+ '("GSocketFamily" "family")
+ )
+ )
+
+@@ -6243,7 +6243,7 @@
+ (c-name "g_memory_input_stream_add_data")
+ (return-type "void")
+ (parameters
+- '("void*" "data")
++ '("const-void*" "data")
+ '("gssize" "len")
+ '("GDestroyNotify" "destroy")
+ )
+
+@@ -7217,7 +7217,7 @@
+ (c-name "g_output_stream_write")
+ (return-type "gssize")
+ (parameters
+- '("void*" "buffer")
++ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+
+@@ -7229,7 +7229,7 @@
+ (c-name "g_output_stream_write_all")
+ (return-type "gboolean")
+ (parameters
+- '("void*" "buffer")
++ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("gsize*" "bytes_written")
+ '("GCancellable*" "cancellable")
+
+@@ -8157,7 +8157,7 @@
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+- '("gchar**" "value")
++ '("const-gchar*-const*" "value")
+ )
+ )
+
+@@ -9047,7 +9047,7 @@
+ (c-name "g_socket_send")
+ (return-type "gssize")
+ (parameters
+- '("gchar*" "buffer")
++ '("const-gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+
+@@ -9089,7 +9089,7 @@
+ (return-type "gssize")
+ (parameters
+ '("GSocketAddress*" "address")
+- '("gchar*" "buffer")
++ '("const-gchar*" "buffer")
+ '("gsize" "size")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
+
+@@ -12220,7 +12220,7 @@
+ (define-method get_commandline
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_commandline")
+- (return-type "char*")
++ (return-type "const-char*")
+ )
+
+ (define-method get_description
+
+@@ -12238,7 +12238,7 @@
+ (define-method get_executable
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_executable")
+- (return-type "char*")
++ (return-type "const-char*")
+ )
+
+ (define-method get_icon
+
+@@ -12262,7 +12262,7 @@
+ (define-method get_supported_types
+ (of-object "GAppInfo")
+ (c-name "g_app_info_get_supported_types")
+- (return-type "char**")
++ (return-type "const-char**")
+ )
+
+ (define-method launch
+
+@@ -12454,7 +12454,7 @@
+ (c-name "g_converter_convert")
+ (return-type "GConverterResult")
+ (parameters
+- '("void*" "inbuf")
++ '("const-void*" "inbuf")
+ '("gsize" "inbuf_size")
+ '("void*" "outbuf")
+ '("gsize" "outbuf_size")
+
+@@ -14974,7 +14974,7 @@
+ (c-name "g_pollable_output_stream_write_nonblocking")
+ (return-type "gssize")
+ (parameters
+- '("void*" "buffer")
++ '("const-void*" "buffer")
+ '("gsize" "count")
+ '("GCancellable*" "cancellable")
+ '("GError**" "error")
diff --git a/gio/src/gio_vfuncs.defs b/gio/src/gio_vfuncs.defs
index 13baa7c..e226b2a 100644
--- a/gio/src/gio_vfuncs.defs
+++ b/gio/src/gio_vfuncs.defs
@@ -228,7 +228,7 @@
'("GDBusObjectProxy*" "object_proxy")
'("GDBusProxy*" "interface_proxy")
'("GVariant*" "changed_properties")
- '("const-gchar*const*" "invalidated_properties")
+ '("const-gchar*-const*" "invalidated_properties")
)
)
@@ -1590,7 +1590,7 @@
(define-vfunc get_supported_uri_schemes
(of-object "GVfs")
- (return-type "const-gchar*const*")
+ (return-type "const-gchar*-const*")
)
(define-vfunc is_active
diff --git a/gio/src/gio_vfuncs.defs.patch b/gio/src/gio_vfuncs.defs.patch
index c67b10e..819f5db 100644
--- a/gio/src/gio_vfuncs.defs.patch
+++ b/gio/src/gio_vfuncs.defs.patch
@@ -1,5 +1,15 @@
--- gio_vfuncs.defs
+++ gio_vfuncs.defs
+@@ -258,7 +258,7 @@
+ (return-type "void")
+ (parameters
+ '("GVariant*" "changed_properties")
++ '("const-gchar*const*" "invalidated_properties")
+- '("const-gchar*-const*" "invalidated_properties")
+ )
+ )
+
+
@@ -791,7 +791,7 @@
(return-type "void")
(parameters
diff --git a/gio/src/settingsschema.hg b/gio/src/settingsschema.hg
index db768b8..f7b8f61 100644
--- a/gio/src/settingsschema.hg
+++ b/gio/src/settingsschema.hg
@@ -59,9 +59,6 @@ class SettingsSchema final
protected:
_IGNORE(g_settings_schema_ref, g_settings_schema_unref)
- //Ignore internal GSettingsSchema functions.
- _IGNORE(g_settings_schema_get_value, g_settings_schema_list, g_settings_schema_get_string,
g_settings_schema_get_gettext_domain)
-
public:
_WRAP_METHOD(Glib::ustring get_id() const, g_settings_schema_get_id)
_WRAP_METHOD(Glib::ustring get_path() const, g_settings_schema_get_path)
diff --git a/gio/src/settingsschemakey.hg b/gio/src/settingsschemakey.hg
index e7894d6..7794b2d 100644
--- a/gio/src/settingsschemakey.hg
+++ b/gio/src/settingsschemakey.hg
@@ -42,13 +42,6 @@ class SettingsSchemaKey final
protected:
_IGNORE(g_settings_schema_key_ref, g_settings_schema_key_unref)
- //Ignore internal GSettingsSchemaKey functions.
- _IGNORE(g_settings_schema_key_init, g_settings_schema_key_clear,
- g_settings_schema_key_type_check, g_settings_schema_key_range_fixup,
- g_settings_schema_key_get_translated_default, g_settings_schema_key_to_enum,
- g_settings_schema_key_from_enum, g_settings_schema_key_to_flags,
- g_settings_schema_key_from_flags)
-
public:
//TODO: _WRAP_METHOD(const GVariantType * g_settings_schema_key_get_value_type (),
g_settings_schema_key_get_value_type)
//_WRAP_METHOD(GVariant * g_settings_schema_key_get_default_value (),
g_settings_schema_key_get_default_value)
diff --git a/glib/src/glib_functions.defs b/glib/src/glib_functions.defs
index a49fad3..4cb7cca 100644
--- a/glib/src/glib_functions.defs
+++ b/glib/src/glib_functions.defs
@@ -159,9 +159,9 @@
'("int" "line")
'("const-char*" "func")
'("const-char*" "expr")
- '("longdouble" "arg1")
+ '("long-double" "arg1")
'("const-char*" "cmp")
- '("longdouble" "arg2")
+ '("long-double" "arg2")
'("char" "numtype")
)
)
@@ -220,7 +220,7 @@
(c-name "g_atomic_int_add")
(return-type "gint")
(parameters
- '("volatilegint*" "atomic")
+ '("volatile-gint*" "atomic")
'("gint" "val")
)
)
@@ -229,7 +229,7 @@
(c-name "g_atomic_int_and")
(return-type "guint")
(parameters
- '("volatileguint*" "atomic")
+ '("volatile-guint*" "atomic")
'("guint" "val")
)
)
@@ -238,7 +238,7 @@
(c-name "g_atomic_int_compare_and_exchange")
(return-type "gboolean")
(parameters
- '("volatilegint*" "atomic")
+ '("volatile-gint*" "atomic")
'("gint" "oldval")
'("gint" "newval")
)
@@ -248,7 +248,7 @@
(c-name "g_atomic_int_dec_and_test")
(return-type "gboolean")
(parameters
- '("volatilegint*" "atomic")
+ '("volatile-gint*" "atomic")
)
)
@@ -256,7 +256,7 @@
(c-name "g_atomic_int_exchange_and_add")
(return-type "gint")
(parameters
- '("volatilegint*" "atomic")
+ '("volatile-gint*" "atomic")
'("gint" "val")
)
)
@@ -265,7 +265,7 @@
(c-name "g_atomic_int_get")
(return-type "gint")
(parameters
- '("volatileconst-gint*" "atomic")
+ '("volatile-const-gint*" "atomic")
)
)
@@ -273,7 +273,7 @@
(c-name "g_atomic_int_inc")
(return-type "void")
(parameters
- '("volatilegint*" "atomic")
+ '("volatile-gint*" "atomic")
)
)
@@ -281,7 +281,7 @@
(c-name "g_atomic_int_or")
(return-type "guint")
(parameters
- '("volatileguint*" "atomic")
+ '("volatile-guint*" "atomic")
'("guint" "val")
)
)
@@ -290,7 +290,7 @@
(c-name "g_atomic_int_set")
(return-type "void")
(parameters
- '("volatilegint*" "atomic")
+ '("volatile-gint*" "atomic")
'("gint" "newval")
)
)
@@ -299,7 +299,7 @@
(c-name "g_atomic_int_xor")
(return-type "guint")
(parameters
- '("volatileguint*" "atomic")
+ '("volatile-guint*" "atomic")
'("guint" "val")
)
)
@@ -442,7 +442,7 @@
(c-name "g_bit_lock")
(return-type "void")
(parameters
- '("volatilegint*" "address")
+ '("volatile-gint*" "address")
'("gint" "lock_bit")
)
)
@@ -477,7 +477,7 @@
(c-name "g_bit_trylock")
(return-type "gboolean")
(parameters
- '("volatilegint*" "address")
+ '("volatile-gint*" "address")
'("gint" "lock_bit")
)
)
@@ -486,7 +486,7 @@
(c-name "g_bit_unlock")
(return-type "void")
(parameters
- '("volatilegint*" "address")
+ '("volatile-gint*" "address")
'("gint" "lock_bit")
)
)
@@ -3435,7 +3435,7 @@
(c-name "g_strv_contains")
(return-type "gboolean")
(parameters
- '("const-gchar*const*" "strv")
+ '("const-gchar*-const*" "strv")
'("const-gchar*" "str")
)
)
@@ -13976,7 +13976,7 @@
(c-name "g_clear_object")
(return-type "void")
(parameters
- '("volatileGObject**" "object_ptr")
+ '("volatile-GObject**" "object_ptr")
)
)
diff --git a/tools/gen_scripts/glibmm_generate_defs.sh b/tools/gen_scripts/glibmm_generate_defs.sh
index 6b89374..a027bd6 100755
--- a/tools/gen_scripts/glibmm_generate_defs.sh
+++ b/tools/gen_scripts/glibmm_generate_defs.sh
@@ -62,4 +62,9 @@ $MMGIRGEN_PATH Gio-2.0 \
--namespace=Gio \
--print-vfunc > $GLIBMM_DIR/gio/src/gio_vfuncs.defs
+#GLib functions & methods
+$MMGIRGEN_PATH Gio-2.0 \
+ --namespace=Gio \
+ --print-function > $GLIBMM_DIR/gio/src/gio_methods.defs
+
patch_directory $GLIBMM_DIR/gio/src
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]