search for: optargs_t_

Displaying 4 results from an estimated 4 matches for "optargs_t_".

Did you mean: optargs_s
2016 Apr 11
1
[PATCH] RFC: php: support PHP 7
...- pr " int %s_size;\n" n + pr " guestfs_string_length %s_size;\n" n | StringList n | DeviceList n | FilenameList n -> @@ -270,7 +317,7 @@ PHP_FUNCTION (guestfs_last_error) | OInt n | OInt64 n -> pr " long optargs_t_%s = -1;\n" n | OString n -> pr " char *optargs_t_%s = NULL;\n" n; - pr " int optargs_t_%s_size = -1;\n" n + pr " guestfs_string_length optargs_t_%s_size = -1;\n" n | OStringList n ->...
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
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880 https://bugzilla.redhat.com/show_bug.cgi?id=847881 This patch series adds various optional arguments to the tar-in and tar-out commands. Firstly (1/7) an optional "compress" flag is added to select compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out deprecated, and expands the range of compression types available.
2015 Feb 10
4
[PATCH 1/4] php: fix invalid memory access with OptString
OptString maps to a "s!" argument, which makes zend_parse_parameters not touch the variables (char* and length) when NULL is passed as parameter. Hence, set both to NULL/0, and check for non-NULL char* variable before checking its length. --- generator/php.ml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/generator/php.ml b/generator/php.ml index