/*
 * This file was generated automatically by xsubpp version 1.9508 from the
 * contents of Wurst.xs. Do not edit this file, edit Wurst.xs instead.
 *
 *	ANY CHANGES MADE HERE WILL BE LOST!
 *
 */

#line 1 "Wurst.xs"
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

#include "ppport.h"


#line 18 "Wurst.c"
XS(XS_Wurst_challo); /* prototype to pass -Wmissing-prototypes */
XS(XS_Wurst_challo)
{
    dXSARGS;
    if (items != 0)
	Perl_croak(aTHX_ "Usage: Wurst::challo()");
    {
#line 16 "Wurst.xs"
               printf("Challo World!\n");
#line 28 "Wurst.c"
    }
    XSRETURN_EMPTY;
}

XS(XS_Wurst_addor); /* prototype to pass -Wmissing-prototypes */
XS(XS_Wurst_addor)
{
    dXSARGS;
    if (items != 2)
	Perl_croak(aTHX_ "Usage: Wurst::addor(eins, zwei)");
    {
	int	eins = (int)SvIV(ST(0));
	int	zwei = (int)SvIV(ST(1));
	int	RETVAL;
	dXSTARG;
#line 23 "Wurst.xs"
      RETVAL = ( eins + zwei );
#line 46 "Wurst.c"
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#ifdef __cplusplus
extern "C"
#endif
XS(boot_Wurst); /* prototype to pass -Wmissing-prototypes */
XS(boot_Wurst)
{
    dXSARGS;
    char* file = __FILE__;

    XS_VERSION_BOOTCHECK ;

        newXSproto("Wurst::challo", XS_Wurst_challo, file, "");
        newXSproto("Wurst::addor", XS_Wurst_addor, file, "$$");
    XSRETURN_YES;
}

