search for: pr_type

Displaying 6 results from an estimated 6 matches for "pr_type".

Did you mean: p_type
2017 May 04
1
[PATCH] perl: drop %guestfs_introspection stuff
..._ -> pr "'hash'" - | RStruct (_, typ) -> pr "'struct %s'" typ - | RStructList (_, typ) -> pr "'struct %s list'" typ - | RBufferOut _ -> pr "'buffer'" - ); - pr ",\n"; - let pr_type i = function - | String (PlainString, n) -> pr "[ '%s', 'string', %d ]" n i - | String (Device, n) -> pr "[ '%s', 'string(device)', %d ]" n i - | String (Mountable, n) -> pr "[ '%s', 'string(mountable...
2012 Jan 09
1
[PATCH 1/2] generator: Rename java_structs to camel_structs to better reflect their purpose
This map was originally included just for the java bindings, but is generally useful to any binding which uses camel case by requirement or convention. --- generator/generator_haskell.ml | 4 ++-- generator/generator_java.ml | 10 +++++----- generator/generator_main.ml | 2 +- generator/generator_structs.ml | 12 +++++------- generator/generator_structs.mli | 8 ++++---- 5
2013 Jan 24
3
[REVIEW ONLY] Mountable patches
These 3 patches implement support for APIs which must accept a mountable, but don't update apis which must return mountables. Matt
2013 Feb 07
12
[PATCH 01/12] generator: Add new Mountable argument type
...ble _ | Dev_or_Path _ | String _ + | OptString _ | Bool _ | Int _ | Int64 _ | FileIn _ | FileOut _ | BufferIn _ | Key _ | Pointer _ -> () | StringList n | DeviceList n -> pr " free (%s);\n" n @@ -920,6 +920,7 @@ handlers and threads. let pr_type i = function | Pathname n -> pr "[ '%s', 'string(path)', %d ]" n i | Device n -> pr "[ '%s', 'string(device)', %d ]" n i + | Mountable n -> pr "[ '%s', 'string(mountable)', %d ]" n i...
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
..._ | Int _ | Int64 _ + | BufferIn _ + | Pointer _ -> () + | StringList (_, n) -> pr " free (%s);\n" n ) args; @@ -953,25 +950,29 @@ C<$g-E<gt>feature-available>.\n\n" opt ); pr ",\n"; let pr_type i = function - | Pathname n -> pr "[ '%s', 'string(path)', %d ]" n i - | Device n -> pr "[ '%s', 'string(device)', %d ]" n i - | Mountable n -> pr "[ '%s', 'string(mountable)', %d ]" n i -...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.