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,
|
||||
* 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;
|
||||
|
Loading…
Reference in New Issue
Block a user