     1			/*
     2			 * This file was generated automatically by ExtUtils::ParseXS version 2.10 from the
     3			 * contents of Byte.xs. Do not edit this file, edit Byte.xs instead.
     4			 *
     5			 *	ANY CHANGES MADE HERE WILL BE LOST! 
     6			 *
     7			 */
     8			
     9			#include <EXTERN.h>
    10			#include <perl.h>
    11			#include <XSUB.h>
    12			#define U8 U8
    13			#include "encode.h"
    14			#include "byte_t.h"
    15			
    16			static void
    17			Encode_XSEncoding(pTHX_ encode_t *enc)
    18	         520    {
    19	         520     dSP;
    20	         520     HV *stash = gv_stashpv("Encode::XS", TRUE);
    21	         520     SV *sv    = sv_bless(newRV_noinc(newSViv(PTR2IV(enc))),stash);
    22	         520     int i = 0;
    23	         520     PUSHMARK(sp);
    24	         520     XPUSHs(sv);
    25	        1040     while (enc->name[i])
    26			  {
    27	         520       const char *name = enc->name[i++];
    28	         520       XPUSHs(sv_2mortal(newSVpvn(name,strlen(name))));
    29			  }
    30	         520     PUTBACK;
    31	         520     call_pv("Encode::define_encoding",G_DISCARD);
    32	         520     SvREFCNT_dec(sv);
    33			}
    34			
    35			#ifndef PERL_UNUSED_VAR
    36			#  define PERL_UNUSED_VAR(var) if (0) var = var
    37			#endif
    38			
    39			#ifdef __cplusplus
    40			extern "C"
    41			#endif
    42			XS(boot_Encode__Byte); /* prototype to pass -Wmissing-prototypes */
    43			XS(boot_Encode__Byte)
    44	           8    {
    45	           8        dXSARGS;
    46			
    47	           8        PERL_UNUSED_VAR(cv); /* -W */
    48	           8        PERL_UNUSED_VAR(items); /* -W */
    49	           8        XS_VERSION_BOOTCHECK ;
    50			
    51			
    52			    /* Initialisation Section */
    53			
    54			{
    55			#include "byte_t.exh"
    56			}
    57			
    58			
    59			    /* End of Initialisation Section */
    60			
    61	           8        XSRETURN_YES;
    62			}
    63			
