summaryrefslogtreecommitdiffstats
path: root/python/guestfs-py.h
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-26 11:13:39 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-08-05 22:48:53 +0100
commitecf394acbebe7fa770902ae4220946f5fbd0c3e2 (patch)
tree7188b606f553452078796a64ae034f1443b9aec9 /python/guestfs-py.h
parent7a31280ea3978bf8d7f05fe58c6e96cb4431f9df (diff)
downloadlibguestfs-ecf394acbebe7fa770902ae4220946f5fbd0c3e2.tar.gz
libguestfs-ecf394acbebe7fa770902ae4220946f5fbd0c3e2.tar.xz
libguestfs-ecf394acbebe7fa770902ae4220946f5fbd0c3e2.zip
ruby: Allow optional arguments hash to be really optional.
Allow optargs functions to be called as either: g.mkfs_opts(fs, device) or: g.mkfs_opts(fs, device, { optargs hash }) This also preserves backwards compatibility with once_has_no_optargs functions such as mkfs. (cherry picked from commit 0f837ec068783a6318ba6f7490b567566bce2aa4)
Diffstat (limited to 'python/guestfs-py.h')
0 files changed, 0 insertions, 0 deletions