X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_api_versions.mli;h=0932a6714ff4ea4a15124c1ea635700f06454b30;hp=03e8777f919a174815b9542a52364577e5d96d99;hb=5a10318ac808fb3cb0bf9071e0cf6b63a0b3eb6a;hpb=7e3d76e41b3c2862ae04744b01e5e23b245393e4 diff --git a/generator/generator_api_versions.mli b/generator/generator_api_versions.mli index 03e8777..0932a67 100644 --- a/generator/generator_api_versions.mli +++ b/generator/generator_api_versions.mli @@ -25,7 +25,8 @@ val load_api_versions : string -> unit (** Load the data from the named file. *) -val lookup_api_version : string -> string +val lookup_api_version : string -> string option (** [lookup_api_version c_api] looks up the version that the C API call (which must be the full C name, eg. ["guestfs_launch"]) was - added. This returns the version string, eg. ["0.3"]. *) + added. This returns the version string, eg. [Some "0.3"], or + [None] if no version could be found. *)