Displaying 3 results from an estimated 3 matches for "f11477b".
Did you mean:
511477
2016 Feb 25
2
[PATCH] perl: Don't embed API number in Sys::Guestfs.
It means you have to rerun `make -C perl clean ; make' every time you
add an API, and is useless anyway.
---
generator/perl.ml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/generator/perl.ml b/generator/perl.ml
index 5250ce1..f11477b 100644
--- a/generator/perl.ml
+++ b/generator/perl.ml
@@ -722,16 +722,17 @@ package Sys::Guestfs;
use strict;
use warnings;
-# This version number changes whenever a new function
-# is added to the libguestfs API. It is not directly
-# related to the libguestfs version number.
+# This is alwa...
2016 Feb 26
0
Re: [PATCH] perl: Don't embed API number in Sys::Guestfs.
...It means you have to rerun `make -C perl clean ; make' every time you
> add an API, and is useless anyway.
> ---
> generator/perl.ml | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/generator/perl.ml b/generator/perl.ml
> index 5250ce1..f11477b 100644
> --- a/generator/perl.ml
> +++ b/generator/perl.ml
> @@ -722,16 +722,17 @@ package Sys::Guestfs;
> use strict;
> use warnings;
>
> -# This version number changes whenever a new function
> -# is added to the libguestfs API. It is not directly
> -# related to t...
2016 Feb 26
1
[PATCH] doc: add info on per-function needed feature
...e;
+ pr "\n\n This function depends on the feature \"%s\". See also {!feature_available}."
+ opt
+ );
(match f.deprecated_by with
| None -> ()
| Some replacement ->
diff --git a/generator/perl.ml b/generator/perl.ml
index f11477b..19cabb6 100644
--- a/generator/perl.ml
+++ b/generator/perl.ml
@@ -895,6 +895,12 @@ errnos:
pr "%s\n\n" longdesc;
if f.protocol_limit_warning then
pr "%s\n\n" protocol_limit_warning;
+ (match f.optional with
+ | None -> ()
+ | Some opt -...