Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
mono-qt4
qyoto-qdbus-non-generic.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qyoto-qdbus-non-generic.patch of Package mono-qt4
Index: qyoto-4.14.2/qdbus/QDBusReply.cs =================================================================== --- qyoto-4.14.2.orig/qdbus/QDBusReply.cs +++ qyoto-4.14.2/qdbus/QDBusReply.cs @@ -4,9 +4,12 @@ namespace Qyoto { using System.Runtime.InteropServices; using System.Collections.Generic; - public class QDBusReply<T> { + class QDBusReplyFill { [DllImport("qyoto", CharSet=CharSet.Ansi)] - private static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant); + public static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant); + } + + public class QDBusReply<T> { public QDBusReply(QDBusMessage reply) { m_error = new QDBusError(reply); @@ -18,7 +21,7 @@ namespace Qyoto { variant = QVariant.FromValue<T>(default(T)); } - qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error), + QDBusReplyFill.qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error), (IntPtr) GCHandle.Alloc(variant)); if (!m_error.IsValid()) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor