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:
parent
937470bb54
commit
e8c8adecad
@ -49,7 +49,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
|
|||||||
* void myobject_operation(QMyObject *obj,
|
* void myobject_operation(QMyObject *obj,
|
||||||
* QIOTaskFunc *func,
|
* QIOTaskFunc *func,
|
||||||
* gpointer opaque,
|
* gpointer opaque,
|
||||||
* GDestroyNotify *notify);
|
* GDestroyNotify notify);
|
||||||
* </programlisting>
|
* </programlisting>
|
||||||
* </example>
|
* </example>
|
||||||
*
|
*
|
||||||
@ -67,7 +67,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
|
|||||||
* void myobject_operation(QMyObject *obj,
|
* void myobject_operation(QMyObject *obj,
|
||||||
* QIOTaskFunc *func,
|
* QIOTaskFunc *func,
|
||||||
* gpointer opaque,
|
* gpointer opaque,
|
||||||
* GDestroyNotify *notify)
|
* GDestroyNotify notify)
|
||||||
* {
|
* {
|
||||||
* QIOTask *task;
|
* QIOTask *task;
|
||||||
*
|
*
|
||||||
@ -154,7 +154,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
|
|||||||
* SocketAddress *addr,
|
* SocketAddress *addr,
|
||||||
* QIOTaskFunc *func,
|
* QIOTaskFunc *func,
|
||||||
* gpointer opaque,
|
* gpointer opaque,
|
||||||
* GDestroyNotify *notify)
|
* GDestroyNotify notify)
|
||||||
* {
|
* {
|
||||||
* QIOTask *task;
|
* QIOTask *task;
|
||||||
* SocketAddress *addrCopy;
|
* SocketAddress *addrCopy;
|
||||||
|
Loading…
Reference in New Issue
Block a user