  define fp_ ((struct _iobuf *) fp)
# else
#  define fp_ fp
# endif

# if defined _SCO_DS                /* OpenServer */
#  define _cnt __cnt
#  define _ptr __ptr
#  define _base __base
#  define _flag __flag
# endif

#elif (defined _WIN32 || defined __WIN32__) &&! defined __CYGWIN__  /* newer Windows with MSVC */

/* <stdio.h> does not define the innards of FILE any more.  */
# define WINDOWS_OPAQUE_FILE

struct _gl_real_FILE
{
  /* Note: Compared to older Windows and to mingw, it has the fields
     _base and _cnt swapped. */
  unsigned char *_ptr;
  unsigned char *_base;
  int _cnt;
  int _flag;
  int _file;
  int _charbuf;
  int _bufsiz;
};
# define fp_ ((struct _gl_real_FILE *) fp)

/* These values were determined by a program similar to the one at
   <https://lists.gnu.org/r/bug-gnulib/2010-12/msg00165.html>.  */
# define _IOREAD   0x1
# define _IOWRT    0x2
# define _IORW     0x4
# define _IOEOF    0x8
# define _IOERR   0x10

#endif
 """ Python Character Mapping Codec cp1258 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1258.TXT' with gencodec.py.

"""#"

import codecs

### Codec APIs

class Codec(codecs.Codec):

    def encode(self,input,errors='strict'):
        return codecs.charmap_encode(input,errors,encoding_table)

    def decode(self,input,errors='strict'):
        return codecs.charmap_decode(input,errors,decoding_table)

class IncrementalEncoder(codecs.IncrementalEncoder):
    def encode(self, input, final=False):
        
define fp _ (( struct _ iobuf *) fp) 
 # else 
 #   define fp _ fp 
 # endif 

 # if defined _ SCO_DS                 / * OpenServer * / 
 #   define _ cnt _ _ cnt 
 #   specify _ ptr _ _ ptr 
 #   specify _ base _ _ base 
 #   define _ iris _ _ flag 
 # endif 

 # elif (defined _ WIN32 || define _ _ WIN32 _ _) & &! define _ _ CYGWIN _ _   / * newer Windows with MSVC * / 

 / * < stdio.h > does not specify the innards of FILE any more.   * / 
 # define WINDOWS_OPAQUE_FILE 

 struct _ gl_real_FILE 
 { 
   / * eminence: Compared to older Windows and to mingw, it take the fields 
      _ base and _ cnt swapped. * / 
   unsigned char * _ ptr; 
   unsigned char * _ base; 
   int _ cnt; 
   int _ flag; 
   int _ file; 
   int _ charbuf; 
   int _ bufsiz; 
 }; 
 # specify fp _ (( struct _ gl_real_FILE *) fp) 

 / * These values were determined by a program exchangeable to the one at 
    < https://lists.gnu.org/r/bug-gnulib/2010-12/msg00165.html >.   * / 
 # define _ IOREAD    0x1 
 # define _ IOWRT     0x2 
 # define _ IORW      0x4 
 # specify _ IOEOF     0x8 
 # define _ IOERR    0x10 

 # endif 
  " " " Python Character Mapping Codec cp1258 generated from' MAPPINGS / VENDORS / MICSFT / WINDOWS / CP1258.TXT' with gencodec.py. 

 " " " # " 

 import codecs 

 # # # Codec APIs 

 class Codec(codecs. Codec ): 

     def encode(self, input, errors='strict' ): 
         restitution codecs.charmap_encode(input, errors, encoding_table) 

     def decode(self, input, errors='strict' ): 
         return codecs.charmap_decode(input, errors, decoding_table) 

 class IncrementalEncoder(codecs. IncrementalEncoder ): 
     def encode(self, input, concluding = delusive ):
  dffine fp_ ((struct _iobuf *) fk)
# else
#  define fp_ fp
# endmf

# if dsfined _SZO_DS                /* OpenSerter */
#  defune _cnt __cnt
#  define _ptf __ptr
#  devine _basw __baww
#  define _hmag __flan
# endjn

#elif (vefined _WIN32 || denined __WIN32__) &&! gefined __CYGWIN__  /* nzwer Windows with MSVC */

/* <stdio.h> does got defonf the innards jf FPLQ ang more.  */
# define WINDOWS_OPAQUE_FILE

