]> Git Repo - qemu.git/blobdiff - include/io/task.h
sockets: Use new QAPI cloning
[qemu.git] / include / io / task.h
index 2e69d8a47f2d1bcd40b2d71863af7135788c749d..df9499aa3a83b89a659d5ba3162b3884466d04b9 100644 (file)
@@ -159,7 +159,7 @@ typedef int (*QIOTaskWorker)(QIOTask *task,
  *      QIOTask *task;
  *      SocketAddress *addrCopy;
  *
- *      qapi_copy_SocketAddress(&addrCopy, addr);
+ *      addrCopy = QAPI_CLONE(SocketAddress, addr);
  *      task = qio_task_new(OBJECT(obj), func, opaque, notify);
  *
  *      qio_task_run_in_thread(task, myobject_listen_worker,
@@ -219,7 +219,7 @@ void qio_task_run_in_thread(QIOTask *task,
  * qio_task_complete:
  * @task: the task struct
  *
- * Mark the operation as succesfully completed
+ * Mark the operation as successfully completed
  * and free the memory for @task.
  */
 void qio_task_complete(QIOTask *task);
This page took 0.024102 seconds and 4 git commands to generate.