mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
io: fix typo in docs for QIOTask
The GDestroyNotify parameter is already a pointer, so does not need a '*' suffix on the type. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
+3
-3
@@ -49,7 +49,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
|
||||
* void myobject_operation(QMyObject *obj,
|
||||
* QIOTaskFunc *func,
|
||||
* gpointer opaque,
|
||||
* GDestroyNotify *notify);
|
||||
* GDestroyNotify notify);
|
||||
* </programlisting>
|
||||
* </example>
|
||||
*
|
||||
@@ -67,7 +67,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
|
||||
* void myobject_operation(QMyObject *obj,
|
||||
* QIOTaskFunc *func,
|
||||
* gpointer opaque,
|
||||
* GDestroyNotify *notify)
|
||||
* GDestroyNotify notify)
|
||||
* {
|
||||
* QIOTask *task;
|
||||
*
|
||||
@@ -154,7 +154,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
|
||||
* SocketAddress *addr,
|
||||
* QIOTaskFunc *func,
|
||||
* gpointer opaque,
|
||||
* GDestroyNotify *notify)
|
||||
* GDestroyNotify notify)
|
||||
* {
|
||||
* QIOTask *task;
|
||||
* SocketAddress *addrCopy;
|
||||
|
||||
Reference in New Issue
Block a user