     1			/*
     2			 * This file was generated automatically by ExtUtils::ParseXS version 2.10 from the
     3			 * contents of CN.xs. Do not edit this file, edit CN.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 "gb_02_t.h"
    15			#include "eu_01_t.h"
    16			#include "cp_00_t.h"
    17			#include "ir_04_t.h"
    18			#include "ma_05_t.h"
    19			#include "gb_03_t.h"
    20			
    21			static void
    22			Encode_XSEncoding(pTHX_ encode_t *enc)
    23	          30    {
    24	          30     dSP;
    25	          30     HV *stash = gv_stashpv("Encode::XS", TRUE);
    26	          30     SV *sv    = sv_bless(newRV_noinc(newSViv(PTR2IV(enc))),stash);
    27	          30     int i = 0;
    28	          30     PUSHMARK(sp);
    29	          30     XPUSHs(sv);
    30	          60     while (enc->name[i])
    31			  {
    32	          30       const char *name = enc->name[i++];
    33	          30       XPUSHs(sv_2mortal(newSVpvn(name,strlen(name))));
    34			  }
    35	          30     PUTBACK;
    36	          30     call_pv("Encode::define_encoding",G_DISCARD);
    37	          30     SvREFCNT_dec(sv);
    38			}
    39			
    40			#ifndef PERL_UNUSED_VAR
    41			#  define PERL_UNUSED_VAR(var) if (0) var = var
    42			#endif
    43			
    44			#ifdef __cplusplus
    45			extern "C"
    46			#endif
    47			XS(boot_Encode__CN); /* prototype to pass -Wmissing-prototypes */
    48			XS(boot_Encode__CN)
    49	           5    {
    50	           5        dXSARGS;
    51			
    52	           5        PERL_UNUSED_VAR(cv); /* -W */
    53	           5        PERL_UNUSED_VAR(items); /* -W */
    54	           5        XS_VERSION_BOOTCHECK ;
    55			
    56			
    57			    /* Initialisation Section */
    58			
    59			{
    60			#include "gb_02_t.exh"
    61			#include "eu_01_t.exh"
    62			#include "cp_00_t.exh"
    63			#include "ir_04_t.exh"
    64			#include "ma_05_t.exh"
    65			#include "gb_03_t.exh"
    66			}
    67			
    68			
    69			    /* End of Initialisation Section */
    70			
    71	           5        XSRETURN_YES;
    72			}
    73			
