summaryrefslogtreecommitdiffstats
path: root/generator/types.ml
Commit message (Collapse)AuthorAgeFilesLines
* generator: Add 'blocking' flag to marking blocking (long-running) functions.Richard W.M. Jones2012-10-151-0/+6
| | | | | | | | | | | | | In languages like Python where we release a global lock around long-running libguestfs functions, it is also useful to *not* release this lock for small, non-blocking functions. Therefore mark all functions with a 'blocking' boolean flag. It defaults to true, and is true by definition for all daemon functions. For non-daemon functions, I have classified them manually. Only when the blocking flag is set do we generate the code to release and reacquire the lock around libguestfs calls.
* syntax: Remove trailing whitespace.Richard W.M. Jones2012-09-151-3/+3
| | | | Found by 'make syntax-check'.
* generator: Remove inaccurate comment.Richard W.M. Jones2012-09-151-20/+0
| | | | | The correct way to extend functions is documented in generator/README. This comment was no longer accurate.
* generator: Rename 'generator_*' as '*'.Richard W.M. Jones2012-09-021-0/+456
This is a simple renaming of the files/modules. Note that in OCaml, module names are derived from filenames by capitalizing the first letter. Thus the old module names had the form "Generator_api_versions". The new modules names have the form "Api_versions".