diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2023-03-31 18:15:23 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2023-03-31 18:15:23 +0200 |
commit | 7ff8b74a47059edbba7a9f9424fa0022943bc6ec (patch) | |
tree | c1c2ef469fbf0a6caf6b23b9a78b86d8d149255e /gio/src/tlsconnection.hg | |
parent | 98f3b67b5c1bd71d0e7b41193fb4683fc957e321 (diff) | |
download | glibmm-7ff8b74a47059edbba7a9f9424fa0022943bc6ec.tar.gz |
Add Gio::giomm_SignalProxy_async_callback() with C linkage
and use it instead of SignalProxy_async_callback().
Part of issue #1
Diffstat (limited to 'gio/src/tlsconnection.hg')
-rw-r--r-- | gio/src/tlsconnection.hg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gio/src/tlsconnection.hg b/gio/src/tlsconnection.hg index c76c5dc1..a56f708c 100644 --- a/gio/src/tlsconnection.hg +++ b/gio/src/tlsconnection.hg @@ -75,7 +75,8 @@ public: _WRAP_METHOD(bool handshake(const Glib::RefPtr<Cancellable>& cancellable{?}), g_tls_connection_handshake, errthrow) - _WRAP_METHOD(void handshake_async(const SlotAsyncReady& slot{callback}, const Glib::RefPtr<Cancellable>& cancellable{.?}, int io_priority{.} = Glib::PRIORITY_DEFAULT), g_tls_connection_handshake_async, slot_name slot, slot_callback SignalProxy_async_callback) + _WRAP_METHOD(void handshake_async(const SlotAsyncReady& slot{callback}, const Glib::RefPtr<Cancellable>& cancellable{.?}, + int io_priority{.} = Glib::PRIORITY_DEFAULT), g_tls_connection_handshake_async, slot_name slot, slot_callback giomm_SignalProxy_async_callback) _WRAP_METHOD(bool handshake_finish(const Glib::RefPtr<AsyncResult>& result), g_tls_connection_handshake_finish, errthrow) _WRAP_METHOD(TlsProtocolVersion get_protocol_version() const, g_tls_connection_get_protocol_version) @@ -99,7 +100,8 @@ public: protected: _WRAP_VFUNC(bool handshake(const Glib::RefPtr<Cancellable>& cancellable), "handshake", errthrow) - _WRAP_VFUNC(void handshake_async(const SlotAsyncReady& slot{callback}, const Glib::RefPtr<Cancellable>& cancellable{.}, int io_priority{.} = Glib::PRIORITY_DEFAULT), "handshake_async", slot_name slot, slot_callback SignalProxy_async_callback) + _WRAP_VFUNC(void handshake_async(const SlotAsyncReady& slot{callback}, const Glib::RefPtr<Cancellable>& cancellable{.}, + int io_priority{.} = Glib::PRIORITY_DEFAULT), "handshake_async", slot_name slot, slot_callback giomm_SignalProxy_async_callback) #m4 _CONVERSION(`GAsyncResult*',`const Glib::RefPtr<AsyncResult>&',`Glib::wrap($3, true)') _WRAP_VFUNC(bool handshake_finish(const Glib::RefPtr<AsyncResult>& result), "handshake_finish", errthrow) |