search for: mkargs

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

Did you mean: mbargs
2012 Jan 20
11
[PATCH 01/10] Revert "Revert "generator: Add CamelName flag""
This reverts commit 3f6ca541c7b24d4c86688a509582cb41a7e0078c. The original commit was reverted prematurely. --- generator/generator_actions.ml | 10 +++++----- generator/generator_checks.ml | 5 +++++ generator/generator_types.ml | 3 +++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index
2015 Feb 10
1
[PATCH] php: add a simple bindtests test
...arguments, and fix the + * baseline output to expect always "unset" optional arguments. + *) + + pr "--TEST--\n"; + pr "General PHP binding test.\n"; + pr "--FILE--\n"; + pr "<?php\n"; + pr "$g = guestfs_create ();\n"; + + let mkargs args = + String.concat ", " ( + List.map ( + function + | CallString s -> "\"" ^ s ^ "\"" + | CallOptString None -> "NULL" + | CallOptString (Some s) -> sprintf "\"%s\"" s + | C...
2004 Jan 05
1
slow and max connection errors
Sorry about not being specific enough. I will try and be more so in the future. Here is what I have currently: Apple X-serve running Yellowdog (a Redhat 9 port for ppc) with 1GB of RAM, 3 60GB HD not setup as RAID. They are individual partitions (/var and /, /home and /shared). The shared partition is strictly for Samba file sharing. I build in a matching user in both the system and in
2016 May 04
9
[PATCH 0/8] python: PEP 8 fixes
Hi, this series cleans up the Python sources, either static or generated, including also tests, to make them PEP 8 compliant; see https://www.python.org/dev/peps/pep-0008/ and tools like pep8. Almost all the issues reported by pep8 are fixed, reducing the issues from 3818 to 7. The changes should have no effect on the actual code, while it will help Python users with consistency with other
2013 Dec 27
0
[PATCH] ruby: Fix .new method (RHBZ#1046509).
...enerator/bindtests.ml b/generator/bindtests.ml index 306dc83..ef57fb4 100644 --- a/generator/bindtests.ml +++ b/generator/bindtests.ml @@ -451,7 +451,7 @@ and generate_ruby_bindtests () = pr "\ require 'guestfs' -g = Guestfs::create() +g = Guestfs::Guestfs.new() "; let mkargs args optargs = diff --git a/generator/ruby.ml b/generator/ruby.ml index d6ca430..b8ec655 100644 --- a/generator/ruby.ml +++ b/generator/ruby.ml @@ -42,6 +42,7 @@ let rec generate_ruby_c () = #include <stdint.h> #include <string.h> #include <errno.h> +#include <assert.h>...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...| RString _ | RStringList _ | RStruct _ + | RStructList _ + | RHashtable _ + | RBufferOut _ -> + pr " return NULL;\n" + ); + pr "}\n"; + pr "\n" ) ) tests @@ -8845,15 +8845,15 @@ let () = let mkargs args = String.concat " " ( List.map ( - function - | CallString s -> "\"" ^ s ^ "\"" - | CallOptString None -> "None" - | CallOptString (Some s) -> sprintf "(Some \"%s\")" s - | CallStringList xs -> -...