X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2FPSPP.xs;h=b468cc7467325a322378ad5970d19eb2b8a12b21;hb=49ce384421d791119e04cbdb6bd4ae4ec30740f4;hp=254b668c0ae6bf7de323d29b9c98a88932fffa08;hpb=7da2b01528493bd9f84a706e71fafb9ae8797ab7;p=pspp-builds.git diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index 254b668c..b468cc74 100644 --- a/perl-module/PSPP.xs +++ b/perl-module/PSPP.xs @@ -148,14 +148,17 @@ make_value_from_scalar (SV *val, const struct variable *var) MODULE = PSPP -BOOT: +MODULE = PSPP PACKAGE = PSPP + +void +onBoot (ver) + const char *ver +CODE: + assert (0 == strcmp (ver, bare_version)); msg_init (NULL, message_handler); settings_init (0, 0); fh_init (); - -MODULE = PSPP PACKAGE = PSPP - SV * format_value (val, var) SV *val @@ -634,4 +637,3 @@ CODE: OUTPUT: RETVAL -