search for: generate_perl_pm

Displaying 10 results from an estimated 10 matches for "generate_perl_pm".

2016 Dec 12
2
[PATCH] java: fix memory leak in RStruct actions
The return value struct was freed using a simple free() instead of the own cleanup function of each struct: this meant dynamically allocated values (such as strings) were leaked. Use the proper cleanup functions instead. --- generator/java.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/java.ml b/generator/java.ml index a68054c..3c1e611 100644 ---
2016 Dec 12
0
[PATCH] perl: fix memory leak in RStruct actions
...657,7 +657,7 @@ and generate_perl_struct_code typ cols name style n = pr " PUSHs (sv_2mortal (newSVnv (r->%s)));\n" name ) cols; - pr " free (r);\n" + pr " guestfs_free_%s (r);\n" typ (* Generate Sys/Guestfs.pm. *) and generate_perl_pm () = -- 2.7.4
2017 Mar 31
0
[PATCH 1/3] perl: Add =encoding to Sys::Guestfs man page.
................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests --- generator/perl.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator/perl.ml b/generator/perl.ml index 3a87f1634..d1b4763b8 100644 --- a/generator/perl.ml +++ b/generator/perl.ml @@ -664,6 +664,8 @@ and generate_perl_pm () = generate_header HashStyle LGPLv2plus; pr "\ +=encoding utf8 + =pod =head1 NAME -- 2.12.0
2015 Aug 24
3
[PATCH 1/3] ocaml: dynamically generate the content of Guestfs.Errno
...ml/guestfs-c-actions.c" generate_ocaml_c; + output_to "ocaml/guestfs-c-errnos.c" generate_ocaml_c_errnos; output_to "ocaml/bindtests.ml" generate_ocaml_bindtests; output_to "perl/Guestfs.xs" generate_perl_xs; output_to "perl/lib/Sys/Guestfs.pm" generate_perl_pm; diff --git a/generator/ocaml.ml b/generator/ocaml.ml index 05c7456..7742209 100644 --- a/generator/ocaml.ml +++ b/generator/ocaml.ml @@ -30,6 +30,14 @@ open Structs open C open Events +(* List of errnos to expose on Guestfs.Errno. *) +let ocaml_errnos = [ + "EINVAL"; + "ENOTSU...
2015 Oct 23
1
[PATCH v2] perl: Switch to using Module::Build.
version 2: - Fixed handling of clean & distclean. - Use 'all-local' instead of 'all'. - Don't use abs_* paths in Build.PL.in. Rich.
2015 Oct 23
1
[PATCH] perl: Switch to using Module::Build.
Switch from 'ExtUtils::MakeMaker' to 'Module::Build'. There's not really a huge difference here. The interfacing gymnastics that we have to do to make Makefile.am and Module::Build talk to each other is probably a little bit simpler. I compared the output of 'make install' before and after, and there's not much difference. 'perllocal.pod' is not
2015 Oct 23
1
[PATCH v3] perl: Switch to using Module::Build.
version 3: - Split requires into configure_requires/etc. - Use lists for extra_compiler_flags, extra_linker_flags. - Suppress .packlist file. - Set the release_status field. Rich.
2016 Feb 23
0
[PATCH 1/4] generator: Add interfaces to all modules.
...R PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + *) + +val generate_perl_pm : unit -> unit +val generate_perl_xs : unit -> unit diff --git a/generator/php.mli b/generator/php.mli new file mode 100644 index 0000000..63663cd --- /dev/null +++ b/generator/php.mli @@ -0,0 +1,20 @@ +(* libguestfs + * Copyright (C) 2009-2016 Red Hat Inc. + * + * This program is free softwa...
2016 Feb 23
7
[PATCH 0/4] Various tweaks to the generator.
Use interfaces files (*.mli files) instead of exporting all symbols randomly. Change the 'file is generated' warnings at the top of generated files so they accurately describe which source file generates each output file. Rich.
2017 Mar 31
6
[PATCH 0/3] Fix some quoting issues.
Fix some quoting issues by introducing Unicode quotes. Note this intentionally only affects end-user messages and documentation. Rich.