[Libguestfs] [PATCH] v2v: Use unitless methods for methods which don't change the internal state.

Richard W.M. Jones rjones at redhat.com
Fri Aug 26 13:24:25 UTC 2016


On Fri, Aug 26, 2016 at 02:08:37PM +0100, Richard W.M. Jones wrote:
> In lablgtk2 the convention is to use unitless methods if either: the
> method shouldn't be used as a callback; or: (conceptually) the method
> doesn't change the object's internal state.  Let's do that here.

I finally found the reference for that:

http://lablgtk.forge.ocamlcore.org/README.html

"Note about unit as method argument"

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list