From 7ff8b74a47059edbba7a9f9424fa0022943bc6ec Mon Sep 17 00:00:00 2001 From: Kjell Ahlstedt Date: Fri, 31 Mar 2023 18:15:23 +0200 Subject: Add Gio::giomm_SignalProxy_async_callback() with C linkage and use it instead of SignalProxy_async_callback(). Part of issue #1 --- gio/src/inputstream.ccg | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'gio/src/inputstream.ccg') 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 -- cgit v1.2.1