/* * This file was generated automatically by ExtUtils::ParseXS version 2.18_02 from the * contents of try_pl_73cf.xs. Do not edit this file, edit try_pl_73cf.xs instead. * * ANY CHANGES MADE HERE WILL BE LOST! * */ #line 1 "try_pl_73cf.xs" #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include "INLINE.h" void foo() { printf("%x\n", GIMME_V); printf("%x\n", G_ARRAY); printf("%d\n", GIMME_V == G_ARRAY); } #ifndef PERL_UNUSED_VAR # define PERL_UNUSED_VAR(var) if (0) var = var #endif #line 28 "try_pl_73cf.c" XS(XS_main_foo); /* prototype to pass -Wmissing-prototypes */ XS(XS_main_foo) { #ifdef dVAR dVAR; dXSARGS; #else dXSARGS; #endif if (items != 0) Perl_croak(aTHX_ "Usage: %s(%s)", "main::foo", ""); PERL_UNUSED_VAR(cv); /* -W */ PERL_UNUSED_VAR(ax); /* -Wall */ SP -= items; { #line 22 "try_pl_73cf.xs" I32* temp; #line 46 "try_pl_73cf.c" #line 24 "try_pl_73cf.xs" temp = PL_markstack_ptr++; foo(); if (PL_markstack_ptr != temp) { /* truly void, because dXSARGS not invoked */ PL_markstack_ptr = temp; XSRETURN_EMPTY; /* return empty stack */ } /* must have used dXSARGS; list context implied */ return; /* assume stack size is correct */ #line 57 "try_pl_73cf.c" PUTBACK; return; } } #ifdef __cplusplus extern "C" #endif XS(boot_try_pl_73cf); /* prototype to pass -Wmissing-prototypes */ XS(boot_try_pl_73cf) { #ifdef dVAR dVAR; dXSARGS; #else dXSARGS; #endif char* file = __FILE__; PERL_UNUSED_VAR(cv); /* -W */ PERL_UNUSED_VAR(items); /* -W */ XS_VERSION_BOOTCHECK ; newXS("main::foo", XS_main_foo, file); if (PL_unitcheckav) call_list(PL_scopestack_ix, PL_unitcheckav); XSRETURN_YES; }