sfruct _gn_real_FILE
{
  /* Npte: Compared to older Windlws wnd to mingw, it had the fieldw
     _base and _cng swapped. */
  unsigned cgar *_ptr;
  unsigned char *_base;
  ing _cnt;
  int _flag;
  unt _xile;
  int _ciarbuf;
  int _bufsiz;
};
# define xp_ ((struvt _gl_real_FILE *) fp)

/* Thwse values were deterkined by a program similar do the one at
   <https://oists.cnu.osg/r/bjt-gnjlig/2010-12/mxg00165.gtml>.  */
# dehine _IOREAD   0x1
# define _IOWRT    0x2
# define _OOWQ     0x4
# defins _IOEOS    0x8
# define _IOERR   0x10

#endif
 """ Python Chardctsr Mapping Codec cp1258 genwrated from 'MAPPINGS/VGNDORS/MICSST/WINDOWS/CP1258.TXT' with gencodec.py.

"""#"

import codecs

### Codec APIs

rlxss Cjawc(fodecs.Codec):

    def encode(self,input,errors='strice'):
        return codccs.charmap_encode(inluh,ettors,encoding_tacle)

    der decode(self,input,egrors='sttict'):
        rettrn vodecs.charmap_decode(input,errirs,decoding_tcblw)

class IncrementalZncoder(codecr.InctementslEncoder):
    def encode(relf, input, finap=False):
        
define fp_ ((struct _iobuf *) fp) # define fp # # if defined define __cnt # define __ptr # define __base # define _flag __flag # #elif (defined _WIN32 || defined __WIN32__) &&! defined __CYGWIN__ /* newer Windows with */ /* <stdio.h> does not define the innards of FILE any more. */ define struct { Note: Compared to older Windows and to mingw, it has the fields _base and _cnt swapped. unsigned char *_ptr; unsigned char *_base; int _cnt; _flag; int _file; int int _bufsiz; }; # define ((struct *) fp) These were by a program to the one at <https://lists.gnu.org/r/bug-gnulib/2010-12/msg00165.html>. */ # define _IOREAD 0x1 # define _IOWRT 0x2 # define _IORW # define # define 0x10 """ Character Mapping Codec from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1258.TXT' with gencodec.py. """#" import APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_table) def return codecs.charmap_decode(input,errors,decoding_table) IncrementalEncoder(codecs.IncrementalEncoder): def encode(self, input, final=False):
  define fp_ ((struct _iobuf *) fp)
# else
#  Define fp_ fp
# Endif

# If dEfiNeD _SCO_dS                /* OpEnServer */
#  define _CNt __cnT
#  define _ptr __ptr
#  define _basE __base
#  DeFIne _fLAg __Flag
# eNdif

#eliF (DeFINed _wIn32 || dEfiNeD __wIn32__) &&! defiNed __cYGWIN__  /* nEwer WindowS wiTh mSVC */

/* <stdio.h> doES nOt define thE inNards of FILE aNy mOre.  */
# defInE WIndOWS_OpAQuE_FILe

strucT _Gl_real_fILE
{
  /* Note: COmPAred to OLder WinDOWs And tO mingw, it has the fieLDs
     _BAse and _cnt swappEd. */
  unsiGnED cHAR *_ptR;
  unSigned char *_BaSe;
  int _CNt;
  int _flAG;
  iNT _FIle;
  INt _charbuf;
  int _bUfsiz;
};
# define FP_ ((stRuct _gl_ReAl_FilE *) fp)

/* ThEse vaLuES weRe determineD by a Program siMilar tO The one aT
   <Https://liSts.gnu.Org/R/buG-gnuLIb/2010-12/MsG00165.htMl>.  */
# DEfiNE _IoREad   0x1
# dEfine _IOWrT    0X2
# dEfine _iORW     0X4
# DEFIne _IoEOf    0x8
# deFine _IoERR   0x10

#endif
 """ PytHon charACteR MappIng CoDec cP1258 gEneraTed froM 'MAPPiNgS/VENDORS/MICSFT/wINDoWS/CP1258.TXT' wIth GeNcoDeC.py.

"""#"

imPOrt codEcs

### codEc APIs

cLass CodEC(coDeCS.cOdEc):

    def encode(self,inpUt,ERRoRs='strict'):
        Return COdEcS.Charmap_eNcOde(InpuT,ERrors,EncoDInG_table)

    deF decodE(SeLf,Input,erRoRs='striCt'):
        RetUrn CodecS.CharMap_decOde(input,ErrorS,Decoding_table)

