mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-12-09 12:23:48 +03:00
maint: typo fixes
I noticed a couple typos in recent commits, and fixed the remaining instances of them. * docs/internals/command.html.in: Fix spelling errors. * include/libvirt/libvirt.h.in (virConnectDomainEventCallback): Likewise. * python/libvirt-override.py (virEventAddHandle): Likewise. * src/lxc/lxc_container.c (lxcContainerChild): Likewise. * src/util/hash.c (virHashCreateFull): Likewise. * src/storage/storage_backend_logical.c (virStorageBackendLogicalMakeVol): Likewise. * src/esx/esx_driver.c (esxFormatVMXFileName): Likewise. * src/vbox/vbox_tmpl.c (vboxIIDIsEqual_v3_x): Likewise.
This commit is contained in:
@@ -179,8 +179,8 @@ def virEventAddHandle(fd, events, cb, opaque):
|
|||||||
|
|
||||||
Example callback prototype is:
|
Example callback prototype is:
|
||||||
def cb(watch, # int id of the handle
|
def cb(watch, # int id of the handle
|
||||||
fd, # int file descriptor the event occured on
|
fd, # int file descriptor the event occurred on
|
||||||
events, # int bitmap of events that have occured
|
events, # int bitmap of events that have occurred
|
||||||
opaque): # opaque data passed to eventAddHandle
|
opaque): # opaque data passed to eventAddHandle
|
||||||
"""
|
"""
|
||||||
cbData = {"cb" : cb, "opaque" : opaque}
|
cbData = {"cb" : cb, "opaque" : opaque}
|
||||||
|
|||||||
Reference in New Issue
Block a user