mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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.
This commit is contained in:
@@ -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 always 1.0, never changes, and is unrelated to the
|
||||
# real libguestfs version. If you want to find the libguestfs
|
||||
# library version, use $g->version. If you want to test if
|
||||
# APIs/parameters are present, use %%guestfs_introspection.
|
||||
use vars qw($VERSION);
|
||||
$VERSION = '0.%d';
|
||||
$VERSION = '1.0';
|
||||
|
||||
require XSLoader;
|
||||
XSLoader::load ('Sys::Guestfs');
|
||||
|
||||
" max_proc_nr;
|
||||
";
|
||||
|
||||
(* Methods. *)
|
||||
pr "\
|
||||
|
||||
Reference in New Issue
Block a user