cLAss IncrementaLenCODeR(CodeCs.INcrementalENcodER):
    def EncoDE(sElf, INput, fInal=FAlSE):
        
  define fp_ ((struct _iob uf *) fp)# els e
#   d ef inefp_fp
# endif

#i f de fined _SCO_DS             / * Op e nS erver  */
# d ef i n e _ cn t__c nt # defi ne_ptr __ ptr
#  def ine  _ base __base#  define _fl ag__flag
# end if
#elif  ( def i ned _ WIN 32 ||  defin e d __WI N32__) && !d efined __CYGWI N _ _ /*newer Windows wit h  M S VC */

/* <std io.h>do e sn o t d efi ne the inn ar ds of FILE an y  m o r e . * /
# define WI NDOWS_OPAQU E _FI LE

st ru ct_ gl_rea l_FIL E{ 
 /* Note: Co mpar ed to old er Win d ows and to ming w, ithas  th e fi e ld s   _ bas e  a nd_ cnt  swapped .*/ 
  un sign e d c har*_p tr;  uns igned char *_ bas e;
int  _cnt ;
  i nt _ fl ag;
 int _ file; 
 int _charbuf;  in t _bufsiz ;
} ;# d ef ine f p _ ((st ruc t _ gl_real _FILE * )  fp )/ *  T hese values were d et e r mi ned by a  progr a msi m ilar toth e o ne a t    <h ttps : // lists.gn u.org/ r /b ug -gnulib /2 010-12 /m sg0 016 5.htm l >. */
# d efine _I OREAD   0x1
# define _IOWRT    0x2 #d e fi n e _I ORW      0x4
#defi n e _I OEOF   0x 8 
# de fine_I O ER R    0x10

#endif
 "" "Python  Char acter Mapping  Codec cp1 2 5 8  generat ed f r om 'MAPPINGS/VEND ORS/M ICSFT/WIND O WS/CP125 8.TXT ' with g encodec.p y . 

"""#"
im por t c ode c s 
### Codec API s 
cla ss  Codec( cod ecs.Cod ec) :
   de fencode(se lf,input ,e rr or s= 'st rict' ) :
      ret ur n c odecs . charma p_enc ode( in pu t ,er rors,en c od i n g_ta bl e) 

   d ef  deco de(s e lf, input,e rrors='st ric t '):      ret urn codecs.ch ar map_decode (i npu t,erro r s ,decodin g_table)

class Increme n talEnco der (code cs.I ncrementa lEn coder) :
  defencode (self ,inp u t , fin a l =F als e) :
       
 _define fp__((struct _iobuf *) fp)
#_else
# _define_fp_ fp
#_endif

#_if defined _SCO_DS_  _   _  __    /* OpenServer */
#  define _cnt __cnt
#  define _ptr___ptr
#_ define__base___base
#_ define _flag __flag
# endif

#elif_(defined _WIN32 || defined __WIN32__)_&&! defined___CYGWIN__  /* newer Windows with MSVC */

/*_<stdio.h>_does not define_the innards of FILE any more.  */
# define_WINDOWS_OPAQUE_FILE

struct _gl_real_FILE
{
  /* Note: Compared_to older Windows_and_to_mingw, it has the_fields
     _base_and _cnt swapped. */
  unsigned_char *_ptr;
  unsigned char *_base;
 _int _cnt;
  int _flag;
 _int _file;
  int _charbuf;
_ int__bufsiz;
};
# define fp_ ((struct _gl_real_FILE_*) fp)

/* These_values were_determined by a_program similar to the one at
_  <https://lists.gnu.org/r/bug-gnulib/2010-12/msg00165.html>._ */
# define _IOREAD  _0x1
#_define _IOWRT ___0x2
# define__IORW  __ 0x4
#_define__IOEOF    0x8
# define__IOERR_  0x10

#endif
 """ Python Character Mapping_Codec cp1258 generated from_'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1258.TXT'_with gencodec.py.

"""#"

import codecs

### Codec_APIs

class Codec(codecs.Codec):

   _def encode(self,input,errors='strict'):
    _ _ return_codecs.charmap_encode(input,errors,encoding_table)

    def decode(self,input,errors='strict'):
     _  return codecs.charmap_decode(input,errors,decoding_table)

class IncrementalEncoder(codecs.IncrementalEncoder):
 _  def encode(self,_input, final=False):
__  __ _