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/inputstream.ccg | |
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/inputstream.ccg')
-rw-r--r-- | gio/src/inputstream.ccg | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gio/src/inputstream.ccg b/gio/src/inputstream.ccg index 35c15319..ef87db52 100644 --- a/gio/src/inputstream.ccg +++ b/gio/src/inputstream.ccg @@ -32,7 +32,7 @@ InputStream::read_async(void* buffer, gsize count, const SlotAsyncReady& slot, auto slot_copy = new SlotAsyncReady(slot); g_input_stream_read_async(gobj(), buffer, count, io_priority, Glib::unwrap(cancellable), - &SignalProxy_async_callback, slot_copy); + &giomm_SignalProxy_async_callback, slot_copy); } void @@ -44,7 +44,7 @@ InputStream::read_async(void* buffer, gsize count, const SlotAsyncReady& slot, i auto slot_copy = new SlotAsyncReady(slot); g_input_stream_read_async( - gobj(), buffer, count, io_priority, nullptr, &SignalProxy_async_callback, slot_copy); + gobj(), buffer, count, io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy); } void @@ -57,7 +57,7 @@ InputStream::read_all_async(void* buffer, gsize count, const SlotAsyncReady& slo auto slot_copy = new SlotAsyncReady(slot); g_input_stream_read_all_async(gobj(), buffer, count, io_priority, Glib::unwrap(cancellable), - &SignalProxy_async_callback, slot_copy); + &giomm_SignalProxy_async_callback, slot_copy); } void @@ -69,7 +69,7 @@ InputStream::read_all_async(void* buffer, gsize count, const SlotAsyncReady& slo auto slot_copy = new SlotAsyncReady(slot); g_input_stream_read_all_async( - gobj(), buffer, count, io_priority, nullptr, &SignalProxy_async_callback, slot_copy); + gobj(), buffer, count, io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy); } void @@ -82,7 +82,7 @@ InputStream::read_bytes_async(gsize count, const SlotAsyncReady& slot, auto slot_copy = new SlotAsyncReady(slot); g_input_stream_read_bytes_async( - gobj(), count, io_priority, Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); + gobj(), count, io_priority, Glib::unwrap(cancellable), &giomm_SignalProxy_async_callback, slot_copy); } void @@ -94,7 +94,7 @@ InputStream::read_bytes_async(gsize count, const SlotAsyncReady& slot, int io_pr auto slot_copy = new SlotAsyncReady(slot); g_input_stream_read_bytes_async( - gobj(), count, io_priority, nullptr, &SignalProxy_async_callback, slot_copy); + gobj(), count, io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy); } void @@ -107,7 +107,7 @@ InputStream::skip_async(gsize count, const SlotAsyncReady& slot, auto slot_copy = new SlotAsyncReady(slot); g_input_stream_skip_async( - gobj(), count, io_priority, Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); + gobj(), count, io_priority, Glib::unwrap(cancellable), &giomm_SignalProxy_async_callback, slot_copy); } void @@ -119,7 +119,7 @@ InputStream::skip_async(gsize count, const SlotAsyncReady& slot, int io_priority auto slot_copy = new SlotAsyncReady(slot); g_input_stream_skip_async( - gobj(), count, io_priority, nullptr, &SignalProxy_async_callback, slot_copy); + gobj(), count, io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy); } void @@ -132,7 +132,7 @@ InputStream::close_async( auto slot_copy = new SlotAsyncReady(slot); g_input_stream_close_async( - gobj(), io_priority, Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); + gobj(), io_priority, Glib::unwrap(cancellable), &giomm_SignalProxy_async_callback, slot_copy); } void @@ -143,7 +143,7 @@ InputStream::close_async(const SlotAsyncReady& slot, int io_priority) // and deleted in the callback. auto slot_copy = new SlotAsyncReady(slot); - g_input_stream_close_async(gobj(), io_priority, nullptr, &SignalProxy_async_callback, slot_copy); + g_input_stream_close_async(gobj(), io_priority, nullptr, &giomm_SignalProxy_async_callback, slot_copy); } } // namespace Gio |