/*
 * FILE : freetype_wrap.c
 * 
 * This file was automatically generated by :
 * Simplified Wrapper and Interface Generator (SWIG)
 * Version 1.1 (Build 882)
 * 
 * Portions Copyright (c) 1995-1998
 * The University of Utah and The Regents of the University of California.
 * Permission is granted to distribute this file in any manner provided
 * this notice remains intact.
 * 
 * Do not make changes to this file--changes will be lost!
 *
 */


#define SWIGCODE
/* Implementation : PYTHON */

#define SWIGPYTHON
/***********************************************************************
 * $Header: /cvsroot/SWIG1.1/swig_lib/python/python.swg,v 1.5 1999/11/05 21:45:13 beazley Exp $
 * swig_lib/python/python.cfg
 *
 * Contains variable linking and pointer type-checking code.
 ************************************************************************/

#include <string.h>
#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif
#include "Python.h"

/* Definitions for Windows/Unix exporting */
#if defined(_WIN32) || defined(__WIN32__)
#   if defined(_MSC_VER)
#	define SWIGEXPORT(a) __declspec(dllexport) a
#   else
#	if defined(__BORLANDC__)
#	    define SWIGEXPORT(a) a _export
#	else
#	    define SWIGEXPORT(a) a
#	endif
#   endif
#else
#   define SWIGEXPORT(a) a
#endif

#ifdef SWIG_GLOBAL
#define SWIGSTATICRUNTIME(a) SWIGEXPORT(a)
#else
#define SWIGSTATICRUNTIME(a) static a
#endif

typedef struct {
  char  *name;
  PyObject *(*get_attr)(void);
  int (*set_attr)(PyObject *);
} swig_globalvar;

typedef struct swig_varlinkobject {
  PyObject_HEAD
  swig_globalvar **vars;
  int      nvars;
  int      maxvars;
} swig_varlinkobject;

/* ----------------------------------------------------------------------
   swig_varlink_repr()

   Function for python repr method
   ---------------------------------------------------------------------- */

static PyObject *
swig_varlink_repr(swig_varlinkobject *v)
{
  v = v;
  return PyString_FromString("<Global variables>");
}

/* ---------------------------------------------------------------------
   swig_varlink_print()

   Print out all of the global variable names
   --------------------------------------------------------------------- */

static int
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags)
{

  int i = 0;
  flags = flags;
  fprintf(fp,"Global variables { ");
  while (v->vars[i]) {
    fprintf(fp,"%s", v->vars[i]->name);
    i++;
    if (v->vars[i]) fprintf(fp,", ");
  }
  fprintf(fp," }\n");
  return 0;
}

/* --------------------------------------------------------------------
   swig_varlink_getattr
 
   This function gets the value of a variable and returns it as a
   PyObject.   In our case, we'll be looking at the datatype and
   converting into a number or string
   -------------------------------------------------------------------- */

static PyObject *
swig_varlink_getattr(swig_varlinkobject *v, char *n)
{
  int i = 0;
  char temp[128];

  while (v->vars[i]) {
    if (strcmp(v->vars[i]->name,n) == 0) {
      return (*v->vars[i]->get_attr)();
    }
    i++;
  }
  sprintf(temp,"C global variable %s not found.", n);
  PyErr_SetString(PyExc_NameError,temp);
  return NULL;
}

/* -------------------------------------------------------------------
   swig_varlink_setattr()

   This function sets the value of a variable.
   ------------------------------------------------------------------- */

static int
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p)
{
  char temp[128];
  int i = 0;
  while (v->vars[i]) {
    if (strcmp(v->vars[i]->name,n) == 0) {
      return (*v->vars[i]->set_attr)(p);
    }
    i++;
  }
  sprintf(temp,"C global variable %s not found.", n);
  PyErr_SetString(PyExc_NameError,temp);
  return 1;
}

statichere PyTypeObject varlinktype = {
/*  PyObject_HEAD_INIT(&PyType_Type)  Note : This doesn't work on some machines */
  PyObject_HEAD_INIT(0)              
  0,
  "varlink",                          /* Type name    */
  sizeof(swig_varlinkobject),         /* Basic size   */
  0,                                  /* Itemsize     */
  0,                                  /* Deallocator  */ 
  (printfunc) swig_varlink_print,     /* Print        */
  (getattrfunc) swig_varlink_getattr, /* get attr     */
  (setattrfunc) swig_varlink_setattr, /* Set attr     */
  0,                                  /* tp_compare   */
  (reprfunc) swig_varlink_repr,       /* tp_repr      */    
  0,                                  /* tp_as_number */
  0,                                  /* tp_as_mapping*/
  0,                                  /* tp_hash      */
};

/* Create a variable linking object for use later */

SWIGSTATICRUNTIME(PyObject *)
SWIG_newvarlink(void)
{
  swig_varlinkobject *result = 0;
  result = PyMem_NEW(swig_varlinkobject,1);
  varlinktype.ob_type = &PyType_Type;    /* Patch varlinktype into a PyType */
  result->ob_type = &varlinktype;
  /*  _Py_NewReference(result);  Does not seem to be necessary */
  result->nvars = 0;
  result->maxvars = 64;
  result->vars = (swig_globalvar **) malloc(64*sizeof(swig_globalvar *));
  result->vars[0] = 0;
  result->ob_refcnt = 0;
  Py_XINCREF((PyObject *) result);
  return ((PyObject*) result);
}

SWIGSTATICRUNTIME(void)
SWIG_addvarlink(PyObject *p, char *name,
	   PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p))
{
  swig_varlinkobject *v;
  v= (swig_varlinkobject *) p;
	
  if (v->nvars >= v->maxvars -1) {
    v->maxvars = 2*v->maxvars;
    v->vars = (swig_globalvar **) realloc(v->vars,v->maxvars*sizeof(swig_globalvar *));
    if (v->vars == NULL) {
      fprintf(stderr,"SWIG : Fatal error in initializing Python module.\n");
      exit(1);
    }
  }
  v->vars[v->nvars] = (swig_globalvar *) malloc(sizeof(swig_globalvar));
  v->vars[v->nvars]->name = (char *) malloc(strlen(name)+1);
  strcpy(v->vars[v->nvars]->name,name);
  v->vars[v->nvars]->get_attr = get_attr;
  v->vars[v->nvars]->set_attr = set_attr;
  v->nvars++;
  v->vars[v->nvars] = 0;
}

/* -----------------------------------------------------------------------------
 * Pointer type-checking
 * ----------------------------------------------------------------------------- */

/* SWIG pointer structure */
typedef struct SwigPtrType {
  char               *name;               /* Datatype name                  */
  int                 len;                /* Length (used for optimization) */
  void               *(*cast)(void *);    /* Pointer casting function       */
  struct SwigPtrType *next;               /* Linked list pointer            */
} SwigPtrType;

/* Pointer cache structure */
typedef struct {
  int                 stat;               /* Status (valid) bit             */
  SwigPtrType        *tp;                 /* Pointer to type structure      */
  char                name[256];          /* Given datatype name            */
  char                mapped[256];        /* Equivalent name                */
} SwigCacheType;

static int SwigPtrMax  = 64;           /* Max entries that can be currently held */
static int SwigPtrN    = 0;            /* Current number of entries              */
static int SwigPtrSort = 0;            /* Status flag indicating sort            */
static int SwigStart[256];             /* Starting positions of types            */
static SwigPtrType *SwigPtrTable = 0;  /* Table containing pointer equivalences  */

/* Cached values */
#define SWIG_CACHESIZE  8
#define SWIG_CACHEMASK  0x7
static SwigCacheType SwigCache[SWIG_CACHESIZE];  
static int SwigCacheIndex = 0;
static int SwigLastCache = 0;

/* Sort comparison function */
static int swigsort(const void *data1, const void *data2) {
	SwigPtrType *d1 = (SwigPtrType *) data1;
	SwigPtrType *d2 = (SwigPtrType *) data2;
	return strcmp(d1->name,d2->name);
}

/* Register a new datatype with the type-checker */
SWIGSTATICRUNTIME(void) 
SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
  int i;
  SwigPtrType *t = 0,*t1;

  /* Allocate the pointer table if necessary */
  if (!SwigPtrTable) {     
    SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType));
  }

  /* Grow the table */
  if (SwigPtrN >= SwigPtrMax) {
    SwigPtrMax = 2*SwigPtrMax;
    SwigPtrTable = (SwigPtrType *) realloc((char *) SwigPtrTable,SwigPtrMax*sizeof(SwigPtrType));
  }
  for (i = 0; i < SwigPtrN; i++) {
    if (strcmp(SwigPtrTable[i].name,origtype) == 0) {
      t = &SwigPtrTable[i];
      break;
    }
  }
  if (!t) {
    t = &SwigPtrTable[SwigPtrN++];
    t->name = origtype;
    t->len = strlen(t->name);
    t->cast = 0;
    t->next = 0;
  }

  /* Check for existing entries */
  while (t->next) {
    if ((strcmp(t->name,newtype) == 0)) {
      if (cast) t->cast = cast;
      return;
    }
    t = t->next;
  }
  t1 = (SwigPtrType *) malloc(sizeof(SwigPtrType));
  t1->name = newtype;
  t1->len = strlen(t1->name);
  t1->cast = cast;
  t1->next = 0;            
  t->next = t1;           
  SwigPtrSort = 0;
}

/* Make a pointer value string */
SWIGSTATICRUNTIME(void) 
SWIG_MakePtr(char *c, const void *ptr, char *type) {
  static char hex[17] = "0123456789abcdef";
  unsigned long p, s;
  char result[24], *r; 
  r = result;
  p = (unsigned long) ptr;
  if (p > 0) {
    while (p > 0) {
      s = p & 0xf;
      *(r++) = hex[s];
      p = p >> 4;
    }
    *r = '_';
    while (r >= result)
      *(c++) = *(r--);
    strcpy (c, type);
  } else {
    strcpy (c, "NULL");
  }
}

/* Function for getting a pointer value */
SWIGSTATICRUNTIME(char *) 
SWIG_GetPtr(char *c, void **ptr, char *t)
{
  unsigned long p;
  char temp_type[256], *name;
  int  i, len, start, end;
  SwigPtrType *sp,*tp;
  SwigCacheType *cache;
  register int d;

  p = 0;
  /* Pointer values must start with leading underscore */
  if (*c != '_') {
    *ptr = (void *) 0;
    if (strcmp(c,"NULL") == 0) return (char *) 0;
    else c;
  }
  c++;
  /* Extract hex value from pointer */
  while (d = *c) {
    if ((d >= '0') && (d <= '9'))
      p = (p << 4) + (d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      p = (p << 4) + (d - ('a'-10));
    else
      break; 
    c++;
  }
  *ptr = (void *) p;
  if ((!t) || (strcmp(t,c)==0)) return (char *) 0;

  if (!SwigPtrSort) {
    qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort); 
    for (i = 0; i < 256; i++) SwigStart[i] = SwigPtrN;
    for (i = SwigPtrN-1; i >= 0; i--) SwigStart[(int) (SwigPtrTable[i].name[1])] = i;
    for (i = 255; i >= 1; i--) {
      if (SwigStart[i-1] > SwigStart[i])
	SwigStart[i-1] = SwigStart[i];
    }
    SwigPtrSort = 1;
    for (i = 0; i < SWIG_CACHESIZE; i++) SwigCache[i].stat = 0;
  }
  /* First check cache for matches.  Uses last cache value as starting point */
  cache = &SwigCache[SwigLastCache];
  for (i = 0; i < SWIG_CACHESIZE; i++) {
    if (cache->stat && (strcmp(t,cache->name) == 0) && (strcmp(c,cache->mapped) == 0)) {
      cache->stat++;
      if (cache->tp->cast) *ptr = (*(cache->tp->cast))(*ptr);
      return (char *) 0;
    }
    SwigLastCache = (SwigLastCache+1) & SWIG_CACHEMASK;
    if (!SwigLastCache) cache = SwigCache;
    else cache++;
  }
  /* Type mismatch.  Look through type-mapping table */
  start = SwigStart[(int) t[1]];
  end = SwigStart[(int) t[1]+1];
  sp = &SwigPtrTable[start];

  /* Try to find a match */
  while (start <= end) {
    if (strncmp(t,sp->name,sp->len) == 0) {
      name = sp->name;
      len = sp->len;
      tp = sp->next;
      /* Try to find entry for our given datatype */
      while(tp) {
	if (tp->len >= 255) {
	  return c;
	}
	strcpy(temp_type,tp->name);
	strncat(temp_type,t+len,255-tp->len);
	if (strcmp(c,temp_type) == 0) {
	  strcpy(SwigCache[SwigCacheIndex].mapped,c);
	  strcpy(SwigCache[SwigCacheIndex].name,t);
	  SwigCache[SwigCacheIndex].stat = 1;
	  SwigCache[SwigCacheIndex].tp = tp;
	  SwigCacheIndex = SwigCacheIndex & SWIG_CACHEMASK;
	  /* Get pointer value */
	  *ptr = (void *) p;
	  if (tp->cast) *ptr = (*(tp->cast))(*ptr);
	  return (char *) 0;
	}
	tp = tp->next;
      }
    }
    sp++;
    start++;
  }
  return c;
} 

/* New object-based GetPointer function. This uses the Python abstract
 * object interface to automatically dereference the 'this' attribute
 * of shadow objects. */

SWIGSTATICRUNTIME(char *)
SWIG_GetPtrObj(PyObject *obj, void **ptr, char *type) {
  PyObject *sobj = obj;
  char     *str;
  if (!PyString_Check(obj)) {
    sobj = PyObject_GetAttrString(obj,"this");
    if (!sobj) return "";
  }
  str = PyString_AsString(sobj);
  return SWIG_GetPtr(str,ptr,type);
}

#ifdef __cplusplus
}
#endif


#define SWIG_init    initfreetypec

#define SWIG_name    "freetypec"

#include "freetype.h"
#include "ftxerr18.h"
#include "ftxkern.h"
#include "ftxcmap.h"
#include "ftxgasp.h"
#include "ftxpost.h"
#include "ftxwidth.h"

static PyObject *FreeTypeError;

static PyObject* l_output_helper(PyObject* target, PyObject* o) {
    PyObject*   o2;
    if (!target) {                   
        target = o;
    } else if (target == Py_None) {  
        Py_DECREF(Py_None);
        target = o;
    } else {                         
        if (!PyList_Check(target)) {
            o2 = target;
            target = PyList_New(0);
            PyList_Append(target, o2);
	    Py_XDECREF(o2);
        }
        PyList_Append(target,o);
	Py_XDECREF(o);
    }
    return target;
}

static PyObject* t_output_helper(PyObject* target, PyObject* o) {
    PyObject*   o2;
    PyObject*   o3;

    if (!target) {                   
        target = o;
    } else if (target == Py_None) {  
        Py_DECREF(Py_None);
        target = o;
    } else {                         
        if (!PyTuple_Check(target)) {
            o2 = target;
            target = PyTuple_New(1);
            PyTuple_SetItem(target, 0, o2);
        }
        o3 = PyTuple_New(1);            
        PyTuple_SetItem(o3, 0, o);      

        o2 = target;
        target = PySequence_Concat(o2, o3); 
        Py_DECREF(o2);                      
        Py_DECREF(o3);
    }
    return target;
}

  PyObject *getOutlinePoints(TT_Outline *outline) {
    int i;
    PyObject *list;
    PyObject *tmp;

    list = PyList_New((int)(outline->n_points));

    for (i=0; i<outline->n_points; i++) {
      tmp = Py_BuildValue("ll", outline->points[i].x, outline->points[i].y);
      PyList_SetItem(list, i, tmp);
    }

    return list;
  }

  PyObject *getOutlineFlags(TT_Outline *outline) {
    int i;
    PyObject *tmp;
    PyObject *tuple;

    tuple = PyTuple_New((int)(outline->n_points));

    for (i=0; i<(outline->n_points); i++) {
      tmp = PyInt_FromLong((long)(outline->flags[i] % 2));
      PyTuple_SetItem(tuple, i, tmp);
    }

    return tuple;
  }

  PyObject *getOutlineContours(TT_Outline *outline) {
    int i;
    PyObject *tmp;
    PyObject *tuple;

    tuple = PyTuple_New((int)(outline->n_contours));

    for (i=0; i<outline->n_contours; i++) {
      tmp = PyInt_FromLong((long)(outline->contours[i]));
      PyTuple_SetItem(tuple, i, tmp);
    }
    
    return tuple;
  }


PyObject *getHdmxRecords(TT_Hdmx *hdmx) {
  PyObject *retTuple;
  char *str;
  PyObject *string;
  int i;

  str = (char *)calloc(64, sizeof(char));

  retTuple = PyTuple_New(hdmx->num_records);

  for (i=0; i<hdmx->num_records; i++) {
    SWIG_MakePtr(str, (void *)(&hdmx->records[i]), "_TT_Hdmx_Record_p");
    string = PyString_FromString(str);
    PyTuple_SetItem(retTuple, i, string);
  }

  return retTuple;
}


  TT_Raster_Map newBitmap(int width, int height) {
    TT_Raster_Map bitmap;

    bitmap.width = width;
    bitmap.cols = (width+7) / 8;
    bitmap.rows = height;
    bitmap.flow = TT_Flow_Down;
    bitmap.size = bitmap.cols * bitmap.rows;
    bitmap.bitmap = malloc(bitmap.size);

    memset(bitmap.bitmap, 0, bitmap.size);
    /* clear the buffer */

    return bitmap;
  }

  TT_Raster_Map newPixmap(int width, int height) {
    TT_Raster_Map pixmap;

    pixmap.width = width;
    pixmap.cols = (width+3) & ~3;
    pixmap.rows = height;
    pixmap.flow = TT_Flow_Down;
    pixmap.size = pixmap.cols * pixmap.rows;
    pixmap.bitmap = malloc(pixmap.size);

    memset(pixmap.bitmap, 0, pixmap.size);
    /* clear the buffer */

    return pixmap;
  }


  TT_Engine *pTT_Init_FreeType() {
    TT_Engine *engine;
    TT_Error error;

    engine = (TT_Engine *)calloc(1, sizeof(TT_Engine));

    error = TT_Init_FreeType(engine);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return engine;
  }

  TT_Face *pTT_Open_Face(TT_Engine      engine,
			  const TT_Text* fontPathName) {
    TT_Face *face;
    TT_Error error;

    face = (TT_Face *)calloc(1, sizeof(TT_Face));

    error = TT_Open_Face(engine, fontPathName, face);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);
	
      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return face;
  }

  TT_Face *pTT_Open_Collection(TT_Engine engine,
				const TT_Text* collectionPathName,
				TT_ULong fontIndex) {
    TT_Face *face;
    TT_Error error;

    face = (TT_Face *)calloc(1, sizeof(TT_Face));
    
    error = TT_Open_Collection(engine, collectionPathName, fontIndex, face);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return face;
  }

  TT_Face_Properties *pTT_Get_Face_Properties( TT_Face face) {
    TT_Face_Properties *properties;
    TT_Error error;

    properties = (TT_Face_Properties *)calloc(1, sizeof(TT_Face_Properties));

    error = TT_Get_Face_Properties(face, properties);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);
	
      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return properties;
  }

  TT_Instance *pTT_New_Instance(TT_Face face) {
    TT_Instance *instance;
    TT_Error error;

    instance = (TT_Instance *)calloc(1, sizeof(TT_Instance));

    error = TT_New_Instance(face, instance);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);
	
      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return instance;
  }

  TT_Instance_Metrics *pTT_Get_Instance_Metrics(TT_Instance instance) {
    TT_Instance_Metrics *metrics;
    TT_Error error;

    metrics = (TT_Instance_Metrics *)calloc(1, sizeof(TT_Instance_Metrics));

    error = TT_Get_Instance_Metrics(instance, metrics);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);
	
      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return metrics;
  }

  TT_Glyph *pTT_New_Glyph(TT_Face face) {
    TT_Glyph *glyph;
    TT_Error error;

    glyph = (TT_Glyph *)calloc(1, sizeof(TT_Glyph));

    error = TT_New_Glyph(face, glyph);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);
	
      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return glyph;
  }

  TT_Outline *pTT_Get_Glyph_Outline(TT_Glyph glyph) {
    TT_Outline *outline;
    TT_Error error;

    outline = (TT_Outline *)calloc(1, sizeof(TT_Outline));

    error = TT_Get_Glyph_Outline(glyph, outline);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);
	
      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return outline;
  }

  TT_Glyph_Metrics *pTT_Get_Glyph_Metrics(TT_Glyph glyph) {
    TT_Glyph_Metrics *metrics;
    TT_Error error;

    metrics = (TT_Glyph_Metrics *)calloc(1, sizeof(TT_Glyph_Metrics));

    error = TT_Get_Glyph_Metrics(glyph, metrics);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);
      
      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return metrics;
  }

  TT_Big_Glyph_Metrics *pTT_Get_Glyph_Big_Metrics(TT_Glyph glyph) {
    TT_Big_Glyph_Metrics *metrics;
    TT_Error error;

    metrics = (TT_Big_Glyph_Metrics *)calloc(1, sizeof(TT_Big_Glyph_Metrics));

    error = TT_Get_Glyph_Big_Metrics(glyph, metrics);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return metrics;
  }

  TT_Outline *pTT_New_Outline( TT_UShort    numPoints,
				TT_Short     numContours) {
    TT_Outline *outline;
    TT_Error error;

    outline = (TT_Outline *)calloc(1, sizeof(TT_Outline));

    error = TT_New_Outline(numPoints, numContours, outline);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return outline;
  }

  TT_Outline *pTT_Copy_Outline(TT_Outline *source) {
    TT_Outline *target;
    TT_Error error;

    target = (TT_Outline *)calloc(1, sizeof(TT_Outline));

    error = TT_New_Outline(source->n_points, source->n_contours, target);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    error = TT_Copy_Outline(source, target);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return target;
  }

  TT_BBox *pTT_Get_Outline_BBox(TT_Outline *outline) {
    TT_BBox *bbox;
    TT_Error error;

    bbox = (TT_BBox *)calloc(1, sizeof(TT_BBox));

    error = TT_Get_Outline_BBox(outline, bbox);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return bbox;
  }

  TT_CharMap *pTT_Get_CharMap(TT_Face face, TT_UShort charmapIndex) {
    TT_CharMap *charMap;
    TT_Error error;

    charMap = (TT_CharMap *)calloc(1, sizeof(TT_CharMap));

    error = TT_Get_CharMap(face, charmapIndex, charMap);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return charMap;
  }

  PyObject *pTT_Get_Name_String(TT_Face face, TT_UShort nameIndex) {
    char *srcString;
    TT_UShort size;
    TT_Error error;

    error = TT_Get_Name_String(face, nameIndex, &srcString, &size);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return PyString_FromStringAndSize(srcString, size);
  }
    
    
  TT_Kerning *pTT_Get_Kerning_Directory(TT_Face face) {
    TT_Kerning *directory;
    TT_Error error;
      
    directory = (TT_Kerning *)calloc(1, sizeof(TT_Kerning));

    error = TT_Get_Kerning_Directory(face, directory);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return directory;
  }

  TT_Post *pTT_Load_PS_Names(TT_Face face) {
    TT_Post *post;
    TT_Error error;

    post = (TT_Post *)calloc(1, sizeof(TT_Post));

    error = TT_Load_PS_Names(face, post);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    return post;
  }


  PyObject *pTT_Get_Face_Metrics(TT_Face face, 
		TT_UShort   firstGlyph,
		TT_UShort   lastGlyph) {
    TT_Face_Properties props;
    TT_Short *leftBearings;
    TT_UShort *widths;
    TT_Short *topBearings;
    TT_UShort *heights;
    TT_Error error;
    int i;
    int length;
    PyObject *retTuple;
    PyObject *leftBTuple;
    PyObject *widthsTuple;
    PyObject *topBTuple;
    PyObject *heightsTuple;
    PyObject *tmp;

    length = (int)(lastGlyph - firstGlyph + 1);

    error = TT_Get_Face_Properties(face, &props);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    leftBearings = (TT_Short *)calloc(length, sizeof(TT_Short));
    widths = (TT_UShort *)calloc(length, sizeof(TT_UShort));

    if (props.vertical != NULL) {
      topBearings = (TT_Short *)calloc(length, sizeof(TT_Short));
      heights = (TT_UShort *)calloc(length, sizeof(TT_UShort));
    }
    else {
      topBearings = NULL;
      heights = NULL;
    }

    error = TT_Get_Face_Metrics(face, firstGlyph, lastGlyph, leftBearings, widths, topBearings, heights);
    if (error) {
      char *errstring;
   
      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    leftBTuple = PyTuple_New(length);
    for (i=0; i<length; i++) {
      tmp = PyInt_FromLong((long)leftBearings[i]);
      PyTuple_SetItem(leftBTuple, i, tmp);
    }

    free(leftBearings);

    widthsTuple = PyTuple_New(length);
    for (i=0; i<length; i++) {
      tmp = PyInt_FromLong((long)widths[i]);
      PyTuple_SetItem(widthsTuple, i, tmp);
    }

    free(widths);

    if (props.vertical != NULL) {
      topBTuple = PyTuple_New(length);
      for (i=0; i<length; i++) {
        tmp = PyInt_FromLong((long)topBearings[i]);
        PyTuple_SetItem(topBTuple, i, tmp);
      }

      free(topBearings);

      heightsTuple = PyTuple_New(length);

      for (i=0; i<length; i++) {
        tmp = PyInt_FromLong((long)heights[i]);
        PyTuple_SetItem(heightsTuple, i, tmp);
      }

      free(heights);

    }
    else {
      topBTuple = Py_None;
      Py_INCREF(Py_None);

      heightsTuple = Py_None;
      Py_INCREF(Py_None);
    }

    retTuple = Py_BuildValue("OOOO", leftBTuple, widthsTuple, topBTuple, heightsTuple);

    return retTuple;
}


  PyObject *pTT_Get_Font_Data( TT_Face face,
				char table[4],
				TT_Long offset) {
    char *buffer;
    TT_Long length;
    TT_ULong tag;

    PyObject *string;
    TT_Error error;

    tag = MAKE_TT_TAG(table[0], table[1], table[2], table[3]);

    /* first find the length */
    length = 0;
    error = TT_Get_Font_Data(face, tag, offset, NULL, &length);    
    if (!error) {
      buffer = malloc(length);
      error = TT_Get_Font_Data(face, tag, offset, (void *)buffer, &length);
    }
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }
    
    string = PyString_FromStringAndSize(buffer, length);

    free(buffer);

    return string;
  }   

#undef TT_Set_Instance_PointSize
  TT_Error TT_Set_Instance_PointSize( TT_Instance instance, 
				      TT_F26Dot6 pointSize ) {
    return TT_Set_Instance_CharSize(instance, (TT_F26Dot6)(pointSize*64));
  }

  PyObject *pTT_String_Indices( TT_CharMap charMap,
		                 PyObject *inputSeq) {
    PyObject *retTuple;
    PyObject *tmp, *tmp2;
    char *string;
    int length;
    int i;
    int val;

    if (PyString_Check(inputSeq)) {
      string = PyString_AsString(inputSeq);
      length = PyObject_Length(inputSeq);

      retTuple = PyTuple_New(length);

      for (i=0; i<length; i++) {
	val = (int)string[i];
	if (val < 0) {
	  val = 256 + val;
	}
	tmp = PyInt_FromLong((long)TT_Char_Index(charMap, val));
	PyTuple_SetItem(retTuple, i, tmp);
      }
    }
    
    else if (PySequence_Check(inputSeq)) {
      length = PyObject_Length(inputSeq);

      retTuple = PyTuple_New(length);

      for (i=0; i<length; i++) {
	tmp = PyNumber_Int(PySequence_GetItem(inputSeq, i));
	if (tmp == NULL) {
	  PyErr_SetString(PyExc_ValueError, "need a string or a sequence of ints");
	  Py_DECREF(tmp);
	  Py_DECREF(retTuple);
	  return NULL;
	}
	
	tmp2 = PyInt_FromLong((long)TT_Char_Index(charMap, (TT_UShort)(PyInt_AsLong(tmp))));
	Py_DECREF(tmp);
	PyTuple_SetItem(retTuple, i, tmp2);
      }
    }
    else {
      PyErr_SetString(PyExc_ValueError, "need a string or a sequence of ints");
      return NULL;
    }

    return retTuple;
  }

  PyObject *pTT_Char_Index( TT_CharMap charMap,
			     PyObject *inputChar) {
    char *string;
    
    if (!PyString_Check(inputChar) || PyObject_Length(inputChar) != 1) {
      PyErr_SetString(PyExc_ValueError, "char expected");
      return NULL;
    }

    string = PyString_AsString(inputChar);

    return PyInt_FromLong((long)TT_Char_Index(charMap, (TT_UShort)(string[0])));
  }

typedef union { TT_Kern_0 kern0; TT_Kern_2 kern2;
    } TT_Kern_Subtable_t;


typedef union {
      TT_Post_20  post20;
      TT_Post_25  post25;
    } TT_Post_p;


  PyObject *pTT_Get_Face_Widths(TT_Face face, TT_UShort first_glyph, TT_UShort last_glyph) {
    TT_Face_Properties props;
    TT_Error error;
    TT_UShort *widths;
    TT_UShort *heights;
    int i;
    int length;
    PyObject *retTuple;
    PyObject *widthsObj;
    PyObject *heightsObj;
    PyObject *tmp;

    error = TT_Get_Face_Properties(face, &props);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    length = (int)(last_glyph - first_glyph + 1);

    widths = (TT_UShort *)calloc(length, sizeof(TT_UShort));

    if (props.vertical != NULL) {
      heights = (TT_UShort *)calloc(length, sizeof(TT_UShort));
    }
    else {
      heights = NULL;
    }

    error = TT_Get_Face_Widths(face, first_glyph, last_glyph, widths, heights);
    if (error) {
      char *errstring;

      errstring = TT_ErrToString18(error);

      PyErr_SetString(FreeTypeError, errstring);
      return NULL;
    }

    widthsObj = PyTuple_New(length);
    for (i=0; i<length; i++) {
      tmp = PyInt_FromLong((long)widths[i]);
      PyTuple_SetItem(widthsObj, i, tmp);
    }

    free(widths);

    if (props.vertical != NULL) {
      heightsObj = PyTuple_New(length);
      for (i=0; i<length; i++) {
        tmp = PyInt_FromLong((long)heights[i]);
        PyTuple_SetItem(heightsObj, i, tmp);
      }

      free(heights);
    
    }
    else {
      heightsObj = Py_None;
      Py_INCREF(Py_None);
    }

    retTuple = Py_BuildValue("OO", widthsObj, heightsObj);

    return retTuple;
  }

#include <stdlib.h>

#include <string.h>


#include <ctype.h>

/*------------------------------------------------------------------
  ptrcast(value,type)

  Constructs a new pointer value.   Value may either be a string
  or an integer. Type is a string corresponding to either the
  C datatype or mangled datatype.

  ptrcast(0,"Vector *")
               or
  ptrcast(0,"Vector_p")   
  ------------------------------------------------------------------ */

static PyObject *ptrcast(PyObject *_PTRVALUE, char *type) {

  char *r,*s;
  void *ptr;
  PyObject *obj;
  char *typestr,*c;

  /* Produce a "mangled" version of the type string.  */

  typestr = (char *) malloc(strlen(type)+2);
  
  /* Go through and munge the typestring */
  
  r = typestr;
  *(r++) = '_';
  c = type;
  while (*c) {
    if (!isspace(*c)) {
      if ((*c == '*') || (*c == '&')) {
	*(r++) = 'p';
      }
      else *(r++) = *c;
    } else {
        *(r++) = '_';
    }
    c++;
  }
  *(r++) = 0;

  /* Check to see what kind of object _PTRVALUE is */
  
  if (PyInt_Check(_PTRVALUE)) {
    ptr = (void *) PyInt_AsLong(_PTRVALUE);
    /* Received a numerical value. Make a pointer out of it */
    r = (char *) malloc(strlen(typestr)+22);
    if (ptr) {
      SWIG_MakePtr(r, ptr, typestr);
    } else {
      sprintf(r,"_0%s",typestr);
    }
    obj = PyString_FromString(r);
    free(r);
  } else if (PyString_Check(_PTRVALUE)) {
    /* Have a real pointer value now.  Try to strip out the pointer
       value */
    s = PyString_AsString(_PTRVALUE);
    r = (char *) malloc(strlen(type)+22);
    
    /* Now extract the pointer value */
    if (!SWIG_GetPtr(s,&ptr,0)) {
      if (ptr) {
	SWIG_MakePtr(r,ptr,typestr);
      } else {
	sprintf(r,"_0%s",typestr);
      }
      obj = PyString_FromString(r);
    } else {
      obj = NULL;
    }
    free(r);
  } else {
    obj = NULL;
  }
  free(typestr);
  if (!obj) 
    PyErr_SetString(PyExc_TypeError,"Type error in ptrcast. Argument is not a valid pointer value.");
  return obj;
}

/*------------------------------------------------------------------
  ptrvalue(ptr,type = 0)

  Attempts to dereference a pointer value.  If type is given, it 
  will try to use that type.  Otherwise, this function will attempt
  to "guess" the proper datatype by checking against all of the 
  builtin C datatypes. 
  ------------------------------------------------------------------ */

static PyObject *ptrvalue(PyObject *_PTRVALUE, int index, char *type) {
  void     *ptr;
  char     *s;
  PyObject *obj;

  if (!PyString_Check(_PTRVALUE)) {
    PyErr_SetString(PyExc_TypeError,"Type error in ptrvalue. Argument is not a valid pointer value.");
    return NULL;
  }
  s = PyString_AsString(_PTRVALUE);
  if (SWIG_GetPtr(s,&ptr,0)) {
    PyErr_SetString(PyExc_TypeError,"Type error in ptrvalue. Argument is not a valid pointer value.");
    return NULL;
  }

  /* If no datatype was passed, try a few common datatypes first */

  if (!type) {

    /* No datatype was passed.   Type to figure out if it's a common one */

    if (!SWIG_GetPtr(s,&ptr,"_int_p")) {
      type = "int";
    } else if (!SWIG_GetPtr(s,&ptr,"_double_p")) {
      type = "double";
    } else if (!SWIG_GetPtr(s,&ptr,"_short_p")) {
      type = "short";
    } else if (!SWIG_GetPtr(s,&ptr,"_long_p")) {
      type = "long";
    } else if (!SWIG_GetPtr(s,&ptr,"_float_p")) {
      type = "float";
    } else if (!SWIG_GetPtr(s,&ptr,"_char_p")) {
      type = "char";
    } else if (!SWIG_GetPtr(s,&ptr,"_char_pp")) {
      type = "char *";
    } else {
      type = "unknown";
    }
  }

  if (!ptr) {
    PyErr_SetString(PyExc_TypeError,"Unable to dereference NULL pointer.");
    return NULL;
  }

  /* Now we have a datatype.  Try to figure out what to do about it */
  if (strcmp(type,"int") == 0) {
    obj = PyInt_FromLong((long) *(((int *) ptr) + index));
  } else if (strcmp(type,"double") == 0) {
    obj = PyFloat_FromDouble((double) *(((double *) ptr)+index));
  } else if (strcmp(type,"short") == 0) {
    obj = PyInt_FromLong((long) *(((short *) ptr)+index));
  } else if (strcmp(type,"long") == 0) {
    obj = PyInt_FromLong((long) *(((long *) ptr)+index));
  } else if (strcmp(type,"float") == 0) {
    obj = PyFloat_FromDouble((double) *(((float *) ptr)+index));
  } else if (strcmp(type,"char") == 0) {
    obj = PyString_FromString(((char *) ptr)+index);
  } else if (strcmp(type,"char *") == 0) {
    char *c = *(((char **) ptr)+index);
    if (c) obj = PyString_FromString(c);
    else obj = PyString_FromString("NULL");
  } else {
    PyErr_SetString(PyExc_TypeError,"Unable to dereference unsupported datatype.");
    return NULL;
  }
  return obj;
}

/*------------------------------------------------------------------
  ptrcreate(type,value = 0,numelements = 1)

  Attempts to create a new object of given type.  Type must be
  a basic C datatype.  Will not create complex objects.
  ------------------------------------------------------------------ */

static PyObject *ptrcreate(char *type, PyObject *_PYVALUE, int numelements) {
  void     *ptr;
  PyObject *obj;
  int       sz;
  char     *cast;
  char      temp[40];

  /* Check the type string against a variety of possibilities */

  if (strcmp(type,"int") == 0) {
    sz = sizeof(int)*numelements;
    cast = "_int_p";
  } else if (strcmp(type,"short") == 0) {
    sz = sizeof(short)*numelements;
    cast = "_short_p";
  } else if (strcmp(type,"long") == 0) {
    sz = sizeof(long)*numelements;
    cast = "_long_p";
  } else if (strcmp(type,"double") == 0) {
    sz = sizeof(double)*numelements;
    cast = "_double_p";
  } else if (strcmp(type,"float") == 0) {
    sz = sizeof(float)*numelements;
    cast = "_float_p";
  } else if (strcmp(type,"char") == 0) {
    sz = sizeof(char)*numelements;
    cast = "_char_p";
  } else if (strcmp(type,"char *") == 0) {
    sz = sizeof(char *)*(numelements+1);
    cast = "_char_pp";
  } else {
    PyErr_SetString(PyExc_TypeError,"Unable to create unknown datatype."); 
    return NULL;
  }
   
  /* Create the new object */
  
  ptr = (void *) malloc(sz);
  if (!ptr) {
    PyErr_SetString(PyExc_MemoryError,"Out of memory in swig_create."); 
    return NULL;
  }

  /* Now try to set its default value */

  if (_PYVALUE) {
    if (strcmp(type,"int") == 0) {
      int *ip,i,ivalue;
      ivalue = (int) PyInt_AsLong(_PYVALUE);
      ip = (int *) ptr;
      for (i = 0; i < numelements; i++)
	ip[i] = ivalue;
    } else if (strcmp(type,"short") == 0) {
      short *ip,ivalue;
      int i;
      ivalue = (short) PyInt_AsLong(_PYVALUE);
      ip = (short *) ptr;
      for (i = 0; i < numelements; i++)
	ip[i] = ivalue;
    } else if (strcmp(type,"long") == 0) {
      long *ip,ivalue;
      int i;
      ivalue = (long) PyInt_AsLong(_PYVALUE);
      ip = (long *) ptr;
      for (i = 0; i < numelements; i++)
	ip[i] = ivalue;
    } else if (strcmp(type,"double") == 0) {
      double *ip,ivalue;
      int i;
      ivalue = (double) PyFloat_AsDouble(_PYVALUE);
      ip = (double *) ptr;
      for (i = 0; i < numelements; i++)
	ip[i] = ivalue;
    } else if (strcmp(type,"float") == 0) {
      float *ip,ivalue;
      int i;
      ivalue = (float) PyFloat_AsDouble(_PYVALUE);
      ip = (float *) ptr;
      for (i = 0; i < numelements; i++)
	ip[i] = ivalue;
    } else if (strcmp(type,"char") == 0) {
      char *ip,*ivalue;
      ivalue = (char *) PyString_AsString(_PYVALUE);
      ip = (char *) ptr;
      strncpy(ip,ivalue,numelements-1);
    } else if (strcmp(type,"char *") == 0) {
      char **ip, *ivalue;
      int  i;
      ivalue = (char *) PyString_AsString(_PYVALUE);
      ip = (char **) ptr;
      for (i = 0; i < numelements; i++) {
	if (ivalue) {
	  ip[i] = (char *) malloc(strlen(ivalue)+1);
	  strcpy(ip[i],ivalue);
	} else {
	  ip[i] = 0;
	}
      }
      ip[numelements] = 0;
    }
  } 
  /* Create the pointer value */
  
  SWIG_MakePtr(temp,ptr,cast);
  obj = PyString_FromString(temp);
  return obj;
}


/*------------------------------------------------------------------
  ptrset(ptr,value,index = 0,type = 0)

  Attempts to set the value of a pointer variable.  If type is
  given, we will use that type.  Otherwise, we'll guess the datatype.
  ------------------------------------------------------------------ */

static PyObject *ptrset(PyObject *_PTRVALUE, PyObject *_PYVALUE, int index, char *type) {
  void     *ptr;
  char     *s;
  PyObject *obj;

  if (!PyString_Check(_PTRVALUE)) {
    PyErr_SetString(PyExc_TypeError,"Type error in ptrset. Argument is not a valid pointer value.");
    return NULL;
  }
  s = PyString_AsString(_PTRVALUE);
  if (SWIG_GetPtr(s,&ptr,0)) {
    PyErr_SetString(PyExc_TypeError,"Type error in ptrset. Argument is not a valid pointer value.");
    return NULL;
  }

  /* If no datatype was passed, try a few common datatypes first */

  if (!type) {

    /* No datatype was passed.   Type to figure out if it's a common one */

    if (!SWIG_GetPtr(s,&ptr,"_int_p")) {
      type = "int";
    } else if (!SWIG_GetPtr(s,&ptr,"_double_p")) {
      type = "double";
    } else if (!SWIG_GetPtr(s,&ptr,"_short_p")) {
      type = "short";
    } else if (!SWIG_GetPtr(s,&ptr,"_long_p")) {
      type = "long";
    } else if (!SWIG_GetPtr(s,&ptr,"_float_p")) {
      type = "float";
    } else if (!SWIG_GetPtr(s,&ptr,"_char_p")) {
      type = "char";
    } else if (!SWIG_GetPtr(s,&ptr,"_char_pp")) {
      type = "char *";
    } else {
      type = "unknown";
    }
  }

  if (!ptr) {
    PyErr_SetString(PyExc_TypeError,"Unable to set NULL pointer.");
    return NULL;
  }
  
  /* Now we have a datatype.  Try to figure out what to do about it */
  if (strcmp(type,"int") == 0) {
    *(((int *) ptr)+index) = (int) PyInt_AsLong(_PYVALUE);
  } else if (strcmp(type,"double") == 0) {
    *(((double *) ptr)+index) = (double) PyFloat_AsDouble(_PYVALUE);
  } else if (strcmp(type,"short") == 0) {
    *(((short *) ptr)+index) = (short) PyInt_AsLong(_PYVALUE);
  } else if (strcmp(type,"long") == 0) {
    *(((long *) ptr)+index) = (long) PyInt_AsLong(_PYVALUE);
  } else if (strcmp(type,"float") == 0) {
    *(((float *) ptr)+index) = (float) PyFloat_AsDouble(_PYVALUE);
  } else if (strcmp(type,"char") == 0) {
    char *c = PyString_AsString(_PYVALUE);
    strcpy(((char *) ptr)+index, c);
  } else if (strcmp(type,"char *") == 0) {
    char *c = PyString_AsString(_PYVALUE);
    char **ca = (char **) ptr;
    if (ca[index]) free(ca[index]);
    if (strcmp(c,"NULL") == 0) {
      ca[index] = 0;
    } else {
      ca[index] = (char *) malloc(strlen(c)+1);
      strcpy(ca[index],c);
    }
  } else {
    PyErr_SetString(PyExc_TypeError,"Unable to set unsupported datatype.");
    return NULL;
  }
  Py_INCREF(Py_None);
  return Py_None;
}


/*------------------------------------------------------------------
  ptradd(ptr,offset)

  Adds a value to an existing pointer value.  Will do a type-dependent
  add for basic datatypes.  For other datatypes, will do a byte-add.
  ------------------------------------------------------------------ */

static PyObject *ptradd(PyObject *_PTRVALUE, int offset) {

  char *r,*s;
  void *ptr,*junk;
  PyObject *obj;
  char *type;

  /* Check to see what kind of object _PTRVALUE is */
  
  if (PyString_Check(_PTRVALUE)) {
    /* Have a potential pointer value now.  Try to strip out the value */
    s = PyString_AsString(_PTRVALUE);

    /* Try to handle a few common datatypes first */

    if (!SWIG_GetPtr(s,&ptr,"_int_p")) {
      ptr = (void *) (((int *) ptr) + offset);
    } else if (!SWIG_GetPtr(s,&ptr,"_double_p")) {
      ptr = (void *) (((double *) ptr) + offset);
    } else if (!SWIG_GetPtr(s,&ptr,"_short_p")) {
      ptr = (void *) (((short *) ptr) + offset);
    } else if (!SWIG_GetPtr(s,&ptr,"_long_p")) {
      ptr = (void *) (((long *) ptr) + offset);
    } else if (!SWIG_GetPtr(s,&ptr,"_float_p")) {
      ptr = (void *) (((float *) ptr) + offset);
    } else if (!SWIG_GetPtr(s,&ptr,"_char_p")) {
      ptr = (void *) (((char *) ptr) + offset);
    } else if (!SWIG_GetPtr(s,&ptr,0)) {
      ptr = (void *) (((char *) ptr) + offset);
    } else {
      PyErr_SetString(PyExc_TypeError,"Type error in ptradd. Argument is not a valid pointer value.");
      return NULL;
    }
    type = SWIG_GetPtr(s,&junk,"INVALID POINTER");
    r = (char *) malloc(strlen(type)+20);
    if (ptr) {
      SWIG_MakePtr(r,ptr,type);
    } else {
      sprintf(r,"_0%s",type);
    }
    obj = PyString_FromString(r);
    free(r);
  }
  return obj;
}

/*------------------------------------------------------------------
  ptrmap(type1,type2)

  Allows a mapping between type1 and type2. (Like a typedef)
  ------------------------------------------------------------------ */

static void ptrmap(char *type1, char *type2) {

  char *typestr1,*typestr2,*c,*r;

  /* Produce a "mangled" version of the type string.  */

  typestr1 = (char *) malloc(strlen(type1)+2);
  
  /* Go through and munge the typestring */
  
  r = typestr1;
  *(r++) = '_';
  c = type1;
  while (*c) {
    if (!isspace(*c)) {
      if ((*c == '*') || (*c == '&')) {
	*(r++) = 'p';
      }
      else *(r++) = *c;
    } else {
      *(r++) = '_';
    }
    c++;
  }
  *(r++) = 0;
  
  typestr2 = (char *) malloc(strlen(type2)+2);

  /* Go through and munge the typestring */
  
  r = typestr2;
  *(r++) = '_';
  c = type2;
  while (*c) {
    if (!isspace(*c)) {
      if ((*c == '*') || (*c == '&')) {
	*(r++) = 'p';
      }
      else *(r++) = *c;
    } else {
      *(r++) = '_';
    }
    c++;
  }
  *(r++) = 0;
  SWIG_RegisterMapping(typestr1,typestr2,0);
  SWIG_RegisterMapping(typestr2,typestr1,0);
}

/*------------------------------------------------------------------
  ptrfree(ptr)

  Destroys a pointer value
  ------------------------------------------------------------------ */

PyObject *ptrfree(PyObject *_PTRVALUE) {
  void *ptr, *junk;
  char *s;

  if (!PyString_Check(_PTRVALUE)) {
    PyErr_SetString(PyExc_TypeError,"Type error in ptrfree. Argument is not a valid pointer value.");
    return NULL;
  }
  s = PyString_AsString(_PTRVALUE);
  if (SWIG_GetPtr(s,&ptr,0)) {
    PyErr_SetString(PyExc_TypeError,"Type error in ptrfree. Argument is not a valid pointer value.");
    return NULL;
  }

  /* Check to see if this pointer is a char ** */
  if (!SWIG_GetPtr(s,&junk,"_char_pp")) {
    char **c = (char **) ptr;
    if (c) {
      int i = 0;
      while (c[i]) {
	free(c[i]);
	i++;
      }
    }
  } 
  if (ptr)
    free((char *) ptr);

  Py_INCREF(Py_None);
  return Py_None;
}

#ifdef __cplusplus
extern "C" {
#endif
static int _wrap_FreeTypeError_set(PyObject *val) {
    PyObject * temp;

    if (val) {
        if (val == Py_None) { temp = NULL; }
        else if (SWIG_GetPtrObj(val,(void **) &temp,"_PyObject_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in value of FreeTypeError. Expected _PyObject_p.");
        return 1;
        }
    }
    FreeTypeError = temp;
    return 0;
}

static PyObject *_wrap_FreeTypeError_get() {
    PyObject * pyobj;

{
  pyobj = FreeTypeError;
}
    return pyobj;
}

static PyObject *_wrap_getOutlinePoints(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:getOutlinePoints",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of getOutlinePoints. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (PyObject *)getOutlinePoints(_arg0);
{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_getOutlineFlags(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:getOutlineFlags",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of getOutlineFlags. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (PyObject *)getOutlineFlags(_arg0);
{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_getOutlineContours(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:getOutlineContours",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of getOutlineContours. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (PyObject *)getOutlineContours(_arg0);
{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_getHdmxRecords(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Hdmx * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:getHdmxRecords",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of getHdmxRecords. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    _result = (PyObject *)getHdmxRecords(_arg0);
{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_newBitmap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Raster_Map * _result;
    int  _arg0;
    int  _arg1;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"ii:newBitmap",&_arg0,&_arg1)) 
        return NULL;
    _result = (TT_Raster_Map *) malloc(sizeof(TT_Raster_Map ));
    *(_result) = newBitmap(_arg0,_arg1);
    SWIG_MakePtr(_ptemp, (void *) _result,"_TT_Raster_Map_p");
    _resultobj = Py_BuildValue("s",_ptemp);
    return _resultobj;
}

static PyObject *_wrap_newPixmap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Raster_Map * _result;
    int  _arg0;
    int  _arg1;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"ii:newPixmap",&_arg0,&_arg1)) 
        return NULL;
    _result = (TT_Raster_Map *) malloc(sizeof(TT_Raster_Map ));
    *(_result) = newPixmap(_arg0,_arg1);
    SWIG_MakePtr(_ptemp, (void *) _result,"_TT_Raster_Map_p");
    _resultobj = Py_BuildValue("s",_ptemp);
    return _resultobj;
}

static PyObject *_wrap_TT_Init_FreeType(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Engine * _result;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,":TT_Init_FreeType")) 
        return NULL;
{
      _result = (TT_Engine *)pTT_Init_FreeType();
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Engine_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Done_FreeType(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Engine * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Done_FreeType",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Done_FreeType. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Done_FreeType(*_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Set_Raster_Gray_Palette(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Engine * _arg0;
    TT_Byte * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Set_Raster_Gray_Palette",&_argo0,&_obj1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Set_Raster_Gray_Palette. Expected _TT_Engine_p.");
        return NULL;
        }
    }
{
  if (!PySequence_Check(_obj1)) {
    PyErr_SetString(PyExc_TypeError, "palette must be a sequence of integers");
    return NULL;
  }
  else if (PyObject_Length(_obj1) != 5) {
    PyErr_SetString(PyExc_ValueError, "palette must have five values");
    return NULL;
  }
  else {
    int i;
    TT_Byte *tmp_array;
    PyObject *tmp;

    tmp_array = (TT_Byte *)calloc(5, sizeof(TT_Byte));

    for (i=0; i<5; i++) {
      tmp = PySequence_GetItem(_obj1, i);
      if (!PyInt_Check(tmp)) {
	PyErr_SetString(PyExc_ValueError, "palette must be a sequence of integers");
	return NULL;
      }
      tmp_array[i] = (unsigned char)(PyInt_AsLong(tmp));
      Py_DECREF(tmp);
    }
    _arg1 = tmp_array;
  }
}
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Set_Raster_Gray_Palette(*_arg0,_arg1);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Open_Face(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Face * _result;
    TT_Engine * _arg0;
    TT_Text * _arg1;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"Os:TT_Open_Face",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Open_Face. Expected _TT_Engine_p.");
        return NULL;
        }
    }
{
      _result = (TT_Face *)pTT_Open_Face(*_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Face_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Open_Collection(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Face * _result;
    TT_Engine * _arg0;
    TT_Text * _arg1;
    TT_ULong  _arg2;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"Osl:TT_Open_Collection",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Open_Collection. Expected _TT_Engine_p.");
        return NULL;
        }
    }
{
      _result = (TT_Face *)pTT_Open_Collection(*_arg0,_arg1,_arg2);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Face_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Face_Properties(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Face_Properties * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Get_Face_Properties",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Face_Properties. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (TT_Face_Properties *)pTT_Get_Face_Properties(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Face_Properties_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Flush_Face(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Flush_Face",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Flush_Face. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Flush_Face(*_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Face_Metrics(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    TT_UShort  _arg2;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ohh:TT_Get_Face_Metrics",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Face_Metrics. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (PyObject *)pTT_Get_Face_Metrics(*_arg0,_arg1,_arg2);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_TT_Close_Face(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Close_Face",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Close_Face. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Close_Face(*_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Font_Data(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Face * _arg0;
    char * _arg1;
    TT_Long  _arg2;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Osl:TT_Get_Font_Data",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Font_Data. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (PyObject *)pTT_Get_Font_Data(*_arg0,_arg1,_arg2);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_TT_New_Instance(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Instance * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_New_Instance",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_New_Instance. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (TT_Instance *)pTT_New_Instance(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Instance_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Set_Instance_Resolutions(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Instance * _arg0;
    TT_UShort  _arg1;
    TT_UShort  _arg2;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ohh:TT_Set_Instance_Resolutions",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Set_Instance_Resolutions. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Set_Instance_Resolutions(*_arg0,_arg1,_arg2);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Set_Instance_CharSize(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Instance * _arg0;
    TT_F26Dot6  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Set_Instance_CharSize",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Set_Instance_CharSize. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Set_Instance_CharSize(*_arg0,_arg1);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Set_Instance_CharSizes(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Instance * _arg0;
    TT_F26Dot6  _arg1;
    TT_F26Dot6  _arg2;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oll:TT_Set_Instance_CharSizes",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Set_Instance_CharSizes. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Set_Instance_CharSizes(*_arg0,_arg1,_arg2);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Set_Instance_PointSize(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Instance * _arg0;
    TT_F26Dot6  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Set_Instance_PointSize",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Set_Instance_PointSize. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Set_Instance_PointSize(*_arg0,_arg1);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Set_Instance_PixelSizes(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Instance * _arg0;
    TT_UShort  _arg1;
    TT_UShort  _arg2;
    TT_F26Dot6  _arg3;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ohhl:TT_Set_Instance_PixelSizes",&_argo0,&_arg1,&_arg2,&_arg3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Set_Instance_PixelSizes. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Set_Instance_PixelSizes(*_arg0,_arg1,_arg2,_arg3);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Instance_Metrics(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Instance_Metrics * _result;
    TT_Instance * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Get_Instance_Metrics",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Instance_Metrics. Expected _TT_Instance_p.");
        return NULL;
        }
    }
{
      _result = (TT_Instance_Metrics *)pTT_Get_Instance_Metrics(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Instance_Metrics_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Done_Instance(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Instance * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Done_Instance",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Done_Instance. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Done_Instance(*_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_New_Glyph(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Glyph * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_New_Glyph",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_New_Glyph. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (TT_Glyph *)pTT_New_Glyph(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Glyph_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Done_Glyph(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Glyph * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Done_Glyph",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Done_Glyph. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Done_Glyph(*_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Load_Glyph(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Instance * _arg0;
    TT_Glyph * _arg1;
    TT_UShort  _arg2;
    TT_UShort  _arg3;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OOhh:TT_Load_Glyph",&_argo0,&_argo1,&_arg2,&_arg3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Load_Glyph. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Load_Glyph. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Load_Glyph(*_arg0,*_arg1,_arg2,_arg3);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Glyph_Outline(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Outline * _result;
    TT_Glyph * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Get_Glyph_Outline",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Glyph_Outline. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
{
      _result = (TT_Outline *)pTT_Get_Glyph_Outline(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Outline_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Glyph_Metrics(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Glyph_Metrics * _result;
    TT_Glyph * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Get_Glyph_Metrics",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Glyph_Metrics. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
{
      _result = (TT_Glyph_Metrics *)pTT_Get_Glyph_Metrics(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Glyph_Metrics_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Glyph_Big_Metrics(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Big_Glyph_Metrics * _result;
    TT_Glyph * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Get_Glyph_Big_Metrics",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Glyph_Big_Metrics. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
{
      _result = (TT_Big_Glyph_Metrics *)pTT_Get_Glyph_Big_Metrics(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Big_Glyph_Metrics_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Glyph_Bitmap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Glyph * _arg0;
    TT_Raster_Map * _arg1;
    TT_F26Dot6  _arg2;
    TT_F26Dot6  _arg3;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OOll:TT_Get_Glyph_Bitmap",&_argo0,&_argo1,&_arg2,&_arg3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Glyph_Bitmap. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Get_Glyph_Bitmap. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_Glyph_Bitmap(*_arg0,_arg1,_arg2,_arg3);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Glyph_Pixmap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Glyph * _arg0;
    TT_Raster_Map * _arg1;
    TT_F26Dot6  _arg2;
    TT_F26Dot6  _arg3;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OOll:TT_Get_Glyph_Pixmap",&_argo0,&_argo1,&_arg2,&_arg3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Glyph_Pixmap. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Get_Glyph_Pixmap. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_Glyph_Pixmap(*_arg0,_arg1,_arg2,_arg3);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_New_Outline(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Outline * _result;
    TT_UShort  _arg0;
    TT_Short  _arg1;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"hh:TT_New_Outline",&_arg0,&_arg1)) 
        return NULL;
{
      _result = (TT_Outline *)pTT_New_Outline(_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Outline_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Done_Outline(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Done_Outline",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Done_Outline. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Done_Outline(_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Copy_Outline(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Outline * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Copy_Outline",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Copy_Outline. Expected _TT_Outline_p.");
        return NULL;
        }
    }
{
      _result = (TT_Outline *)pTT_Copy_Outline(_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Outline_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Outline_Bitmap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Engine * _arg0;
    TT_Outline * _arg1;
    TT_Raster_Map * _arg2;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    PyObject * _argo2 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OOO:TT_Get_Outline_Bitmap",&_argo0,&_argo1,&_argo2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Outline_Bitmap. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Get_Outline_Bitmap. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    if (_argo2) {
        if (_argo2 == Py_None) { _arg2 = NULL; }
        else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of TT_Get_Outline_Bitmap. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_Outline_Bitmap(*_arg0,_arg1,_arg2);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Outline_Pixmap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Engine * _arg0;
    TT_Outline * _arg1;
    TT_Raster_Map * _arg2;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    PyObject * _argo2 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OOO:TT_Get_Outline_Pixmap",&_argo0,&_argo1,&_argo2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Outline_Pixmap. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Get_Outline_Pixmap. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    if (_argo2) {
        if (_argo2 == Py_None) { _arg2 = NULL; }
        else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of TT_Get_Outline_Pixmap. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_Outline_Pixmap(*_arg0,_arg1,_arg2);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Outline_BBox(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_BBox * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Get_Outline_BBox",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Outline_BBox. Expected _TT_Outline_p.");
        return NULL;
        }
    }
{
      _result = (TT_BBox *)pTT_Get_Outline_BBox(_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_BBox_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Transform_Outline(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Outline * _arg0;
    TT_Matrix * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Transform_Outline",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Transform_Outline. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Transform_Outline. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    TT_Transform_Outline(_arg0,_arg1);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static PyObject *_wrap_TT_Translate_Outline(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Outline * _arg0;
    TT_F26Dot6  _arg1;
    TT_F26Dot6  _arg2;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oll:TT_Translate_Outline",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Translate_Outline. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    TT_Translate_Outline(_arg0,_arg1,_arg2);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static PyObject *_wrap_TT_Transform_Vector(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F26Dot6 * _arg0;
    TT_F26Dot6 * _arg1;
    TT_Matrix * _arg2;
    long  temp;
    PyObject * _obj0 = 0;
    long  temp0;
    PyObject * _obj1 = 0;
    PyObject * _argo2 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OOO:TT_Transform_Vector",&_obj0,&_obj1,&_argo2)) 
        return NULL;
{
  temp = (long) PyInt_AsLong(_obj0);
  _arg0 = &temp;
}
{
  temp0 = (long) PyInt_AsLong(_obj1);
  _arg1 = &temp0;
}
    if (_argo2) {
        if (_argo2 == Py_None) { _arg2 = NULL; }
        else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of TT_Transform_Vector. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    TT_Transform_Vector(_arg0,_arg1,_arg2);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg0));
    _resultobj = t_output_helper(_resultobj, o);
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg1));
    _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_MulDiv(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Long  _arg0;
    TT_Long  _arg1;
    TT_Long  _arg2;

    self = self;
    if(!PyArg_ParseTuple(args,"lll:TT_MulDiv",&_arg0,&_arg1,&_arg2)) 
        return NULL;
    _result = (TT_Long )TT_MulDiv(_arg0,_arg1,_arg2);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

static PyObject *_wrap_TT_MulFix(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Long  _arg0;
    TT_Long  _arg1;

    self = self;
    if(!PyArg_ParseTuple(args,"ll:TT_MulFix",&_arg0,&_arg1)) 
        return NULL;
    _result = (TT_Long )TT_MulFix(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

static PyObject *_wrap_TT_Get_CharMap_ID(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    TT_UShort * _arg2;
    unsigned short  temp;
    TT_UShort * _arg3;
    unsigned short  temp0;
    PyObject * _argo0 = 0;

    self = self;
{
  _arg2 = &temp;
}
{
  _arg3 = &temp0;
}
    if(!PyArg_ParseTuple(args,"Oh:TT_Get_CharMap_ID",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_CharMap_ID. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_CharMap_ID(*_arg0,_arg1,_arg2,_arg3);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg2));
    _resultobj = t_output_helper(_resultobj, o);
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg3));
    _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_CharMap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_CharMap * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Get_CharMap",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_CharMap. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (TT_CharMap *)pTT_Get_CharMap(*_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_CharMap_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_pTT_Char_Index(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_CharMap * _arg0;
    PyObject * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OO:pTT_Char_Index",&_argo0,&_obj1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of pTT_Char_Index. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
{
  _arg1 = _obj1;
}
{
      _result = (PyObject *)pTT_Char_Index(*_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_pTT_String_Indices(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_CharMap * _arg0;
    PyObject * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OO:pTT_String_Indices",&_argo0,&_obj1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of pTT_String_Indices. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
{
  _arg1 = _obj1;
}
{
      _result = (PyObject *)pTT_String_Indices(*_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_TT_Char_Index(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_CharMap * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Char_Index",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Char_Index. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Char_Index(*_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Name_ID(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    TT_UShort * _arg2;
    unsigned short  temp;
    TT_UShort * _arg3;
    unsigned short  temp0;
    TT_UShort * _arg4;
    unsigned short  temp1;
    TT_UShort * _arg5;
    unsigned short  temp2;
    PyObject * _argo0 = 0;

    self = self;
{
  _arg2 = &temp;
}
{
  _arg3 = &temp0;
}
{
  _arg4 = &temp1;
}
{
  _arg5 = &temp2;
}
    if(!PyArg_ParseTuple(args,"Oh:TT_Get_Name_ID",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Name_ID. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_Name_ID(*_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg2));
    _resultobj = t_output_helper(_resultobj, o);
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg3));
    _resultobj = t_output_helper(_resultobj, o);
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg4));
    _resultobj = t_output_helper(_resultobj, o);
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg5));
    _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Name_String(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Get_Name_String",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Name_String. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (PyObject *)pTT_Get_Name_String(*_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_TT_Init_Kerning_Extension(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Engine * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Init_Kerning_Extension",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Init_Kerning_Extension. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Init_Kerning_Extension(*_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Kerning_Directory(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kerning * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Get_Kerning_Directory",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Kerning_Directory. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (TT_Kerning *)pTT_Get_Kerning_Directory(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kerning_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Load_Kerning_Table(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Load_Kerning_Table",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Load_Kerning_Table. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Load_Kerning_Table(*_arg0,_arg1);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_CharMap_First(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_CharMap * _arg0;
    TT_UShort * _arg1;
    unsigned short  temp;
    PyObject * _argo0 = 0;

    self = self;
{
  _arg1 = &temp;
}
    if(!PyArg_ParseTuple(args,"O:TT_CharMap_First",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_CharMap_First. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_CharMap_First(*_arg0,_arg1);
{
  if (_result == -1) {
    PyErr_SetString(FreeTypeError, "cannot get character code");
    return NULL;
  }
  else {
    _resultobj = Py_BuildValue("l",_result);
  }
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg1));
    _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_CharMap_Next(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_CharMap * _arg0;
    TT_UShort  _arg1;
    TT_UShort * _arg2;
    unsigned short  temp;
    PyObject * _argo0 = 0;

    self = self;
{
  _arg2 = &temp;
}
    if(!PyArg_ParseTuple(args,"Oh:TT_CharMap_Next",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_CharMap_Next. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_CharMap_Next(*_arg0,_arg1,_arg2);
{
  if (_result == -1) {
    PyErr_SetString(FreeTypeError, "cannot get character code");
    return NULL;
  }
  else {
    _resultobj = Py_BuildValue("l",_result);
  }
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg2));
    _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_CharMap_Last(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_CharMap * _arg0;
    TT_UShort * _arg1;
    unsigned short  temp;
    PyObject * _argo0 = 0;

    self = self;
{
  _arg1 = &temp;
}
    if(!PyArg_ParseTuple(args,"O:TT_CharMap_Last",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_CharMap_Last. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_CharMap_Last(*_arg0,_arg1);
{
  if (_result == -1) {
    PyErr_SetString(FreeTypeError, "cannot get character code");
    return NULL;
  }
  else {
    _resultobj = Py_BuildValue("l",_result);
  }
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg1));
    _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Face_Gasp_Flags(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    TT_Bool * _arg2;
    int  temp;
    TT_Bool * _arg3;
    int  temp0;
    PyObject * _argo0 = 0;

    self = self;
{
  _arg2 = &temp;
}
{
  _arg3 = &temp0;
}
    if(!PyArg_ParseTuple(args,"Oh:TT_Get_Face_Gasp_Flags",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Face_Gasp_Flags. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_Face_Gasp_Flags(*_arg0,_arg1,_arg2,_arg3);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg2));
    _resultobj = t_output_helper(_resultobj, o);
}
{
    PyObject *o;
    o = PyInt_FromLong((long) (*_arg3));
    _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_Init_Post_Extension(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Engine * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Init_Post_Extension",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Init_Post_Extension. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Init_Post_Extension(*_arg0);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
    return _resultobj;
}

static PyObject *_wrap_TT_Load_PS_Names(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Post * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Load_PS_Names",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Load_PS_Names. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (TT_Post *)pTT_Load_PS_Names(*_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Post_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_TT_Get_PS_Name(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Error * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    TT_String ** _arg2;
    PyObject * _argo0 = 0;

    self = self;
{
  char *temp;
  _arg2 = &temp;
}
    if(!PyArg_ParseTuple(args,"Oh:TT_Get_PS_Name",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_PS_Name. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (TT_Error *) malloc(sizeof(TT_Error ));
    *(_result) = TT_Get_PS_Name(*_arg0,_arg1,_arg2);
{
  if (*_result) {
    char *errstring;

    errstring = TT_ErrToString18(*_result);

    PyErr_SetString(FreeTypeError, errstring);
    return NULL;
  }
  else {
    _resultobj = Py_None;
    Py_INCREF(Py_None);
  }
}
{
  PyObject *o;

  if (_arg2 == NULL) {
    PyErr_SetString(FreeTypeError, "cannot get name");
    return NULL;
  }

  o = PyString_FromString(*_arg2);
  _resultobj = t_output_helper(_resultobj, o);
}
    return _resultobj;
}

static PyObject *_wrap_TT_Get_Face_Widths(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Face * _arg0;
    TT_UShort  _arg1;
    TT_UShort  _arg2;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ohh:TT_Get_Face_Widths",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Get_Face_Widths. Expected _TT_Face_p.");
        return NULL;
        }
    }
{
      _result = (PyObject *)pTT_Get_Face_Widths(*_arg0,_arg1,_arg2);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_calloc(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    unsigned  _arg0;
    unsigned  _arg1;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"ii:calloc",&_arg0,&_arg1)) 
        return NULL;
    _result = (void *)calloc(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_malloc(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    unsigned  _arg0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"i:malloc",&_arg0)) 
        return NULL;
    _result = (void *)malloc(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_realloc(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    void * _arg0;
    unsigned  _arg1;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:realloc",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of realloc. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)realloc(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_free(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:free",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of free. Expected _void_p.");
        return NULL;
        }
    }
    free(_arg0);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static PyObject *_wrap_memcpy(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    void * _arg0;
    void * _arg1;
    int  _arg2;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OOi:memcpy",&_argo0,&_argo1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of memcpy. Expected _void_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of memcpy. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)memcpy(_arg0,_arg1,_arg2);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_memmove(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    void * _arg0;
    void * _arg1;
    int  _arg2;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OOi:memmove",&_argo0,&_argo1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of memmove. Expected _void_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of memmove. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)memmove(_arg0,_arg1,_arg2);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_memcmp(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    void * _arg0;
    void * _arg1;
    int  _arg2;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OOi:memcmp",&_argo0,&_argo1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of memcmp. Expected _void_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of memcmp. Expected _void_p.");
        return NULL;
        }
    }
    _result = (int )memcmp(_arg0,_arg1,_arg2);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

static PyObject *_wrap_memchr(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    void * _arg0;
    char  _arg1;
    int  _arg2;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"Oci:memchr",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of memchr. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)memchr(_arg0,_arg1,_arg2);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_memset(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    void * _arg0;
    char  _arg1;
    int  _arg2;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"Oci:memset",&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of memset. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)memset(_arg0,_arg1,_arg2);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_ptrcast(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    PyObject * _arg0;
    char * _arg1;
    PyObject * _obj0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Os:ptrcast",&_obj0,&_arg1)) 
        return NULL;
{
  _arg0 = _obj0;
}
{
      _result = (PyObject *)ptrcast(_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_ptrvalue(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    PyObject * _arg0;
    int  _arg1 = (int ) 0;
    char * _arg2 = (char *) 0;
    PyObject * _obj0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O|is:ptrvalue",&_obj0,&_arg1,&_arg2)) 
        return NULL;
{
  _arg0 = _obj0;
}
{
      _result = (PyObject *)ptrvalue(_arg0,_arg1,_arg2);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_ptrset(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    PyObject * _arg0;
    PyObject * _arg1;
    int  _arg2 = (int ) 0;
    char * _arg3 = (char *) 0;
    PyObject * _obj0 = 0;
    PyObject * _obj1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"OO|is:ptrset",&_obj0,&_obj1,&_arg2,&_arg3)) 
        return NULL;
{
  _arg0 = _obj0;
}
{
  _arg1 = _obj1;
}
{
      _result = (PyObject *)ptrset(_arg0,_arg1,_arg2,_arg3);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_ptrcreate(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    char * _arg0;
    PyObject * _arg1 = (PyObject *) 0;
    int  _arg2 = (int ) 1;
    PyObject * _obj1 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"s|Oi:ptrcreate",&_arg0,&_obj1,&_arg2)) 
        return NULL;
    if (_obj1)
{
  _arg1 = _obj1;
}
{
      _result = (PyObject *)ptrcreate(_arg0,_arg1,_arg2);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_ptrfree(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    PyObject * _arg0;
    PyObject * _obj0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:ptrfree",&_obj0)) 
        return NULL;
{
  _arg0 = _obj0;
}
{
      _result = (PyObject *)ptrfree(_arg0);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_ptradd(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    PyObject * _arg0;
    int  _arg1;
    PyObject * _obj0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:ptradd",&_obj0,&_arg1)) 
        return NULL;
{
  _arg0 = _obj0;
}
{
      _result = (PyObject *)ptradd(_arg0,_arg1);
;
  if (_result == NULL) {
    /* There was an error.  Make Python catch the exception on returning
       from the function. */

    return NULL;
  }
}{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject *_wrap_ptrmap(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    char * _arg0;
    char * _arg1;

    self = self;
    if(!PyArg_ParseTuple(args,"ss:ptrmap",&_arg0,&_arg1)) 
        return NULL;
    ptrmap(_arg0,_arg1);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define TT_UnitVector_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
static PyObject *_wrap_TT_UnitVector_x_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F2Dot14  _result;
    TT_UnitVector * _arg0;
    TT_F2Dot14  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_UnitVector_x_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_UnitVector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_UnitVector_x_set. Expected _TT_UnitVector_p.");
        return NULL;
        }
    }
    _result = (TT_F2Dot14 )TT_UnitVector_x_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_UnitVector_x_get(_swigobj) ((TT_F2Dot14 ) _swigobj->x)
static PyObject *_wrap_TT_UnitVector_x_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F2Dot14  _result;
    TT_UnitVector * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_UnitVector_x_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_UnitVector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_UnitVector_x_get. Expected _TT_UnitVector_p.");
        return NULL;
        }
    }
    _result = (TT_F2Dot14 )TT_UnitVector_x_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_UnitVector_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
static PyObject *_wrap_TT_UnitVector_y_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F2Dot14  _result;
    TT_UnitVector * _arg0;
    TT_F2Dot14  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_UnitVector_y_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_UnitVector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_UnitVector_y_set. Expected _TT_UnitVector_p.");
        return NULL;
        }
    }
    _result = (TT_F2Dot14 )TT_UnitVector_y_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_UnitVector_y_get(_swigobj) ((TT_F2Dot14 ) _swigobj->y)
static PyObject *_wrap_TT_UnitVector_y_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F2Dot14  _result;
    TT_UnitVector * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_UnitVector_y_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_UnitVector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_UnitVector_y_get. Expected _TT_UnitVector_p.");
        return NULL;
        }
    }
    _result = (TT_F2Dot14 )TT_UnitVector_y_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define new_TT_UnitVector() ((TT_UnitVector *) calloc(1,sizeof(TT_UnitVector)))
static PyObject *_wrap_new_TT_UnitVector(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UnitVector * _result;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,":new_TT_UnitVector")) 
        return NULL;
    _result = (TT_UnitVector *)new_TT_UnitVector();
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_UnitVector_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define delete_TT_UnitVector(_swigobj) (free ((char *) _swigobj))
static PyObject *_wrap_delete_TT_UnitVector(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UnitVector * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:delete_TT_UnitVector",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_UnitVector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_TT_UnitVector. Expected _TT_UnitVector_p.");
        return NULL;
        }
    }
    delete_TT_UnitVector(_arg0);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define TT_Vector_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
static PyObject *_wrap_TT_Vector_x_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F26Dot6  _result;
    TT_Vector * _arg0;
    TT_F26Dot6  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Vector_x_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vector_x_set. Expected _TT_Vector_p.");
        return NULL;
        }
    }
    _result = (TT_F26Dot6 )TT_Vector_x_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Vector_x_get(_swigobj) ((TT_F26Dot6 ) _swigobj->x)
static PyObject *_wrap_TT_Vector_x_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F26Dot6  _result;
    TT_Vector * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vector_x_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vector_x_get. Expected _TT_Vector_p.");
        return NULL;
        }
    }
    _result = (TT_F26Dot6 )TT_Vector_x_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Vector_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
static PyObject *_wrap_TT_Vector_y_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F26Dot6  _result;
    TT_Vector * _arg0;
    TT_F26Dot6  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Vector_y_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vector_y_set. Expected _TT_Vector_p.");
        return NULL;
        }
    }
    _result = (TT_F26Dot6 )TT_Vector_y_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Vector_y_get(_swigobj) ((TT_F26Dot6 ) _swigobj->y)
static PyObject *_wrap_TT_Vector_y_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F26Dot6  _result;
    TT_Vector * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vector_y_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vector_y_get. Expected _TT_Vector_p.");
        return NULL;
        }
    }
    _result = (TT_F26Dot6 )TT_Vector_y_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_TT_Vector() ((TT_Vector *) calloc(1,sizeof(TT_Vector)))
static PyObject *_wrap_new_TT_Vector(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Vector * _result;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,":new_TT_Vector")) 
        return NULL;
    _result = (TT_Vector *)new_TT_Vector();
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Vector_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define delete_TT_Vector(_swigobj) (free ((char *) _swigobj))
static PyObject *_wrap_delete_TT_Vector(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Vector * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:delete_TT_Vector",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_TT_Vector. Expected _TT_Vector_p.");
        return NULL;
        }
    }
    delete_TT_Vector(_arg0);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define TT_Matrix_xx_set(_swigobj,_swigval) (_swigobj->xx = _swigval,_swigval)
static PyObject *_wrap_TT_Matrix_xx_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Matrix_xx_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_xx_set. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_xx_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Matrix_xx_get(_swigobj) ((TT_Fixed ) _swigobj->xx)
static PyObject *_wrap_TT_Matrix_xx_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Matrix_xx_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_xx_get. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_xx_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Matrix_xy_set(_swigobj,_swigval) (_swigobj->xy = _swigval,_swigval)
static PyObject *_wrap_TT_Matrix_xy_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Matrix_xy_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_xy_set. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_xy_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Matrix_xy_get(_swigobj) ((TT_Fixed ) _swigobj->xy)
static PyObject *_wrap_TT_Matrix_xy_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Matrix_xy_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_xy_get. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_xy_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Matrix_yx_set(_swigobj,_swigval) (_swigobj->yx = _swigval,_swigval)
static PyObject *_wrap_TT_Matrix_yx_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Matrix_yx_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_yx_set. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_yx_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Matrix_yx_get(_swigobj) ((TT_Fixed ) _swigobj->yx)
static PyObject *_wrap_TT_Matrix_yx_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Matrix_yx_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_yx_get. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_yx_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Matrix_yy_set(_swigobj,_swigval) (_swigobj->yy = _swigval,_swigval)
static PyObject *_wrap_TT_Matrix_yy_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Matrix_yy_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_yy_set. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_yy_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Matrix_yy_get(_swigobj) ((TT_Fixed ) _swigobj->yy)
static PyObject *_wrap_TT_Matrix_yy_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Matrix * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Matrix_yy_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Matrix_yy_get. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Matrix_yy_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_TT_Matrix() ((TT_Matrix *) calloc(1,sizeof(TT_Matrix)))
static PyObject *_wrap_new_TT_Matrix(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Matrix * _result;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,":new_TT_Matrix")) 
        return NULL;
    _result = (TT_Matrix *)new_TT_Matrix();
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Matrix_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define delete_TT_Matrix(_swigobj) (free ((char *) _swigobj))
static PyObject *_wrap_delete_TT_Matrix(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Matrix * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:delete_TT_Matrix",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Matrix_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_TT_Matrix. Expected _TT_Matrix_p.");
        return NULL;
        }
    }
    delete_TT_Matrix(_arg0);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define TT_Outline_n_contours_set(_swigobj,_swigval) (_swigobj->n_contours = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_n_contours_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Outline * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Outline_n_contours_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_n_contours_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Outline_n_contours_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Outline_n_contours_get(_swigobj) ((TT_Short ) _swigobj->n_contours)
static PyObject *_wrap_TT_Outline_n_contours_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_n_contours_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_n_contours_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Outline_n_contours_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Outline_n_points_set(_swigobj,_swigval) (_swigobj->n_points = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_n_points_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Outline * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Outline_n_points_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_n_points_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Outline_n_points_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Outline_n_points_get(_swigobj) ((TT_UShort ) _swigobj->n_points)
static PyObject *_wrap_TT_Outline_n_points_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_n_points_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_n_points_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Outline_n_points_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Outline_points_set(_swigobj,_swigval) (_swigobj->points = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_points_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Vector * _result;
    TT_Outline * _arg0;
    TT_Vector * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Outline_points_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_points_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Vector_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Outline_points_set. Expected _TT_Vector_p.");
        return NULL;
        }
    }
    _result = (TT_Vector *)TT_Outline_points_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Vector_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Outline_points_get(_swigobj) ((TT_Vector *) _swigobj->points)
static PyObject *_wrap_TT_Outline_points_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Vector * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_points_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_points_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Vector *)TT_Outline_points_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Vector_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Outline_flags_set(_swigobj,_swigval) (_swigobj->flags = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_flags_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte * _result;
    TT_Outline * _arg0;
    TT_Byte * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Outline_flags_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_flags_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Byte_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Outline_flags_set. Expected _TT_Byte_p.");
        return NULL;
        }
    }
    _result = (TT_Byte *)TT_Outline_flags_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Byte_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Outline_flags_get(_swigobj) ((TT_Byte *) _swigobj->flags)
static PyObject *_wrap_TT_Outline_flags_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_flags_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_flags_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Byte *)TT_Outline_flags_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Byte_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Outline_contours_set(_swigobj,_swigval) (_swigobj->contours = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_contours_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort * _result;
    TT_Outline * _arg0;
    TT_UShort * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Outline_contours_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_contours_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_UShort_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Outline_contours_set. Expected _TT_UShort_p.");
        return NULL;
        }
    }
    _result = (TT_UShort *)TT_Outline_contours_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_UShort_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Outline_contours_get(_swigobj) ((TT_UShort *) _swigobj->contours)
static PyObject *_wrap_TT_Outline_contours_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort * _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_contours_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_contours_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_UShort *)TT_Outline_contours_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_UShort_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Outline_owner_set(_swigobj,_swigval) (_swigobj->owner = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_owner_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Outline * _arg0;
    TT_Bool  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Outline_owner_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_owner_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Outline_owner_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Outline_owner_get(_swigobj) ((TT_Bool ) _swigobj->owner)
static PyObject *_wrap_TT_Outline_owner_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_owner_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_owner_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Outline_owner_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Outline_high_precision_set(_swigobj,_swigval) (_swigobj->high_precision = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_high_precision_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Outline * _arg0;
    TT_Bool  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Outline_high_precision_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_high_precision_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Outline_high_precision_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Outline_high_precision_get(_swigobj) ((TT_Bool ) _swigobj->high_precision)
static PyObject *_wrap_TT_Outline_high_precision_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_high_precision_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_high_precision_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Outline_high_precision_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Outline_second_pass_set(_swigobj,_swigval) (_swigobj->second_pass = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_second_pass_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Outline * _arg0;
    TT_Bool  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Outline_second_pass_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_second_pass_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Outline_second_pass_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Outline_second_pass_get(_swigobj) ((TT_Bool ) _swigobj->second_pass)
static PyObject *_wrap_TT_Outline_second_pass_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_second_pass_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_second_pass_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Outline_second_pass_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Outline_dropout_mode_set(_swigobj,_swigval) (_swigobj->dropout_mode = _swigval,_swigval)
static PyObject *_wrap_TT_Outline_dropout_mode_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Char  _result;
    TT_Outline * _arg0;
    TT_Char  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ob:TT_Outline_dropout_mode_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_dropout_mode_set. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Char )TT_Outline_dropout_mode_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Outline_dropout_mode_get(_swigobj) ((TT_Char ) _swigobj->dropout_mode)
static PyObject *_wrap_TT_Outline_dropout_mode_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Char  _result;
    TT_Outline * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Outline_dropout_mode_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Outline_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Outline_dropout_mode_get. Expected _TT_Outline_p.");
        return NULL;
        }
    }
    _result = (TT_Char )TT_Outline_dropout_mode_get(_arg0);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_BBox_xMin_set(_swigobj,_swigval) (_swigobj->xMin = _swigval,_swigval)
static PyObject *_wrap_TT_BBox_xMin_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_BBox_xMin_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_xMin_set. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_xMin_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_BBox_xMin_get(_swigobj) ((TT_Pos ) _swigobj->xMin)
static PyObject *_wrap_TT_BBox_xMin_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_BBox_xMin_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_xMin_get. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_xMin_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_BBox_yMin_set(_swigobj,_swigval) (_swigobj->yMin = _swigval,_swigval)
static PyObject *_wrap_TT_BBox_yMin_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_BBox_yMin_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_yMin_set. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_yMin_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_BBox_yMin_get(_swigobj) ((TT_Pos ) _swigobj->yMin)
static PyObject *_wrap_TT_BBox_yMin_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_BBox_yMin_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_yMin_get. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_yMin_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_BBox_xMax_set(_swigobj,_swigval) (_swigobj->xMax = _swigval,_swigval)
static PyObject *_wrap_TT_BBox_xMax_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_BBox_xMax_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_xMax_set. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_xMax_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_BBox_xMax_get(_swigobj) ((TT_Pos ) _swigobj->xMax)
static PyObject *_wrap_TT_BBox_xMax_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_BBox_xMax_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_xMax_get. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_xMax_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_BBox_yMax_set(_swigobj,_swigval) (_swigobj->yMax = _swigval,_swigval)
static PyObject *_wrap_TT_BBox_yMax_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_BBox_yMax_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_yMax_set. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_yMax_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_BBox_yMax_get(_swigobj) ((TT_Pos ) _swigobj->yMax)
static PyObject *_wrap_TT_BBox_yMax_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_BBox * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_BBox_yMax_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_BBox_yMax_get. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_BBox_yMax_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Glyph_Metrics_bbox_set(_swigobj,_swigval) (_swigobj->bbox = *(_swigval),_swigval)
static PyObject *_wrap_TT_Glyph_Metrics_bbox_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_BBox * _result;
    TT_Glyph_Metrics * _arg0;
    TT_BBox * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Glyph_Metrics_bbox_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_bbox_set. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Glyph_Metrics_bbox_set. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_BBox *)TT_Glyph_Metrics_bbox_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_BBox_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Glyph_Metrics_bbox_get(_swigobj) (&_swigobj->bbox)
static PyObject *_wrap_TT_Glyph_Metrics_bbox_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_BBox * _result;
    TT_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Glyph_Metrics_bbox_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_bbox_get. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_BBox *)TT_Glyph_Metrics_bbox_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_BBox_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Glyph_Metrics_bearingX_set(_swigobj,_swigval) (_swigobj->bearingX = _swigval,_swigval)
static PyObject *_wrap_TT_Glyph_Metrics_bearingX_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Glyph_Metrics_bearingX_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_bearingX_set. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Glyph_Metrics_bearingX_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Glyph_Metrics_bearingX_get(_swigobj) ((TT_Pos ) _swigobj->bearingX)
static PyObject *_wrap_TT_Glyph_Metrics_bearingX_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Glyph_Metrics_bearingX_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_bearingX_get. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Glyph_Metrics_bearingX_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Glyph_Metrics_bearingY_set(_swigobj,_swigval) (_swigobj->bearingY = _swigval,_swigval)
static PyObject *_wrap_TT_Glyph_Metrics_bearingY_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Glyph_Metrics_bearingY_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_bearingY_set. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Glyph_Metrics_bearingY_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Glyph_Metrics_bearingY_get(_swigobj) ((TT_Pos ) _swigobj->bearingY)
static PyObject *_wrap_TT_Glyph_Metrics_bearingY_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Glyph_Metrics_bearingY_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_bearingY_get. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Glyph_Metrics_bearingY_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Glyph_Metrics_advance_set(_swigobj,_swigval) (_swigobj->advance = _swigval,_swigval)
static PyObject *_wrap_TT_Glyph_Metrics_advance_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Glyph_Metrics_advance_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_advance_set. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Glyph_Metrics_advance_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Glyph_Metrics_advance_get(_swigobj) ((TT_Pos ) _swigobj->advance)
static PyObject *_wrap_TT_Glyph_Metrics_advance_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Glyph_Metrics_advance_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_Metrics_advance_get. Expected _TT_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Glyph_Metrics_advance_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_bbox_set(_swigobj,_swigval) (_swigobj->bbox = *(_swigval),_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_bbox_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_BBox * _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_BBox * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Big_Glyph_Metrics_bbox_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_bbox_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_BBox_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Big_Glyph_Metrics_bbox_set. Expected _TT_BBox_p.");
        return NULL;
        }
    }
    _result = (TT_BBox *)TT_Big_Glyph_Metrics_bbox_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_BBox_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_bbox_get(_swigobj) (&_swigobj->bbox)
static PyObject *_wrap_TT_Big_Glyph_Metrics_bbox_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_BBox * _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_bbox_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_bbox_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_BBox *)TT_Big_Glyph_Metrics_bbox_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_BBox_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_horiBearingX_set(_swigobj,_swigval) (_swigobj->horiBearingX = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_horiBearingX_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_horiBearingX_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_horiBearingX_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_horiBearingX_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_horiBearingX_get(_swigobj) ((TT_Pos ) _swigobj->horiBearingX)
static PyObject *_wrap_TT_Big_Glyph_Metrics_horiBearingX_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_horiBearingX_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_horiBearingX_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_horiBearingX_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_horiBearingY_set(_swigobj,_swigval) (_swigobj->horiBearingY = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_horiBearingY_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_horiBearingY_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_horiBearingY_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_horiBearingY_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_horiBearingY_get(_swigobj) ((TT_Pos ) _swigobj->horiBearingY)
static PyObject *_wrap_TT_Big_Glyph_Metrics_horiBearingY_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_horiBearingY_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_horiBearingY_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_horiBearingY_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_vertBearingX_set(_swigobj,_swigval) (_swigobj->vertBearingX = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_vertBearingX_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_vertBearingX_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_vertBearingX_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_vertBearingX_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_vertBearingX_get(_swigobj) ((TT_Pos ) _swigobj->vertBearingX)
static PyObject *_wrap_TT_Big_Glyph_Metrics_vertBearingX_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_vertBearingX_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_vertBearingX_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_vertBearingX_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_vertBearingY_set(_swigobj,_swigval) (_swigobj->vertBearingY = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_vertBearingY_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_vertBearingY_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_vertBearingY_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_vertBearingY_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_vertBearingY_get(_swigobj) ((TT_Pos ) _swigobj->vertBearingY)
static PyObject *_wrap_TT_Big_Glyph_Metrics_vertBearingY_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_vertBearingY_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_vertBearingY_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_vertBearingY_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_horiAdvance_set(_swigobj,_swigval) (_swigobj->horiAdvance = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_horiAdvance_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_horiAdvance_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_horiAdvance_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_horiAdvance_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_horiAdvance_get(_swigobj) ((TT_Pos ) _swigobj->horiAdvance)
static PyObject *_wrap_TT_Big_Glyph_Metrics_horiAdvance_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_horiAdvance_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_horiAdvance_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_horiAdvance_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_vertAdvance_set(_swigobj,_swigval) (_swigobj->vertAdvance = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_vertAdvance_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_vertAdvance_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_vertAdvance_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_vertAdvance_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_vertAdvance_get(_swigobj) ((TT_Pos ) _swigobj->vertAdvance)
static PyObject *_wrap_TT_Big_Glyph_Metrics_vertAdvance_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_vertAdvance_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_vertAdvance_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_vertAdvance_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearHoriBearingX_set(_swigobj,_swigval) (_swigobj->linearHoriBearingX = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearHoriBearingX_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_linearHoriBearingX_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearHoriBearingX_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearHoriBearingX_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearHoriBearingX_get(_swigobj) ((TT_Pos ) _swigobj->linearHoriBearingX)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearHoriBearingX_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_linearHoriBearingX_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearHoriBearingX_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearHoriBearingX_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearHoriAdvance_set(_swigobj,_swigval) (_swigobj->linearHoriAdvance = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearHoriAdvance_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_linearHoriAdvance_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearHoriAdvance_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearHoriAdvance_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearHoriAdvance_get(_swigobj) ((TT_Pos ) _swigobj->linearHoriAdvance)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearHoriAdvance_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_linearHoriAdvance_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearHoriAdvance_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearHoriAdvance_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearVertBearingY_set(_swigobj,_swigval) (_swigobj->linearVertBearingY = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearVertBearingY_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_linearVertBearingY_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearVertBearingY_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearVertBearingY_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearVertBearingY_get(_swigobj) ((TT_Pos ) _swigobj->linearVertBearingY)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearVertBearingY_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_linearVertBearingY_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearVertBearingY_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearVertBearingY_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearVertAdvance_set(_swigobj,_swigval) (_swigobj->linearVertAdvance = _swigval,_swigval)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearVertAdvance_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    TT_Pos  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Big_Glyph_Metrics_linearVertAdvance_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearVertAdvance_set. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearVertAdvance_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Big_Glyph_Metrics_linearVertAdvance_get(_swigobj) ((TT_Pos ) _swigobj->linearVertAdvance)
static PyObject *_wrap_TT_Big_Glyph_Metrics_linearVertAdvance_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Pos  _result;
    TT_Big_Glyph_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Big_Glyph_Metrics_linearVertAdvance_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Big_Glyph_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Big_Glyph_Metrics_linearVertAdvance_get. Expected _TT_Big_Glyph_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Pos )TT_Big_Glyph_Metrics_linearVertAdvance_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_pointSize_set(_swigobj,_swigval) (_swigobj->pointSize = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_Metrics_pointSize_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F26Dot6  _result;
    TT_Instance_Metrics * _arg0;
    TT_F26Dot6  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Instance_Metrics_pointSize_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_pointSize_set. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_F26Dot6 )TT_Instance_Metrics_pointSize_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_pointSize_get(_swigobj) ((TT_F26Dot6 ) _swigobj->pointSize)
static PyObject *_wrap_TT_Instance_Metrics_pointSize_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_F26Dot6  _result;
    TT_Instance_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_Metrics_pointSize_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_pointSize_get. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_F26Dot6 )TT_Instance_Metrics_pointSize_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_x_ppem_set(_swigobj,_swigval) (_swigobj->x_ppem = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_Metrics_x_ppem_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Instance_Metrics_x_ppem_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_x_ppem_set. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_x_ppem_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_x_ppem_get(_swigobj) ((TT_UShort ) _swigobj->x_ppem)
static PyObject *_wrap_TT_Instance_Metrics_x_ppem_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_Metrics_x_ppem_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_x_ppem_get. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_x_ppem_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_y_ppem_set(_swigobj,_swigval) (_swigobj->y_ppem = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_Metrics_y_ppem_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Instance_Metrics_y_ppem_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_y_ppem_set. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_y_ppem_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_y_ppem_get(_swigobj) ((TT_UShort ) _swigobj->y_ppem)
static PyObject *_wrap_TT_Instance_Metrics_y_ppem_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_Metrics_y_ppem_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_y_ppem_get. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_y_ppem_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_x_scale_set(_swigobj,_swigval) (_swigobj->x_scale = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_Metrics_x_scale_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Instance_Metrics * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Instance_Metrics_x_scale_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_x_scale_set. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Instance_Metrics_x_scale_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_x_scale_get(_swigobj) ((TT_Fixed ) _swigobj->x_scale)
static PyObject *_wrap_TT_Instance_Metrics_x_scale_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Instance_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_Metrics_x_scale_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_x_scale_get. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Instance_Metrics_x_scale_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_y_scale_set(_swigobj,_swigval) (_swigobj->y_scale = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_Metrics_y_scale_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Instance_Metrics * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Instance_Metrics_y_scale_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_y_scale_set. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Instance_Metrics_y_scale_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_y_scale_get(_swigobj) ((TT_Fixed ) _swigobj->y_scale)
static PyObject *_wrap_TT_Instance_Metrics_y_scale_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Instance_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_Metrics_y_scale_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_y_scale_get. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Instance_Metrics_y_scale_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_x_resolution_set(_swigobj,_swigval) (_swigobj->x_resolution = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_Metrics_x_resolution_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Instance_Metrics_x_resolution_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_x_resolution_set. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_x_resolution_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_x_resolution_get(_swigobj) ((TT_UShort ) _swigobj->x_resolution)
static PyObject *_wrap_TT_Instance_Metrics_x_resolution_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_Metrics_x_resolution_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_x_resolution_get. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_x_resolution_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_y_resolution_set(_swigobj,_swigval) (_swigobj->y_resolution = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_Metrics_y_resolution_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Instance_Metrics_y_resolution_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_y_resolution_set. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_y_resolution_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Instance_Metrics_y_resolution_get(_swigobj) ((TT_UShort ) _swigobj->y_resolution)
static PyObject *_wrap_TT_Instance_Metrics_y_resolution_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Instance_Metrics * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_Metrics_y_resolution_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_Metrics_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_Metrics_y_resolution_get. Expected _TT_Instance_Metrics_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Instance_Metrics_y_resolution_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Raster_Map_rows_set(_swigobj,_swigval) (_swigobj->rows = _swigval,_swigval)
static PyObject *_wrap_TT_Raster_Map_rows_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    int  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Raster_Map_rows_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_rows_set. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_rows_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_rows_get(_swigobj) ((int ) _swigobj->rows)
static PyObject *_wrap_TT_Raster_Map_rows_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_rows_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_rows_get. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_rows_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_cols_set(_swigobj,_swigval) (_swigobj->cols = _swigval,_swigval)
static PyObject *_wrap_TT_Raster_Map_cols_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    int  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Raster_Map_cols_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_cols_set. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_cols_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_cols_get(_swigobj) ((int ) _swigobj->cols)
static PyObject *_wrap_TT_Raster_Map_cols_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_cols_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_cols_get. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_cols_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
static PyObject *_wrap_TT_Raster_Map_width_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    int  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Raster_Map_width_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_width_set. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_width_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_width_get(_swigobj) ((int ) _swigobj->width)
static PyObject *_wrap_TT_Raster_Map_width_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_width_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_width_get. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_width_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_flow_set(_swigobj,_swigval) (_swigobj->flow = _swigval,_swigval)
static PyObject *_wrap_TT_Raster_Map_flow_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    int  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Raster_Map_flow_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_flow_set. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_flow_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_flow_get(_swigobj) ((int ) _swigobj->flow)
static PyObject *_wrap_TT_Raster_Map_flow_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    int  _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_flow_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_flow_get. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (int )TT_Raster_Map_flow_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Raster_Map_bitmap_set(_swigobj,_swigval) (_swigobj->bitmap = _swigval,_swigval)
static PyObject *_wrap_TT_Raster_Map_bitmap_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Raster_Map * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Raster_Map_bitmap_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_bitmap_set. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Raster_Map_bitmap_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Raster_Map_bitmap_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Raster_Map_bitmap_get(_swigobj) ((void *) _swigobj->bitmap)
static PyObject *_wrap_TT_Raster_Map_bitmap_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_bitmap_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_bitmap_get. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Raster_Map_bitmap_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Raster_Map_size_set(_swigobj,_swigval) (_swigobj->size = _swigval,_swigval)
static PyObject *_wrap_TT_Raster_Map_size_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    long  _result;
    TT_Raster_Map * _arg0;
    long  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Raster_Map_size_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_size_set. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (long )TT_Raster_Map_size_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Raster_Map_size_get(_swigobj) ((long ) _swigobj->size)
static PyObject *_wrap_TT_Raster_Map_size_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    long  _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_size_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_size_get. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (long )TT_Raster_Map_size_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

static PyObject * TT_Raster_Map_tostring(TT_Raster_Map *self) {
    PyObject *pystring;
    unsigned char *string;
    int length;
    int i;

    length = self->rows * self->cols;
    
    string = (unsigned char *)calloc(length, sizeof(unsigned char));
    
    for (i=0; i<length; i++) {
      string[i] = ((unsigned char *)(self->bitmap))[i];
    }

    pystring = PyString_FromStringAndSize(string, length);

    return pystring;
  }
static PyObject *_wrap_TT_Raster_Map_tostring(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_tostring",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_tostring. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (PyObject *)TT_Raster_Map_tostring(_arg0);
{
  _resultobj = _result;
}
    return _resultobj;
}

static PyObject * TT_Raster_Map_tobuffer(TT_Raster_Map *self) {
    return PyBuffer_FromReadWriteMemory(self->bitmap, self->rows*self->cols);
  }
static PyObject *_wrap_TT_Raster_Map_tobuffer(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    PyObject * _result;
    TT_Raster_Map * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Raster_Map_tobuffer",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Raster_Map_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Raster_Map_tobuffer. Expected _TT_Raster_Map_p.");
        return NULL;
        }
    }
    _result = (PyObject *)TT_Raster_Map_tobuffer(_arg0);
{
  _resultobj = _result;
}
    return _resultobj;
}

static TT_Raster_Map *new_TT_Raster_Map(int width,int height,char *type) {
    TT_Raster_Map *retMap;

    retMap = (TT_Raster_Map *)calloc(1, sizeof(TT_Raster_Map));

    if (strcmp(type, "bit")==0) {
      retMap->width = width;
      retMap->cols = (width+7) / 8;
      retMap->rows = height;
      retMap->flow = TT_Flow_Down;
      retMap->size = retMap->cols * retMap->rows;
      retMap->bitmap = malloc(retMap->size);

      memset(retMap->bitmap, 0, retMap->size);
      /* clear the buffer */

      return retMap;
    }
    else if (strcmp(type, "pix")==0) {
      retMap->width = (width+3) & ~3;
      retMap->cols = retMap->width;
      retMap->rows = height;
      retMap->flow = TT_Flow_Down;
      retMap->size = retMap->cols * retMap->rows;
      retMap->bitmap = malloc(retMap->size);

      memset(retMap->bitmap, 0, retMap->size);
      /* clear the buffer */

      return retMap;
    }
    else {
      free(retMap);
      PyErr_SetString(PyExc_ValueError, "final argument must be either 'bit' or 'pix'");
      return NULL;
    }
  }

static PyObject *_wrap_new_TT_Raster_Map(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Raster_Map * _result;
    int  _arg0;
    int  _arg1;
    char * _arg2 = (char *) "bit";
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"ii|s:new_TT_Raster_Map",&_arg0,&_arg1,&_arg2)) 
        return NULL;
    _result = (TT_Raster_Map *)new_TT_Raster_Map(_arg0,_arg1,_arg2);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Raster_Map_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Header_Table_Version_set(_swigobj,_swigval) (_swigobj->Table_Version = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Table_Version_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Header * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Header_Table_Version_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Table_Version_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Header_Table_Version_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_Table_Version_get(_swigobj) ((TT_Fixed ) _swigobj->Table_Version)
static PyObject *_wrap_TT_Header_Table_Version_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Table_Version_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Table_Version_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Header_Table_Version_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_Font_Revision_set(_swigobj,_swigval) (_swigobj->Font_Revision = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Font_Revision_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Header * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Header_Font_Revision_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Font_Revision_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Header_Font_Revision_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_Font_Revision_get(_swigobj) ((TT_Fixed ) _swigobj->Font_Revision)
static PyObject *_wrap_TT_Header_Font_Revision_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Font_Revision_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Font_Revision_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Header_Font_Revision_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_CheckSum_Adjust_set(_swigobj,_swigval) (_swigobj->CheckSum_Adjust = _swigval,_swigval)
static PyObject *_wrap_TT_Header_CheckSum_Adjust_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Header * _arg0;
    TT_Long  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Header_CheckSum_Adjust_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_CheckSum_Adjust_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Header_CheckSum_Adjust_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_CheckSum_Adjust_get(_swigobj) ((TT_Long ) _swigobj->CheckSum_Adjust)
static PyObject *_wrap_TT_Header_CheckSum_Adjust_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_CheckSum_Adjust_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_CheckSum_Adjust_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Header_CheckSum_Adjust_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_Magic_Number_set(_swigobj,_swigval) (_swigobj->Magic_Number = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Magic_Number_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Header * _arg0;
    TT_Long  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Header_Magic_Number_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Magic_Number_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Header_Magic_Number_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_Magic_Number_get(_swigobj) ((TT_Long ) _swigobj->Magic_Number)
static PyObject *_wrap_TT_Header_Magic_Number_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Magic_Number_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Magic_Number_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Header_Magic_Number_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Header_Flags_set(_swigobj,_swigval) (_swigobj->Flags = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Flags_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_Flags_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Flags_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Flags_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Flags_get(_swigobj) ((TT_UShort ) _swigobj->Flags)
static PyObject *_wrap_TT_Header_Flags_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Flags_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Flags_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Flags_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Units_Per_EM_set(_swigobj,_swigval) (_swigobj->Units_Per_EM = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Units_Per_EM_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_Units_Per_EM_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Units_Per_EM_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Units_Per_EM_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Units_Per_EM_get(_swigobj) ((TT_UShort ) _swigobj->Units_Per_EM)
static PyObject *_wrap_TT_Header_Units_Per_EM_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Units_Per_EM_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Units_Per_EM_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Units_Per_EM_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

static TT_Long * TT_Header_Created_get(TT_Header *obj) {
    TT_Long * result;
{
  result[0] = obj->Created[0];
  result[1] = obj->Created[1];
}
    return result;
}
static PyObject *_wrap_TT_Header_Created_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long * _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Created_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Created_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Long *)TT_Header_Created_get(_arg0);
{
  PyObject *tmpTuple;
  PyObject *x;

  tmpTuple = PyTuple_New(2);

  x = PyInt_FromLong(_result[0]);
  PyTuple_SetItem(tmpTuple, 0, x);

  x = PyInt_FromLong(_result[1]);
  PyTuple_SetItem(tmpTuple, 1, x);

  _resultobj = tmpTuple;
}
    return _resultobj;
}

static TT_Long * TT_Header_Modified_get(TT_Header *obj) {
    TT_Long * result;
{
  result[0] = obj->Modified[0];
  result[1] = obj->Modified[1];
}
    return result;
}
static PyObject *_wrap_TT_Header_Modified_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long * _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Modified_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Modified_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Long *)TT_Header_Modified_get(_arg0);
{
  PyObject *tmpTuple;
  PyObject *x;

  tmpTuple = PyTuple_New(2);

  x = PyInt_FromLong(_result[0]);
  PyTuple_SetItem(tmpTuple, 0, x);

  x = PyInt_FromLong(_result[1]);
  PyTuple_SetItem(tmpTuple, 1, x);

  _resultobj = tmpTuple;
}
    return _resultobj;
}

#define TT_Header_xMin_set(_swigobj,_swigval) (_swigobj->xMin = _swigval,_swigval)
static PyObject *_wrap_TT_Header_xMin_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_xMin_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_xMin_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_xMin_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_xMin_get(_swigobj) ((TT_FWord ) _swigobj->xMin)
static PyObject *_wrap_TT_Header_xMin_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_xMin_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_xMin_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_xMin_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_yMin_set(_swigobj,_swigval) (_swigobj->yMin = _swigval,_swigval)
static PyObject *_wrap_TT_Header_yMin_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_yMin_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_yMin_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_yMin_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_yMin_get(_swigobj) ((TT_FWord ) _swigobj->yMin)
static PyObject *_wrap_TT_Header_yMin_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_yMin_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_yMin_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_yMin_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_xMax_set(_swigobj,_swigval) (_swigobj->xMax = _swigval,_swigval)
static PyObject *_wrap_TT_Header_xMax_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_xMax_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_xMax_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_xMax_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_xMax_get(_swigobj) ((TT_FWord ) _swigobj->xMax)
static PyObject *_wrap_TT_Header_xMax_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_xMax_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_xMax_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_xMax_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_yMax_set(_swigobj,_swigval) (_swigobj->yMax = _swigval,_swigval)
static PyObject *_wrap_TT_Header_yMax_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_yMax_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_yMax_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_yMax_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_yMax_get(_swigobj) ((TT_FWord ) _swigobj->yMax)
static PyObject *_wrap_TT_Header_yMax_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_yMax_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_yMax_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Header_yMax_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Mac_Style_set(_swigobj,_swigval) (_swigobj->Mac_Style = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Mac_Style_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_Mac_Style_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Mac_Style_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Mac_Style_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Mac_Style_get(_swigobj) ((TT_UShort ) _swigobj->Mac_Style)
static PyObject *_wrap_TT_Header_Mac_Style_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Mac_Style_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Mac_Style_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Mac_Style_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Lowest_Rec_PPEM_set(_swigobj,_swigval) (_swigobj->Lowest_Rec_PPEM = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Lowest_Rec_PPEM_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_Lowest_Rec_PPEM_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Lowest_Rec_PPEM_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Lowest_Rec_PPEM_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Lowest_Rec_PPEM_get(_swigobj) ((TT_UShort ) _swigobj->Lowest_Rec_PPEM)
static PyObject *_wrap_TT_Header_Lowest_Rec_PPEM_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Lowest_Rec_PPEM_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Lowest_Rec_PPEM_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Header_Lowest_Rec_PPEM_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Font_Direction_set(_swigobj,_swigval) (_swigobj->Font_Direction = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Font_Direction_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_Font_Direction_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Font_Direction_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Header_Font_Direction_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Font_Direction_get(_swigobj) ((TT_Short ) _swigobj->Font_Direction)
static PyObject *_wrap_TT_Header_Font_Direction_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Font_Direction_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Font_Direction_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Header_Font_Direction_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Index_To_Loc_Format_set(_swigobj,_swigval) (_swigobj->Index_To_Loc_Format = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Index_To_Loc_Format_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_Index_To_Loc_Format_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Index_To_Loc_Format_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Header_Index_To_Loc_Format_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Index_To_Loc_Format_get(_swigobj) ((TT_Short ) _swigobj->Index_To_Loc_Format)
static PyObject *_wrap_TT_Header_Index_To_Loc_Format_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Index_To_Loc_Format_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Index_To_Loc_Format_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Header_Index_To_Loc_Format_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Glyph_Data_Format_set(_swigobj,_swigval) (_swigobj->Glyph_Data_Format = _swigval,_swigval)
static PyObject *_wrap_TT_Header_Glyph_Data_Format_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Header_Glyph_Data_Format_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Glyph_Data_Format_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Header_Glyph_Data_Format_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Header_Glyph_Data_Format_get(_swigobj) ((TT_Short ) _swigobj->Glyph_Data_Format)
static PyObject *_wrap_TT_Header_Glyph_Data_Format_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Header_Glyph_Data_Format_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Header_Glyph_Data_Format_get. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Header_Glyph_Data_Format_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Version_set(_swigobj,_swigval) (_swigobj->Version = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Version_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Horizontal_Header * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Horizontal_Header_Version_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Version_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Horizontal_Header_Version_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Version_get(_swigobj) ((TT_Fixed ) _swigobj->Version)
static PyObject *_wrap_TT_Horizontal_Header_Version_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Version_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Version_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Horizontal_Header_Version_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Ascender_set(_swigobj,_swigval) (_swigobj->Ascender = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Ascender_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Ascender_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Ascender_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_Ascender_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Ascender_get(_swigobj) ((TT_FWord ) _swigobj->Ascender)
static PyObject *_wrap_TT_Horizontal_Header_Ascender_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Ascender_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Ascender_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_Ascender_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Descender_set(_swigobj,_swigval) (_swigobj->Descender = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Descender_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Descender_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Descender_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_Descender_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Descender_get(_swigobj) ((TT_FWord ) _swigobj->Descender)
static PyObject *_wrap_TT_Horizontal_Header_Descender_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Descender_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Descender_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_Descender_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Line_Gap_set(_swigobj,_swigval) (_swigobj->Line_Gap = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Line_Gap_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Line_Gap_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Line_Gap_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_Line_Gap_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Line_Gap_get(_swigobj) ((TT_FWord ) _swigobj->Line_Gap)
static PyObject *_wrap_TT_Horizontal_Header_Line_Gap_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Line_Gap_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Line_Gap_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_Line_Gap_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_advance_Width_Max_set(_swigobj,_swigval) (_swigobj->advance_Width_Max = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_advance_Width_Max_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UFWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_UFWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_advance_Width_Max_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_advance_Width_Max_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UFWord )TT_Horizontal_Header_advance_Width_Max_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_advance_Width_Max_get(_swigobj) ((TT_UFWord ) _swigobj->advance_Width_Max)
static PyObject *_wrap_TT_Horizontal_Header_advance_Width_Max_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UFWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_advance_Width_Max_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_advance_Width_Max_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UFWord )TT_Horizontal_Header_advance_Width_Max_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_min_Left_Side_Bearing_set(_swigobj,_swigval) (_swigobj->min_Left_Side_Bearing = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_min_Left_Side_Bearing_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_min_Left_Side_Bearing_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_min_Left_Side_Bearing_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_min_Left_Side_Bearing_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_min_Left_Side_Bearing_get(_swigobj) ((TT_FWord ) _swigobj->min_Left_Side_Bearing)
static PyObject *_wrap_TT_Horizontal_Header_min_Left_Side_Bearing_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_min_Left_Side_Bearing_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_min_Left_Side_Bearing_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_min_Left_Side_Bearing_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_min_Right_Side_Bearing_set(_swigobj,_swigval) (_swigobj->min_Right_Side_Bearing = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_min_Right_Side_Bearing_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_min_Right_Side_Bearing_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_min_Right_Side_Bearing_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_min_Right_Side_Bearing_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_min_Right_Side_Bearing_get(_swigobj) ((TT_FWord ) _swigobj->min_Right_Side_Bearing)
static PyObject *_wrap_TT_Horizontal_Header_min_Right_Side_Bearing_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_min_Right_Side_Bearing_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_min_Right_Side_Bearing_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_min_Right_Side_Bearing_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_xMax_Extent_set(_swigobj,_swigval) (_swigobj->xMax_Extent = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_xMax_Extent_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_xMax_Extent_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_xMax_Extent_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_xMax_Extent_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_xMax_Extent_get(_swigobj) ((TT_FWord ) _swigobj->xMax_Extent)
static PyObject *_wrap_TT_Horizontal_Header_xMax_Extent_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_xMax_Extent_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_xMax_Extent_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_xMax_Extent_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_caret_Slope_Rise_set(_swigobj,_swigval) (_swigobj->caret_Slope_Rise = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_caret_Slope_Rise_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_caret_Slope_Rise_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_caret_Slope_Rise_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_caret_Slope_Rise_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_caret_Slope_Rise_get(_swigobj) ((TT_FWord ) _swigobj->caret_Slope_Rise)
static PyObject *_wrap_TT_Horizontal_Header_caret_Slope_Rise_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_caret_Slope_Rise_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_caret_Slope_Rise_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_caret_Slope_Rise_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_caret_Slope_Run_set(_swigobj,_swigval) (_swigobj->caret_Slope_Run = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_caret_Slope_Run_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_caret_Slope_Run_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_caret_Slope_Run_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_caret_Slope_Run_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_caret_Slope_Run_get(_swigobj) ((TT_FWord ) _swigobj->caret_Slope_Run)
static PyObject *_wrap_TT_Horizontal_Header_caret_Slope_Run_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_caret_Slope_Run_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_caret_Slope_Run_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Horizontal_Header_caret_Slope_Run_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved0_set(_swigobj,_swigval) (_swigobj->Reserved0 = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Reserved0_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Reserved0_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved0_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved0_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved0_get(_swigobj) ((TT_Short ) _swigobj->Reserved0)
static PyObject *_wrap_TT_Horizontal_Header_Reserved0_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Reserved0_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved0_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved0_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved1_set(_swigobj,_swigval) (_swigobj->Reserved1 = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Reserved1_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Reserved1_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved1_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved1_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved1_get(_swigobj) ((TT_Short ) _swigobj->Reserved1)
static PyObject *_wrap_TT_Horizontal_Header_Reserved1_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Reserved1_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved1_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved1_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved2_set(_swigobj,_swigval) (_swigobj->Reserved2 = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Reserved2_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Reserved2_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved2_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved2_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved2_get(_swigobj) ((TT_Short ) _swigobj->Reserved2)
static PyObject *_wrap_TT_Horizontal_Header_Reserved2_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Reserved2_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved2_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved2_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved3_set(_swigobj,_swigval) (_swigobj->Reserved3 = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Reserved3_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Reserved3_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved3_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved3_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved3_get(_swigobj) ((TT_Short ) _swigobj->Reserved3)
static PyObject *_wrap_TT_Horizontal_Header_Reserved3_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Reserved3_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved3_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved3_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved4_set(_swigobj,_swigval) (_swigobj->Reserved4 = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_Reserved4_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_Reserved4_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved4_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved4_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_Reserved4_get(_swigobj) ((TT_Short ) _swigobj->Reserved4)
static PyObject *_wrap_TT_Horizontal_Header_Reserved4_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_Reserved4_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_Reserved4_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_Reserved4_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_metric_Data_Format_set(_swigobj,_swigval) (_swigobj->metric_Data_Format = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_metric_Data_Format_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_metric_Data_Format_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_metric_Data_Format_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_metric_Data_Format_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_metric_Data_Format_get(_swigobj) ((TT_Short ) _swigobj->metric_Data_Format)
static PyObject *_wrap_TT_Horizontal_Header_metric_Data_Format_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_metric_Data_Format_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_metric_Data_Format_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Horizontal_Header_metric_Data_Format_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_number_Of_HMetrics_set(_swigobj,_swigval) (_swigobj->number_Of_HMetrics = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_number_Of_HMetrics_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Horizontal_Header * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Horizontal_Header_number_Of_HMetrics_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_number_Of_HMetrics_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Horizontal_Header_number_Of_HMetrics_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_number_Of_HMetrics_get(_swigobj) ((TT_UShort ) _swigobj->number_Of_HMetrics)
static PyObject *_wrap_TT_Horizontal_Header_number_Of_HMetrics_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_number_Of_HMetrics_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_number_Of_HMetrics_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Horizontal_Header_number_Of_HMetrics_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Horizontal_Header_long_metrics_set(_swigobj,_swigval) (_swigobj->long_metrics = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_long_metrics_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Horizontal_Header * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Horizontal_Header_long_metrics_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_long_metrics_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Horizontal_Header_long_metrics_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Horizontal_Header_long_metrics_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Horizontal_Header_long_metrics_get(_swigobj) ((void *) _swigobj->long_metrics)
static PyObject *_wrap_TT_Horizontal_Header_long_metrics_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_long_metrics_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_long_metrics_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Horizontal_Header_long_metrics_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Horizontal_Header_short_metrics_set(_swigobj,_swigval) (_swigobj->short_metrics = _swigval,_swigval)
static PyObject *_wrap_TT_Horizontal_Header_short_metrics_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Horizontal_Header * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Horizontal_Header_short_metrics_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_short_metrics_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Horizontal_Header_short_metrics_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Horizontal_Header_short_metrics_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Horizontal_Header_short_metrics_get(_swigobj) ((void *) _swigobj->short_metrics)
static PyObject *_wrap_TT_Horizontal_Header_short_metrics_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Horizontal_Header * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Horizontal_Header_short_metrics_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Horizontal_Header_short_metrics_get. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Horizontal_Header_short_metrics_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Vertical_Header_Version_set(_swigobj,_swigval) (_swigobj->Version = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Version_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Vertical_Header * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Vertical_Header_Version_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Version_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Vertical_Header_Version_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Version_get(_swigobj) ((TT_Fixed ) _swigobj->Version)
static PyObject *_wrap_TT_Vertical_Header_Version_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Version_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Version_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Vertical_Header_Version_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Ascender_set(_swigobj,_swigval) (_swigobj->Ascender = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Ascender_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_Ascender_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Ascender_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_Ascender_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Ascender_get(_swigobj) ((TT_FWord ) _swigobj->Ascender)
static PyObject *_wrap_TT_Vertical_Header_Ascender_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Ascender_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Ascender_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_Ascender_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Descender_set(_swigobj,_swigval) (_swigobj->Descender = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Descender_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_Descender_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Descender_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_Descender_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Descender_get(_swigobj) ((TT_FWord ) _swigobj->Descender)
static PyObject *_wrap_TT_Vertical_Header_Descender_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Descender_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Descender_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_Descender_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Line_Gap_set(_swigobj,_swigval) (_swigobj->Line_Gap = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Line_Gap_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_Line_Gap_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Line_Gap_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_Line_Gap_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Line_Gap_get(_swigobj) ((TT_FWord ) _swigobj->Line_Gap)
static PyObject *_wrap_TT_Vertical_Header_Line_Gap_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Line_Gap_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Line_Gap_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_Line_Gap_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_advance_Height_Max_set(_swigobj,_swigval) (_swigobj->advance_Height_Max = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_advance_Height_Max_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UFWord  _result;
    TT_Vertical_Header * _arg0;
    TT_UFWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_advance_Height_Max_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_advance_Height_Max_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UFWord )TT_Vertical_Header_advance_Height_Max_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_advance_Height_Max_get(_swigobj) ((TT_UFWord ) _swigobj->advance_Height_Max)
static PyObject *_wrap_TT_Vertical_Header_advance_Height_Max_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UFWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_advance_Height_Max_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_advance_Height_Max_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UFWord )TT_Vertical_Header_advance_Height_Max_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_min_Top_Side_Bearing_set(_swigobj,_swigval) (_swigobj->min_Top_Side_Bearing = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_min_Top_Side_Bearing_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_min_Top_Side_Bearing_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_min_Top_Side_Bearing_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_min_Top_Side_Bearing_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_min_Top_Side_Bearing_get(_swigobj) ((TT_FWord ) _swigobj->min_Top_Side_Bearing)
static PyObject *_wrap_TT_Vertical_Header_min_Top_Side_Bearing_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_min_Top_Side_Bearing_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_min_Top_Side_Bearing_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_min_Top_Side_Bearing_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_min_Bottom_Side_Bearing_set(_swigobj,_swigval) (_swigobj->min_Bottom_Side_Bearing = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_min_Bottom_Side_Bearing_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_min_Bottom_Side_Bearing_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_min_Bottom_Side_Bearing_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_min_Bottom_Side_Bearing_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_min_Bottom_Side_Bearing_get(_swigobj) ((TT_FWord ) _swigobj->min_Bottom_Side_Bearing)
static PyObject *_wrap_TT_Vertical_Header_min_Bottom_Side_Bearing_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_min_Bottom_Side_Bearing_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_min_Bottom_Side_Bearing_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_min_Bottom_Side_Bearing_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_yMax_Extent_set(_swigobj,_swigval) (_swigobj->yMax_Extent = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_yMax_Extent_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_yMax_Extent_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_yMax_Extent_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_yMax_Extent_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_yMax_Extent_get(_swigobj) ((TT_FWord ) _swigobj->yMax_Extent)
static PyObject *_wrap_TT_Vertical_Header_yMax_Extent_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_yMax_Extent_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_yMax_Extent_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_yMax_Extent_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_caret_Slope_Rise_set(_swigobj,_swigval) (_swigobj->caret_Slope_Rise = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_caret_Slope_Rise_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_caret_Slope_Rise_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_caret_Slope_Rise_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_caret_Slope_Rise_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_caret_Slope_Rise_get(_swigobj) ((TT_FWord ) _swigobj->caret_Slope_Rise)
static PyObject *_wrap_TT_Vertical_Header_caret_Slope_Rise_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_caret_Slope_Rise_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_caret_Slope_Rise_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_caret_Slope_Rise_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_caret_Slope_Run_set(_swigobj,_swigval) (_swigobj->caret_Slope_Run = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_caret_Slope_Run_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_caret_Slope_Run_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_caret_Slope_Run_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_caret_Slope_Run_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_caret_Slope_Run_get(_swigobj) ((TT_FWord ) _swigobj->caret_Slope_Run)
static PyObject *_wrap_TT_Vertical_Header_caret_Slope_Run_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_caret_Slope_Run_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_caret_Slope_Run_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_caret_Slope_Run_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_caret_Offset_set(_swigobj,_swigval) (_swigobj->caret_Offset = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_caret_Offset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_caret_Offset_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_caret_Offset_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_caret_Offset_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_caret_Offset_get(_swigobj) ((TT_FWord ) _swigobj->caret_Offset)
static PyObject *_wrap_TT_Vertical_Header_caret_Offset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_caret_Offset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_caret_Offset_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Vertical_Header_caret_Offset_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved1_set(_swigobj,_swigval) (_swigobj->Reserved1 = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Reserved1_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_Reserved1_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved1_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved1_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved1_get(_swigobj) ((TT_Short ) _swigobj->Reserved1)
static PyObject *_wrap_TT_Vertical_Header_Reserved1_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Reserved1_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved1_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved1_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved2_set(_swigobj,_swigval) (_swigobj->Reserved2 = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Reserved2_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_Reserved2_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved2_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved2_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved2_get(_swigobj) ((TT_Short ) _swigobj->Reserved2)
static PyObject *_wrap_TT_Vertical_Header_Reserved2_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Reserved2_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved2_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved2_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved3_set(_swigobj,_swigval) (_swigobj->Reserved3 = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Reserved3_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_Reserved3_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved3_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved3_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved3_get(_swigobj) ((TT_Short ) _swigobj->Reserved3)
static PyObject *_wrap_TT_Vertical_Header_Reserved3_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Reserved3_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved3_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved3_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved4_set(_swigobj,_swigval) (_swigobj->Reserved4 = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_Reserved4_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_Reserved4_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved4_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved4_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_Reserved4_get(_swigobj) ((TT_Short ) _swigobj->Reserved4)
static PyObject *_wrap_TT_Vertical_Header_Reserved4_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_Reserved4_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_Reserved4_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_Reserved4_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_metric_Data_Format_set(_swigobj,_swigval) (_swigobj->metric_Data_Format = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_metric_Data_Format_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_metric_Data_Format_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_metric_Data_Format_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_metric_Data_Format_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_metric_Data_Format_get(_swigobj) ((TT_Short ) _swigobj->metric_Data_Format)
static PyObject *_wrap_TT_Vertical_Header_metric_Data_Format_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_metric_Data_Format_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_metric_Data_Format_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Vertical_Header_metric_Data_Format_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_number_Of_VMetrics_set(_swigobj,_swigval) (_swigobj->number_Of_VMetrics = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_number_Of_VMetrics_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Vertical_Header * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Vertical_Header_number_Of_VMetrics_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_number_Of_VMetrics_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Vertical_Header_number_Of_VMetrics_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_number_Of_VMetrics_get(_swigobj) ((TT_UShort ) _swigobj->number_Of_VMetrics)
static PyObject *_wrap_TT_Vertical_Header_number_Of_VMetrics_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_number_Of_VMetrics_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_number_Of_VMetrics_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Vertical_Header_number_Of_VMetrics_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Vertical_Header_long_metrics_set(_swigobj,_swigval) (_swigobj->long_metrics = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_long_metrics_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Vertical_Header * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Vertical_Header_long_metrics_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_long_metrics_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Vertical_Header_long_metrics_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Vertical_Header_long_metrics_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Vertical_Header_long_metrics_get(_swigobj) ((void *) _swigobj->long_metrics)
static PyObject *_wrap_TT_Vertical_Header_long_metrics_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_long_metrics_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_long_metrics_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Vertical_Header_long_metrics_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Vertical_Header_short_metrics_set(_swigobj,_swigval) (_swigobj->short_metrics = _swigval,_swigval)
static PyObject *_wrap_TT_Vertical_Header_short_metrics_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Vertical_Header * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Vertical_Header_short_metrics_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_short_metrics_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Vertical_Header_short_metrics_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Vertical_Header_short_metrics_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Vertical_Header_short_metrics_get(_swigobj) ((void *) _swigobj->short_metrics)
static PyObject *_wrap_TT_Vertical_Header_short_metrics_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Vertical_Header * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Vertical_Header_short_metrics_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Vertical_Header_short_metrics_get. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Vertical_Header_short_metrics_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_OS2_version_set(_swigobj,_swigval) (_swigobj->version = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_version_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_version_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_version_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_version_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_version_get(_swigobj) ((TT_UShort ) _swigobj->version)
static PyObject *_wrap_TT_OS2_version_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_version_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_version_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_version_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_xAvgCharWidth_set(_swigobj,_swigval) (_swigobj->xAvgCharWidth = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_xAvgCharWidth_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_xAvgCharWidth_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_xAvgCharWidth_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_xAvgCharWidth_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_xAvgCharWidth_get(_swigobj) ((TT_FWord ) _swigobj->xAvgCharWidth)
static PyObject *_wrap_TT_OS2_xAvgCharWidth_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_xAvgCharWidth_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_xAvgCharWidth_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_xAvgCharWidth_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWeightClass_set(_swigobj,_swigval) (_swigobj->usWeightClass = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_usWeightClass_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_usWeightClass_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWeightClass_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWeightClass_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWeightClass_get(_swigobj) ((TT_UShort ) _swigobj->usWeightClass)
static PyObject *_wrap_TT_OS2_usWeightClass_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_usWeightClass_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWeightClass_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWeightClass_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWidthClass_set(_swigobj,_swigval) (_swigobj->usWidthClass = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_usWidthClass_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_usWidthClass_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWidthClass_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWidthClass_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWidthClass_get(_swigobj) ((TT_UShort ) _swigobj->usWidthClass)
static PyObject *_wrap_TT_OS2_usWidthClass_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_usWidthClass_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWidthClass_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWidthClass_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_fsType_set(_swigobj,_swigval) (_swigobj->fsType = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_fsType_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_fsType_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_fsType_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_fsType_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_fsType_get(_swigobj) ((TT_Short ) _swigobj->fsType)
static PyObject *_wrap_TT_OS2_fsType_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_fsType_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_fsType_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_fsType_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptXSize_set(_swigobj,_swigval) (_swigobj->ySubscriptXSize = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySubscriptXSize_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySubscriptXSize_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptXSize_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptXSize_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptXSize_get(_swigobj) ((TT_FWord ) _swigobj->ySubscriptXSize)
static PyObject *_wrap_TT_OS2_ySubscriptXSize_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySubscriptXSize_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptXSize_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptXSize_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptYSize_set(_swigobj,_swigval) (_swigobj->ySubscriptYSize = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySubscriptYSize_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySubscriptYSize_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptYSize_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptYSize_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptYSize_get(_swigobj) ((TT_FWord ) _swigobj->ySubscriptYSize)
static PyObject *_wrap_TT_OS2_ySubscriptYSize_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySubscriptYSize_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptYSize_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptYSize_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptXOffset_set(_swigobj,_swigval) (_swigobj->ySubscriptXOffset = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySubscriptXOffset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySubscriptXOffset_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptXOffset_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptXOffset_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptXOffset_get(_swigobj) ((TT_FWord ) _swigobj->ySubscriptXOffset)
static PyObject *_wrap_TT_OS2_ySubscriptXOffset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySubscriptXOffset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptXOffset_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptXOffset_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptYOffset_set(_swigobj,_swigval) (_swigobj->ySubscriptYOffset = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySubscriptYOffset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySubscriptYOffset_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptYOffset_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptYOffset_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySubscriptYOffset_get(_swigobj) ((TT_FWord ) _swigobj->ySubscriptYOffset)
static PyObject *_wrap_TT_OS2_ySubscriptYOffset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySubscriptYOffset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySubscriptYOffset_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySubscriptYOffset_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptXSize_set(_swigobj,_swigval) (_swigobj->ySuperscriptXSize = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySuperscriptXSize_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySuperscriptXSize_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptXSize_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptXSize_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptXSize_get(_swigobj) ((TT_FWord ) _swigobj->ySuperscriptXSize)
static PyObject *_wrap_TT_OS2_ySuperscriptXSize_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySuperscriptXSize_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptXSize_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptXSize_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptYSize_set(_swigobj,_swigval) (_swigobj->ySuperscriptYSize = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySuperscriptYSize_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySuperscriptYSize_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptYSize_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptYSize_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptYSize_get(_swigobj) ((TT_FWord ) _swigobj->ySuperscriptYSize)
static PyObject *_wrap_TT_OS2_ySuperscriptYSize_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySuperscriptYSize_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptYSize_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptYSize_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptXOffset_set(_swigobj,_swigval) (_swigobj->ySuperscriptXOffset = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySuperscriptXOffset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySuperscriptXOffset_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptXOffset_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptXOffset_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptXOffset_get(_swigobj) ((TT_FWord ) _swigobj->ySuperscriptXOffset)
static PyObject *_wrap_TT_OS2_ySuperscriptXOffset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySuperscriptXOffset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptXOffset_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptXOffset_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptYOffset_set(_swigobj,_swigval) (_swigobj->ySuperscriptYOffset = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ySuperscriptYOffset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_ySuperscriptYOffset_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptYOffset_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptYOffset_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ySuperscriptYOffset_get(_swigobj) ((TT_FWord ) _swigobj->ySuperscriptYOffset)
static PyObject *_wrap_TT_OS2_ySuperscriptYOffset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ySuperscriptYOffset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ySuperscriptYOffset_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_ySuperscriptYOffset_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_yStrikeoutSize_set(_swigobj,_swigval) (_swigobj->yStrikeoutSize = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_yStrikeoutSize_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_yStrikeoutSize_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_yStrikeoutSize_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_yStrikeoutSize_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_yStrikeoutSize_get(_swigobj) ((TT_FWord ) _swigobj->yStrikeoutSize)
static PyObject *_wrap_TT_OS2_yStrikeoutSize_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_yStrikeoutSize_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_yStrikeoutSize_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_yStrikeoutSize_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_yStrikeoutPosition_set(_swigobj,_swigval) (_swigobj->yStrikeoutPosition = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_yStrikeoutPosition_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_yStrikeoutPosition_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_yStrikeoutPosition_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_yStrikeoutPosition_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_yStrikeoutPosition_get(_swigobj) ((TT_FWord ) _swigobj->yStrikeoutPosition)
static PyObject *_wrap_TT_OS2_yStrikeoutPosition_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_yStrikeoutPosition_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_yStrikeoutPosition_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_OS2_yStrikeoutPosition_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sFamilyClass_set(_swigobj,_swigval) (_swigobj->sFamilyClass = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_sFamilyClass_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_sFamilyClass_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sFamilyClass_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sFamilyClass_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sFamilyClass_get(_swigobj) ((TT_Short ) _swigobj->sFamilyClass)
static PyObject *_wrap_TT_OS2_sFamilyClass_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_sFamilyClass_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sFamilyClass_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sFamilyClass_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

static TT_Byte * TT_OS2_panose_get(TT_OS2 *obj) {
    TT_Byte * result;
{
  strncpy(result, obj->panose, 10);
}
    return result;
}
static PyObject *_wrap_TT_OS2_panose_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte * _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_panose_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_panose_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Byte *)TT_OS2_panose_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Byte_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange1_set(_swigobj,_swigval) (_swigobj->ulUnicodeRange1 = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ulUnicodeRange1_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_OS2_ulUnicodeRange1_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange1_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange1_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange1_get(_swigobj) ((TT_ULong ) _swigobj->ulUnicodeRange1)
static PyObject *_wrap_TT_OS2_ulUnicodeRange1_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ulUnicodeRange1_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange1_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange1_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange2_set(_swigobj,_swigval) (_swigobj->ulUnicodeRange2 = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ulUnicodeRange2_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_OS2_ulUnicodeRange2_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange2_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange2_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange2_get(_swigobj) ((TT_ULong ) _swigobj->ulUnicodeRange2)
static PyObject *_wrap_TT_OS2_ulUnicodeRange2_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ulUnicodeRange2_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange2_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange2_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange3_set(_swigobj,_swigval) (_swigobj->ulUnicodeRange3 = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ulUnicodeRange3_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_OS2_ulUnicodeRange3_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange3_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange3_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange3_get(_swigobj) ((TT_ULong ) _swigobj->ulUnicodeRange3)
static PyObject *_wrap_TT_OS2_ulUnicodeRange3_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ulUnicodeRange3_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange3_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange3_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange4_set(_swigobj,_swigval) (_swigobj->ulUnicodeRange4 = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ulUnicodeRange4_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_OS2_ulUnicodeRange4_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange4_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange4_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulUnicodeRange4_get(_swigobj) ((TT_ULong ) _swigobj->ulUnicodeRange4)
static PyObject *_wrap_TT_OS2_ulUnicodeRange4_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ulUnicodeRange4_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulUnicodeRange4_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulUnicodeRange4_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

static TT_Char * TT_OS2_achVendID_get(TT_OS2 *obj) {
    TT_Char * result;
{
  strncpy(result, obj->achVendID, 4);
}
    return result;
}
static PyObject *_wrap_TT_OS2_achVendID_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Char * _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_achVendID_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_achVendID_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Char *)TT_OS2_achVendID_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Char_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_OS2_fsSelection_set(_swigobj,_swigval) (_swigobj->fsSelection = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_fsSelection_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_fsSelection_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_fsSelection_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_fsSelection_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_fsSelection_get(_swigobj) ((TT_UShort ) _swigobj->fsSelection)
static PyObject *_wrap_TT_OS2_fsSelection_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_fsSelection_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_fsSelection_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_fsSelection_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usFirstCharIndex_set(_swigobj,_swigval) (_swigobj->usFirstCharIndex = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_usFirstCharIndex_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_usFirstCharIndex_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usFirstCharIndex_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usFirstCharIndex_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usFirstCharIndex_get(_swigobj) ((TT_UShort ) _swigobj->usFirstCharIndex)
static PyObject *_wrap_TT_OS2_usFirstCharIndex_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_usFirstCharIndex_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usFirstCharIndex_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usFirstCharIndex_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usLastCharIndex_set(_swigobj,_swigval) (_swigobj->usLastCharIndex = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_usLastCharIndex_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_usLastCharIndex_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usLastCharIndex_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usLastCharIndex_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usLastCharIndex_get(_swigobj) ((TT_UShort ) _swigobj->usLastCharIndex)
static PyObject *_wrap_TT_OS2_usLastCharIndex_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_usLastCharIndex_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usLastCharIndex_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usLastCharIndex_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sTypoAscender_set(_swigobj,_swigval) (_swigobj->sTypoAscender = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_sTypoAscender_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_sTypoAscender_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sTypoAscender_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sTypoAscender_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sTypoAscender_get(_swigobj) ((TT_Short ) _swigobj->sTypoAscender)
static PyObject *_wrap_TT_OS2_sTypoAscender_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_sTypoAscender_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sTypoAscender_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sTypoAscender_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sTypoDescender_set(_swigobj,_swigval) (_swigobj->sTypoDescender = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_sTypoDescender_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_sTypoDescender_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sTypoDescender_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sTypoDescender_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sTypoDescender_get(_swigobj) ((TT_Short ) _swigobj->sTypoDescender)
static PyObject *_wrap_TT_OS2_sTypoDescender_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_sTypoDescender_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sTypoDescender_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sTypoDescender_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sTypoLineGap_set(_swigobj,_swigval) (_swigobj->sTypoLineGap = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_sTypoLineGap_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_sTypoLineGap_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sTypoLineGap_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sTypoLineGap_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_sTypoLineGap_get(_swigobj) ((TT_Short ) _swigobj->sTypoLineGap)
static PyObject *_wrap_TT_OS2_sTypoLineGap_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_sTypoLineGap_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_sTypoLineGap_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_OS2_sTypoLineGap_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWinAscent_set(_swigobj,_swigval) (_swigobj->usWinAscent = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_usWinAscent_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_usWinAscent_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWinAscent_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWinAscent_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWinAscent_get(_swigobj) ((TT_UShort ) _swigobj->usWinAscent)
static PyObject *_wrap_TT_OS2_usWinAscent_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_usWinAscent_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWinAscent_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWinAscent_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWinDescent_set(_swigobj,_swigval) (_swigobj->usWinDescent = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_usWinDescent_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_OS2_usWinDescent_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWinDescent_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWinDescent_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_usWinDescent_get(_swigobj) ((TT_UShort ) _swigobj->usWinDescent)
static PyObject *_wrap_TT_OS2_usWinDescent_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_usWinDescent_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_usWinDescent_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_OS2_usWinDescent_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_OS2_ulCodePageRange1_set(_swigobj,_swigval) (_swigobj->ulCodePageRange1 = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ulCodePageRange1_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_OS2_ulCodePageRange1_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulCodePageRange1_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulCodePageRange1_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulCodePageRange1_get(_swigobj) ((TT_ULong ) _swigobj->ulCodePageRange1)
static PyObject *_wrap_TT_OS2_ulCodePageRange1_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ulCodePageRange1_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulCodePageRange1_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulCodePageRange1_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulCodePageRange2_set(_swigobj,_swigval) (_swigobj->ulCodePageRange2 = _swigval,_swigval)
static PyObject *_wrap_TT_OS2_ulCodePageRange2_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_OS2_ulCodePageRange2_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulCodePageRange2_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulCodePageRange2_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_OS2_ulCodePageRange2_get(_swigobj) ((TT_ULong ) _swigobj->ulCodePageRange2)
static PyObject *_wrap_TT_OS2_ulCodePageRange2_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_OS2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_OS2_ulCodePageRange2_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_OS2_ulCodePageRange2_get. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_OS2_ulCodePageRange2_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_FormatType_set(_swigobj,_swigval) (_swigobj->FormatType = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_FormatType_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Postscript * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Postscript_FormatType_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_FormatType_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Postscript_FormatType_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_FormatType_get(_swigobj) ((TT_Fixed ) _swigobj->FormatType)
static PyObject *_wrap_TT_Postscript_FormatType_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_FormatType_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_FormatType_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Postscript_FormatType_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_italicAngle_set(_swigobj,_swigval) (_swigobj->italicAngle = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_italicAngle_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Postscript * _arg0;
    TT_Fixed  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Postscript_italicAngle_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_italicAngle_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Postscript_italicAngle_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_italicAngle_get(_swigobj) ((TT_Fixed ) _swigobj->italicAngle)
static PyObject *_wrap_TT_Postscript_italicAngle_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Fixed  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_italicAngle_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_italicAngle_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_Fixed )TT_Postscript_italicAngle_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_underlinePosition_set(_swigobj,_swigval) (_swigobj->underlinePosition = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_underlinePosition_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Postscript * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Postscript_underlinePosition_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_underlinePosition_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Postscript_underlinePosition_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Postscript_underlinePosition_get(_swigobj) ((TT_FWord ) _swigobj->underlinePosition)
static PyObject *_wrap_TT_Postscript_underlinePosition_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_underlinePosition_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_underlinePosition_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Postscript_underlinePosition_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Postscript_underlineThickness_set(_swigobj,_swigval) (_swigobj->underlineThickness = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_underlineThickness_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Postscript * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Postscript_underlineThickness_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_underlineThickness_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Postscript_underlineThickness_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Postscript_underlineThickness_get(_swigobj) ((TT_FWord ) _swigobj->underlineThickness)
static PyObject *_wrap_TT_Postscript_underlineThickness_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_underlineThickness_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_underlineThickness_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Postscript_underlineThickness_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Postscript_isFixedPitch_set(_swigobj,_swigval) (_swigobj->isFixedPitch = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_isFixedPitch_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Postscript_isFixedPitch_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_isFixedPitch_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_isFixedPitch_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_isFixedPitch_get(_swigobj) ((TT_ULong ) _swigobj->isFixedPitch)
static PyObject *_wrap_TT_Postscript_isFixedPitch_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_isFixedPitch_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_isFixedPitch_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_isFixedPitch_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_minMemType42_set(_swigobj,_swigval) (_swigobj->minMemType42 = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_minMemType42_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Postscript_minMemType42_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_minMemType42_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_minMemType42_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_minMemType42_get(_swigobj) ((TT_ULong ) _swigobj->minMemType42)
static PyObject *_wrap_TT_Postscript_minMemType42_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_minMemType42_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_minMemType42_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_minMemType42_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_maxMemType42_set(_swigobj,_swigval) (_swigobj->maxMemType42 = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_maxMemType42_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Postscript_maxMemType42_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_maxMemType42_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_maxMemType42_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_maxMemType42_get(_swigobj) ((TT_ULong ) _swigobj->maxMemType42)
static PyObject *_wrap_TT_Postscript_maxMemType42_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_maxMemType42_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_maxMemType42_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_maxMemType42_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_minMemType1_set(_swigobj,_swigval) (_swigobj->minMemType1 = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_minMemType1_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Postscript_minMemType1_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_minMemType1_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_minMemType1_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_minMemType1_get(_swigobj) ((TT_ULong ) _swigobj->minMemType1)
static PyObject *_wrap_TT_Postscript_minMemType1_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_minMemType1_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_minMemType1_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_minMemType1_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_maxMemType1_set(_swigobj,_swigval) (_swigobj->maxMemType1 = _swigval,_swigval)
static PyObject *_wrap_TT_Postscript_maxMemType1_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Postscript_maxMemType1_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_maxMemType1_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_maxMemType1_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Postscript_maxMemType1_get(_swigobj) ((TT_ULong ) _swigobj->maxMemType1)
static PyObject *_wrap_TT_Postscript_maxMemType1_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Postscript * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Postscript_maxMemType1_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Postscript_maxMemType1_get. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Postscript_maxMemType1_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Hdmx_Record_ppem_set(_swigobj,_swigval) (_swigobj->ppem = _swigval,_swigval)
static PyObject *_wrap_TT_Hdmx_Record_ppem_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Hdmx_Record * _arg0;
    TT_Byte  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ob:TT_Hdmx_Record_ppem_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_Record_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_Record_ppem_set. Expected _TT_Hdmx_Record_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Hdmx_Record_ppem_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Hdmx_Record_ppem_get(_swigobj) ((TT_Byte ) _swigobj->ppem)
static PyObject *_wrap_TT_Hdmx_Record_ppem_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Hdmx_Record * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Hdmx_Record_ppem_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_Record_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_Record_ppem_get. Expected _TT_Hdmx_Record_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Hdmx_Record_ppem_get(_arg0);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Hdmx_Record_max_width_set(_swigobj,_swigval) (_swigobj->max_width = _swigval,_swigval)
static PyObject *_wrap_TT_Hdmx_Record_max_width_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Hdmx_Record * _arg0;
    TT_Byte  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ob:TT_Hdmx_Record_max_width_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_Record_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_Record_max_width_set. Expected _TT_Hdmx_Record_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Hdmx_Record_max_width_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Hdmx_Record_max_width_get(_swigobj) ((TT_Byte ) _swigobj->max_width)
static PyObject *_wrap_TT_Hdmx_Record_max_width_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Hdmx_Record * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Hdmx_Record_max_width_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_Record_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_Record_max_width_get. Expected _TT_Hdmx_Record_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Hdmx_Record_max_width_get(_arg0);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Hdmx_Record_widths_set(_swigobj,_swigval) (_swigobj->widths = _swigval,_swigval)
static PyObject *_wrap_TT_Hdmx_Record_widths_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte * _result;
    TT_Hdmx_Record * _arg0;
    TT_Byte * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Hdmx_Record_widths_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_Record_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_Record_widths_set. Expected _TT_Hdmx_Record_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Byte_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Hdmx_Record_widths_set. Expected _TT_Byte_p.");
        return NULL;
        }
    }
    _result = (TT_Byte *)TT_Hdmx_Record_widths_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Byte_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Hdmx_Record_widths_get(_swigobj) ((TT_Byte *) _swigobj->widths)
static PyObject *_wrap_TT_Hdmx_Record_widths_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte * _result;
    TT_Hdmx_Record * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Hdmx_Record_widths_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_Record_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_Record_widths_get. Expected _TT_Hdmx_Record_p.");
        return NULL;
        }
    }
    _result = (TT_Byte *)TT_Hdmx_Record_widths_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Byte_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Hdmx_version_set(_swigobj,_swigval) (_swigobj->version = _swigval,_swigval)
static PyObject *_wrap_TT_Hdmx_version_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Hdmx * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Hdmx_version_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_version_set. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Hdmx_version_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Hdmx_version_get(_swigobj) ((TT_UShort ) _swigobj->version)
static PyObject *_wrap_TT_Hdmx_version_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Hdmx * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Hdmx_version_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_version_get. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Hdmx_version_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Hdmx_num_records_set(_swigobj,_swigval) (_swigobj->num_records = _swigval,_swigval)
static PyObject *_wrap_TT_Hdmx_num_records_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Hdmx * _arg0;
    TT_Short  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Hdmx_num_records_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_num_records_set. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Hdmx_num_records_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Hdmx_num_records_get(_swigobj) ((TT_Short ) _swigobj->num_records)
static PyObject *_wrap_TT_Hdmx_num_records_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Short  _result;
    TT_Hdmx * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Hdmx_num_records_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_num_records_get. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    _result = (TT_Short )TT_Hdmx_num_records_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Hdmx_records_set(_swigobj,_swigval) (_swigobj->records = _swigval,_swigval)
static PyObject *_wrap_TT_Hdmx_records_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Hdmx_Record * _result;
    TT_Hdmx * _arg0;
    TT_Hdmx_Record * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Hdmx_records_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_records_set. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Hdmx_Record_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Hdmx_records_set. Expected _TT_Hdmx_Record_p.");
        return NULL;
        }
    }
    _result = (TT_Hdmx_Record *)TT_Hdmx_records_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Hdmx_Record_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Hdmx_records_get(_swigobj) ((TT_Hdmx_Record *) _swigobj->records)
static PyObject *_wrap_TT_Hdmx_records_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Hdmx_Record * _result;
    TT_Hdmx * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Hdmx_records_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Hdmx_records_get. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    _result = (TT_Hdmx_Record *)TT_Hdmx_records_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Hdmx_Record_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_num_Glyphs_set(_swigobj,_swigval) (_swigobj->num_Glyphs = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_num_Glyphs_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Face_Properties_num_Glyphs_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_Glyphs_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_num_Glyphs_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_num_Glyphs_get(_swigobj) ((TT_UShort ) _swigobj->num_Glyphs)
static PyObject *_wrap_TT_Face_Properties_num_Glyphs_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_num_Glyphs_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_Glyphs_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_num_Glyphs_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_max_Points_set(_swigobj,_swigval) (_swigobj->max_Points = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_max_Points_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Face_Properties_max_Points_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_max_Points_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_max_Points_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_max_Points_get(_swigobj) ((TT_UShort ) _swigobj->max_Points)
static PyObject *_wrap_TT_Face_Properties_max_Points_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_max_Points_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_max_Points_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_max_Points_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_max_Contours_set(_swigobj,_swigval) (_swigobj->max_Contours = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_max_Contours_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Face_Properties_max_Contours_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_max_Contours_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_max_Contours_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_max_Contours_get(_swigobj) ((TT_UShort ) _swigobj->max_Contours)
static PyObject *_wrap_TT_Face_Properties_max_Contours_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_max_Contours_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_max_Contours_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_max_Contours_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_num_CharMaps_set(_swigobj,_swigval) (_swigobj->num_CharMaps = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_num_CharMaps_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Face_Properties_num_CharMaps_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_CharMaps_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_num_CharMaps_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_num_CharMaps_get(_swigobj) ((TT_UShort ) _swigobj->num_CharMaps)
static PyObject *_wrap_TT_Face_Properties_num_CharMaps_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_num_CharMaps_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_CharMaps_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_num_CharMaps_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_num_Names_set(_swigobj,_swigval) (_swigobj->num_Names = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_num_Names_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Face_Properties_num_Names_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_Names_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_num_Names_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_num_Names_get(_swigobj) ((TT_UShort ) _swigobj->num_Names)
static PyObject *_wrap_TT_Face_Properties_num_Names_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_num_Names_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_Names_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Face_Properties_num_Names_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Face_Properties_num_Faces_set(_swigobj,_swigval) (_swigobj->num_Faces = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_num_Faces_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Face_Properties * _arg0;
    TT_ULong  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Face_Properties_num_Faces_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_Faces_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Face_Properties_num_Faces_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Face_Properties_num_Faces_get(_swigobj) ((TT_ULong ) _swigobj->num_Faces)
static PyObject *_wrap_TT_Face_Properties_num_Faces_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_ULong  _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_num_Faces_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_num_Faces_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_ULong )TT_Face_Properties_num_Faces_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Face_Properties_header_set(_swigobj,_swigval) (_swigobj->header = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_header_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Header * _result;
    TT_Face_Properties * _arg0;
    TT_Header * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Face_Properties_header_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_header_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Face_Properties_header_set. Expected _TT_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Header *)TT_Face_Properties_header_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Header_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_header_get(_swigobj) ((TT_Header *) _swigobj->header)
static PyObject *_wrap_TT_Face_Properties_header_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Header * _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_header_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_header_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_Header *)TT_Face_Properties_header_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Header_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_horizontal_set(_swigobj,_swigval) (_swigobj->horizontal = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_horizontal_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Horizontal_Header * _result;
    TT_Face_Properties * _arg0;
    TT_Horizontal_Header * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Face_Properties_horizontal_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_horizontal_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Horizontal_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Face_Properties_horizontal_set. Expected _TT_Horizontal_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Horizontal_Header *)TT_Face_Properties_horizontal_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Horizontal_Header_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_horizontal_get(_swigobj) ((TT_Horizontal_Header *) _swigobj->horizontal)
static PyObject *_wrap_TT_Face_Properties_horizontal_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Horizontal_Header * _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_horizontal_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_horizontal_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_Horizontal_Header *)TT_Face_Properties_horizontal_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Horizontal_Header_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_os2_set(_swigobj,_swigval) (_swigobj->os2 = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_os2_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_OS2 * _result;
    TT_Face_Properties * _arg0;
    TT_OS2 * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Face_Properties_os2_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_os2_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_OS2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Face_Properties_os2_set. Expected _TT_OS2_p.");
        return NULL;
        }
    }
    _result = (TT_OS2 *)TT_Face_Properties_os2_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_OS2_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_os2_get(_swigobj) ((TT_OS2 *) _swigobj->os2)
static PyObject *_wrap_TT_Face_Properties_os2_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_OS2 * _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_os2_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_os2_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_OS2 *)TT_Face_Properties_os2_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_OS2_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_postscript_set(_swigobj,_swigval) (_swigobj->postscript = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_postscript_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Postscript * _result;
    TT_Face_Properties * _arg0;
    TT_Postscript * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Face_Properties_postscript_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_postscript_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Postscript_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Face_Properties_postscript_set. Expected _TT_Postscript_p.");
        return NULL;
        }
    }
    _result = (TT_Postscript *)TT_Face_Properties_postscript_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Postscript_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_postscript_get(_swigobj) ((TT_Postscript *) _swigobj->postscript)
static PyObject *_wrap_TT_Face_Properties_postscript_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Postscript * _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_postscript_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_postscript_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_Postscript *)TT_Face_Properties_postscript_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Postscript_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_hdmx_set(_swigobj,_swigval) (_swigobj->hdmx = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_hdmx_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Hdmx * _result;
    TT_Face_Properties * _arg0;
    TT_Hdmx * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Face_Properties_hdmx_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_hdmx_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Hdmx_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Face_Properties_hdmx_set. Expected _TT_Hdmx_p.");
        return NULL;
        }
    }
    _result = (TT_Hdmx *)TT_Face_Properties_hdmx_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Hdmx_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_hdmx_get(_swigobj) ((TT_Hdmx *) _swigobj->hdmx)
static PyObject *_wrap_TT_Face_Properties_hdmx_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Hdmx * _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_hdmx_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_hdmx_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_Hdmx *)TT_Face_Properties_hdmx_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Hdmx_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_vertical_set(_swigobj,_swigval) (_swigobj->vertical = _swigval,_swigval)
static PyObject *_wrap_TT_Face_Properties_vertical_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Vertical_Header * _result;
    TT_Face_Properties * _arg0;
    TT_Vertical_Header * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Face_Properties_vertical_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_vertical_set. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Vertical_Header_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Face_Properties_vertical_set. Expected _TT_Vertical_Header_p.");
        return NULL;
        }
    }
    _result = (TT_Vertical_Header *)TT_Face_Properties_vertical_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Vertical_Header_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_Properties_vertical_get(_swigobj) ((TT_Vertical_Header *) _swigobj->vertical)
static PyObject *_wrap_TT_Face_Properties_vertical_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Vertical_Header * _result;
    TT_Face_Properties * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_Properties_vertical_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_Properties_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_Properties_vertical_get. Expected _TT_Face_Properties_p.");
        return NULL;
        }
    }
    _result = (TT_Vertical_Header *)TT_Face_Properties_vertical_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Vertical_Header_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Engine_z_set(_swigobj,_swigval) (_swigobj->z = _swigval,_swigval)
static PyObject *_wrap_TT_Engine_z_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Engine * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Engine_z_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Engine_z_set. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Engine_z_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Engine_z_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Engine_z_get(_swigobj) ((void *) _swigobj->z)
static PyObject *_wrap_TT_Engine_z_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Engine * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Engine_z_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Engine_z_get. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Engine_z_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static void delete_TT_Engine(TT_Engine *self) {
    TT_Done_FreeType(*self);
    free(self);
  }
static PyObject *_wrap_delete_TT_Engine(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Engine * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:delete_TT_Engine",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Engine_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_TT_Engine. Expected _TT_Engine_p.");
        return NULL;
        }
    }
    delete_TT_Engine(_arg0);
    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define TT_Instance_z_set(_swigobj,_swigval) (_swigobj->z = _swigval,_swigval)
static PyObject *_wrap_TT_Instance_z_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Instance * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Instance_z_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_z_set. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Instance_z_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Instance_z_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Instance_z_get(_swigobj) ((void *) _swigobj->z)
static PyObject *_wrap_TT_Instance_z_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Instance * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Instance_z_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Instance_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Instance_z_get. Expected _TT_Instance_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Instance_z_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Glyph_z_set(_swigobj,_swigval) (_swigobj->z = _swigval,_swigval)
static PyObject *_wrap_TT_Glyph_z_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Glyph * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Glyph_z_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_z_set. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Glyph_z_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Glyph_z_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Glyph_z_get(_swigobj) ((void *) _swigobj->z)
static PyObject *_wrap_TT_Glyph_z_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Glyph * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Glyph_z_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Glyph_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Glyph_z_get. Expected _TT_Glyph_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Glyph_z_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_z_set(_swigobj,_swigval) (_swigobj->z = _swigval,_swigval)
static PyObject *_wrap_TT_Face_z_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Face * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Face_z_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_z_set. Expected _TT_Face_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Face_z_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Face_z_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Face_z_get(_swigobj) ((void *) _swigobj->z)
static PyObject *_wrap_TT_Face_z_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_Face * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Face_z_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Face_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Face_z_get. Expected _TT_Face_p.");
        return NULL;
        }
    }
    _result = (void *)TT_Face_z_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_CharMap_z_set(_swigobj,_swigval) (_swigobj->z = _swigval,_swigval)
static PyObject *_wrap_TT_CharMap_z_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_CharMap * _arg0;
    void * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_CharMap_z_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_CharMap_z_set. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_CharMap_z_set. Expected _void_p.");
        return NULL;
        }
    }
    _result = (void *)TT_CharMap_z_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_CharMap_z_get(_swigobj) ((void *) _swigobj->z)
static PyObject *_wrap_TT_CharMap_z_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    void * _result;
    TT_CharMap * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_CharMap_z_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_CharMap_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_CharMap_z_get. Expected _TT_CharMap_p.");
        return NULL;
        }
    }
    _result = (void *)TT_CharMap_z_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_0_Pair_left_set(_swigobj,_swigval) (_swigobj->left = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_Pair_left_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0_Pair * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_0_Pair_left_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_Pair_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_Pair_left_set. Expected _TT_Kern_0_Pair_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_Pair_left_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_Pair_left_get(_swigobj) ((TT_UShort ) _swigobj->left)
static PyObject *_wrap_TT_Kern_0_Pair_left_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0_Pair * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_Pair_left_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_Pair_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_Pair_left_get. Expected _TT_Kern_0_Pair_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_Pair_left_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_Pair_right_set(_swigobj,_swigval) (_swigobj->right = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_Pair_right_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0_Pair * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_0_Pair_right_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_Pair_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_Pair_right_set. Expected _TT_Kern_0_Pair_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_Pair_right_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_Pair_right_get(_swigobj) ((TT_UShort ) _swigobj->right)
static PyObject *_wrap_TT_Kern_0_Pair_right_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0_Pair * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_Pair_right_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_Pair_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_Pair_right_get. Expected _TT_Kern_0_Pair_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_Pair_right_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_Pair_value_set(_swigobj,_swigval) (_swigobj->value = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_Pair_value_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Kern_0_Pair * _arg0;
    TT_FWord  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_0_Pair_value_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_Pair_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_Pair_value_set. Expected _TT_Kern_0_Pair_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Kern_0_Pair_value_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_Pair_value_get(_swigobj) ((TT_FWord ) _swigobj->value)
static PyObject *_wrap_TT_Kern_0_Pair_value_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord  _result;
    TT_Kern_0_Pair * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_Pair_value_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_Pair_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_Pair_value_get. Expected _TT_Kern_0_Pair_p.");
        return NULL;
        }
    }
    _result = (TT_FWord )TT_Kern_0_Pair_value_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_nPairs_set(_swigobj,_swigval) (_swigobj->nPairs = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_nPairs_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_0_nPairs_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_nPairs_set. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_nPairs_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_nPairs_get(_swigobj) ((TT_UShort ) _swigobj->nPairs)
static PyObject *_wrap_TT_Kern_0_nPairs_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_nPairs_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_nPairs_get. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_nPairs_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_searchRange_set(_swigobj,_swigval) (_swigobj->searchRange = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_searchRange_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_0_searchRange_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_searchRange_set. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_searchRange_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_searchRange_get(_swigobj) ((TT_UShort ) _swigobj->searchRange)
static PyObject *_wrap_TT_Kern_0_searchRange_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_searchRange_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_searchRange_get. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_searchRange_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_entrySelector_set(_swigobj,_swigval) (_swigobj->entrySelector = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_entrySelector_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_0_entrySelector_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_entrySelector_set. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_entrySelector_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_entrySelector_get(_swigobj) ((TT_UShort ) _swigobj->entrySelector)
static PyObject *_wrap_TT_Kern_0_entrySelector_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_entrySelector_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_entrySelector_get. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_entrySelector_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_rangeShift_set(_swigobj,_swigval) (_swigobj->rangeShift = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_rangeShift_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_0_rangeShift_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_rangeShift_set. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_rangeShift_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_rangeShift_get(_swigobj) ((TT_UShort ) _swigobj->rangeShift)
static PyObject *_wrap_TT_Kern_0_rangeShift_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_0 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_rangeShift_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_rangeShift_get. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_0_rangeShift_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_0_pairs_set(_swigobj,_swigval) (_swigobj->pairs = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_0_pairs_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_0_Pair * _result;
    TT_Kern_0 * _arg0;
    TT_Kern_0_Pair * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kern_0_pairs_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_pairs_set. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Kern_0_Pair_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kern_0_pairs_set. Expected _TT_Kern_0_Pair_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_0_Pair *)TT_Kern_0_pairs_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_0_Pair_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_0_pairs_get(_swigobj) ((TT_Kern_0_Pair *) _swigobj->pairs)
static PyObject *_wrap_TT_Kern_0_pairs_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_0_Pair * _result;
    TT_Kern_0 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_0_pairs_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_0_pairs_get. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_0_Pair *)TT_Kern_0_pairs_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_0_Pair_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_Class_firstGlyph_set(_swigobj,_swigval) (_swigobj->firstGlyph = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_2_Class_firstGlyph_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_2_Class * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_2_Class_firstGlyph_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_Class_firstGlyph_set. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_2_Class_firstGlyph_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_2_Class_firstGlyph_get(_swigobj) ((TT_UShort ) _swigobj->firstGlyph)
static PyObject *_wrap_TT_Kern_2_Class_firstGlyph_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_2_Class * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_2_Class_firstGlyph_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_Class_firstGlyph_get. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_2_Class_firstGlyph_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_2_Class_nGlyphs_set(_swigobj,_swigval) (_swigobj->nGlyphs = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_2_Class_nGlyphs_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_2_Class * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_2_Class_nGlyphs_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_Class_nGlyphs_set. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_2_Class_nGlyphs_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_2_Class_nGlyphs_get(_swigobj) ((TT_UShort ) _swigobj->nGlyphs)
static PyObject *_wrap_TT_Kern_2_Class_nGlyphs_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_2_Class * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_2_Class_nGlyphs_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_Class_nGlyphs_get. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_2_Class_nGlyphs_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_2_Class_classes_set(_swigobj,_swigval) (_swigobj->classes = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_2_Class_classes_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort * _result;
    TT_Kern_2_Class * _arg0;
    TT_UShort * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kern_2_Class_classes_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_Class_classes_set. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_UShort_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kern_2_Class_classes_set. Expected _TT_UShort_p.");
        return NULL;
        }
    }
    _result = (TT_UShort *)TT_Kern_2_Class_classes_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_UShort_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_Class_classes_get(_swigobj) ((TT_UShort *) _swigobj->classes)
static PyObject *_wrap_TT_Kern_2_Class_classes_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort * _result;
    TT_Kern_2_Class * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_2_Class_classes_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_Class_classes_get. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    _result = (TT_UShort *)TT_Kern_2_Class_classes_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_UShort_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_rowWidth_set(_swigobj,_swigval) (_swigobj->rowWidth = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_2_rowWidth_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_2 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_2_rowWidth_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_rowWidth_set. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_2_rowWidth_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_2_rowWidth_get(_swigobj) ((TT_UShort ) _swigobj->rowWidth)
static PyObject *_wrap_TT_Kern_2_rowWidth_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_2 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_2_rowWidth_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_rowWidth_get. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_2_rowWidth_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_2_leftClass_set(_swigobj,_swigval) (_swigobj->leftClass = *(_swigval),_swigval)
static PyObject *_wrap_TT_Kern_2_leftClass_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_2_Class * _result;
    TT_Kern_2 * _arg0;
    TT_Kern_2_Class * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kern_2_leftClass_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_leftClass_set. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kern_2_leftClass_set. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_2_Class *)TT_Kern_2_leftClass_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_2_Class_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_leftClass_get(_swigobj) (&_swigobj->leftClass)
static PyObject *_wrap_TT_Kern_2_leftClass_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_2_Class * _result;
    TT_Kern_2 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_2_leftClass_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_leftClass_get. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_2_Class *)TT_Kern_2_leftClass_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_2_Class_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_rightClass_set(_swigobj,_swigval) (_swigobj->rightClass = *(_swigval),_swigval)
static PyObject *_wrap_TT_Kern_2_rightClass_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_2_Class * _result;
    TT_Kern_2 * _arg0;
    TT_Kern_2_Class * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kern_2_rightClass_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_rightClass_set. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Kern_2_Class_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kern_2_rightClass_set. Expected _TT_Kern_2_Class_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_2_Class *)TT_Kern_2_rightClass_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_2_Class_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_rightClass_get(_swigobj) (&_swigobj->rightClass)
static PyObject *_wrap_TT_Kern_2_rightClass_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_2_Class * _result;
    TT_Kern_2 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_2_rightClass_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_rightClass_get. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_2_Class *)TT_Kern_2_rightClass_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_2_Class_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_array_set(_swigobj,_swigval) (_swigobj->array = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_2_array_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord * _result;
    TT_Kern_2 * _arg0;
    TT_FWord * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kern_2_array_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_array_set. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_FWord_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kern_2_array_set. Expected _TT_FWord_p.");
        return NULL;
        }
    }
    _result = (TT_FWord *)TT_Kern_2_array_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_FWord_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_2_array_get(_swigobj) ((TT_FWord *) _swigobj->array)
static PyObject *_wrap_TT_Kern_2_array_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_FWord * _result;
    TT_Kern_2 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_2_array_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_2_array_get. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    _result = (TT_FWord *)TT_Kern_2_array_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_FWord_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_Subtable_loaded_set(_swigobj,_swigval) (_swigobj->loaded = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_Subtable_loaded_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Kern_Subtable * _arg0;
    TT_Bool  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Kern_Subtable_loaded_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_loaded_set. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Kern_Subtable_loaded_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_loaded_get(_swigobj) ((TT_Bool ) _swigobj->loaded)
static PyObject *_wrap_TT_Kern_Subtable_loaded_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Kern_Subtable * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_loaded_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_loaded_get. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Kern_Subtable_loaded_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_version_set(_swigobj,_swigval) (_swigobj->version = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_Subtable_version_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_Subtable * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_Subtable_version_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_version_set. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_Subtable_version_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_version_get(_swigobj) ((TT_UShort ) _swigobj->version)
static PyObject *_wrap_TT_Kern_Subtable_version_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_Subtable * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_version_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_version_get. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_Subtable_version_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_offset_set(_swigobj,_swigval) (_swigobj->offset = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_Subtable_offset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Kern_Subtable * _arg0;
    TT_Long  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Kern_Subtable_offset_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_offset_set. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Kern_Subtable_offset_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_offset_get(_swigobj) ((TT_Long ) _swigobj->offset)
static PyObject *_wrap_TT_Kern_Subtable_offset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Kern_Subtable * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_offset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_offset_get. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Kern_Subtable_offset_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_length_set(_swigobj,_swigval) (_swigobj->length = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_Subtable_length_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_Subtable * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kern_Subtable_length_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_length_set. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_Subtable_length_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_length_get(_swigobj) ((TT_UShort ) _swigobj->length)
static PyObject *_wrap_TT_Kern_Subtable_length_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kern_Subtable * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_length_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_length_get. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kern_Subtable_length_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_coverage_set(_swigobj,_swigval) (_swigobj->coverage = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_Subtable_coverage_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Kern_Subtable * _arg0;
    TT_Byte  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ob:TT_Kern_Subtable_coverage_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_coverage_set. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Kern_Subtable_coverage_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_coverage_get(_swigobj) ((TT_Byte ) _swigobj->coverage)
static PyObject *_wrap_TT_Kern_Subtable_coverage_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Kern_Subtable * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_coverage_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_coverage_get. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Kern_Subtable_coverage_get(_arg0);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_format_set(_swigobj,_swigval) (_swigobj->format = _swigval,_swigval)
static PyObject *_wrap_TT_Kern_Subtable_format_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Kern_Subtable * _arg0;
    TT_Byte  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ob:TT_Kern_Subtable_format_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_format_set. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Kern_Subtable_format_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_format_get(_swigobj) ((TT_Byte ) _swigobj->format)
static PyObject *_wrap_TT_Kern_Subtable_format_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Byte  _result;
    TT_Kern_Subtable * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_format_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_format_get. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Byte )TT_Kern_Subtable_format_get(_arg0);
    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define TT_Kern_Subtable_t_get(_swigobj) (&_swigobj->t)
static PyObject *_wrap_TT_Kern_Subtable_t_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_Subtable_t * _result;
    TT_Kern_Subtable * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_t_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_t_get. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_Subtable_t *)TT_Kern_Subtable_t_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_Subtable_t_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_Subtable_t_kern0_set(_swigobj,_swigval) (_swigobj->kern0 = *(_swigval),_swigval)
static PyObject *_wrap_TT_Kern_Subtable_t_kern0_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_0 * _result;
    TT_Kern_Subtable_t * _arg0;
    TT_Kern_0 * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kern_Subtable_t_kern0_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_t_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_t_kern0_set. Expected _TT_Kern_Subtable_t_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Kern_0_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kern_Subtable_t_kern0_set. Expected _TT_Kern_0_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_0 *)TT_Kern_Subtable_t_kern0_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_0_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_Subtable_t_kern0_get(_swigobj) (&_swigobj->kern0)
static PyObject *_wrap_TT_Kern_Subtable_t_kern0_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_0 * _result;
    TT_Kern_Subtable_t * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_t_kern0_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_t_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_t_kern0_get. Expected _TT_Kern_Subtable_t_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_0 *)TT_Kern_Subtable_t_kern0_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_0_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_Subtable_t_kern2_set(_swigobj,_swigval) (_swigobj->kern2 = *(_swigval),_swigval)
static PyObject *_wrap_TT_Kern_Subtable_t_kern2_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_2 * _result;
    TT_Kern_Subtable_t * _arg0;
    TT_Kern_2 * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kern_Subtable_t_kern2_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_t_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_t_kern2_set. Expected _TT_Kern_Subtable_t_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Kern_2_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kern_Subtable_t_kern2_set. Expected _TT_Kern_2_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_2 *)TT_Kern_Subtable_t_kern2_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_2_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kern_Subtable_t_kern2_get(_swigobj) (&_swigobj->kern2)
static PyObject *_wrap_TT_Kern_Subtable_t_kern2_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_2 * _result;
    TT_Kern_Subtable_t * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kern_Subtable_t_kern2_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kern_Subtable_t_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kern_Subtable_t_kern2_get. Expected _TT_Kern_Subtable_t_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_2 *)TT_Kern_Subtable_t_kern2_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_2_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kerning_version_set(_swigobj,_swigval) (_swigobj->version = _swigval,_swigval)
static PyObject *_wrap_TT_Kerning_version_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kerning * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kerning_version_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kerning_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kerning_version_set. Expected _TT_Kerning_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kerning_version_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kerning_version_get(_swigobj) ((TT_UShort ) _swigobj->version)
static PyObject *_wrap_TT_Kerning_version_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kerning * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kerning_version_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kerning_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kerning_version_get. Expected _TT_Kerning_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kerning_version_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kerning_nTables_set(_swigobj,_swigval) (_swigobj->nTables = _swigval,_swigval)
static PyObject *_wrap_TT_Kerning_nTables_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kerning * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Kerning_nTables_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kerning_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kerning_nTables_set. Expected _TT_Kerning_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kerning_nTables_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kerning_nTables_get(_swigobj) ((TT_UShort ) _swigobj->nTables)
static PyObject *_wrap_TT_Kerning_nTables_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Kerning * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kerning_nTables_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kerning_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kerning_nTables_get. Expected _TT_Kerning_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Kerning_nTables_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Kerning_tables_set(_swigobj,_swigval) (_swigobj->tables = _swigval,_swigval)
static PyObject *_wrap_TT_Kerning_tables_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_Subtable * _result;
    TT_Kerning * _arg0;
    TT_Kern_Subtable * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Kerning_tables_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kerning_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kerning_tables_set. Expected _TT_Kerning_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Kern_Subtable_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Kerning_tables_set. Expected _TT_Kern_Subtable_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_Subtable *)TT_Kerning_tables_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_Subtable_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Kerning_tables_get(_swigobj) ((TT_Kern_Subtable *) _swigobj->tables)
static PyObject *_wrap_TT_Kerning_tables_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Kern_Subtable * _result;
    TT_Kerning * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Kerning_tables_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Kerning_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Kerning_tables_get. Expected _TT_Kerning_p.");
        return NULL;
        }
    }
    _result = (TT_Kern_Subtable *)TT_Kerning_tables_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Kern_Subtable_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_20_numGlyphs_set(_swigobj,_swigval) (_swigobj->numGlyphs = _swigval,_swigval)
static PyObject *_wrap_TT_Post_20_numGlyphs_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Post_20 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Post_20_numGlyphs_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_20_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_20_numGlyphs_set. Expected _TT_Post_20_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Post_20_numGlyphs_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Post_20_numGlyphs_get(_swigobj) ((TT_UShort ) _swigobj->numGlyphs)
static PyObject *_wrap_TT_Post_20_numGlyphs_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Post_20 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_20_numGlyphs_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_20_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_20_numGlyphs_get. Expected _TT_Post_20_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Post_20_numGlyphs_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Post_20_glyphNameIndex_set(_swigobj,_swigval) (_swigobj->glyphNameIndex = _swigval,_swigval)
static PyObject *_wrap_TT_Post_20_glyphNameIndex_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort * _result;
    TT_Post_20 * _arg0;
    TT_UShort * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Post_20_glyphNameIndex_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_20_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_20_glyphNameIndex_set. Expected _TT_Post_20_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_UShort_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Post_20_glyphNameIndex_set. Expected _TT_UShort_p.");
        return NULL;
        }
    }
    _result = (TT_UShort *)TT_Post_20_glyphNameIndex_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_UShort_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_20_glyphNameIndex_get(_swigobj) ((TT_UShort *) _swigobj->glyphNameIndex)
static PyObject *_wrap_TT_Post_20_glyphNameIndex_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort * _result;
    TT_Post_20 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_20_glyphNameIndex_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_20_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_20_glyphNameIndex_get. Expected _TT_Post_20_p.");
        return NULL;
        }
    }
    _result = (TT_UShort *)TT_Post_20_glyphNameIndex_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_UShort_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_20_glyphNames_set(_swigobj,_swigval) (_swigobj->glyphNames = _swigval,_swigval)
static PyObject *_wrap_TT_Post_20_glyphNames_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Char ** _result;
    TT_Post_20 * _arg0;
    TT_Char ** _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Post_20_glyphNames_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_20_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_20_glyphNames_set. Expected _TT_Post_20_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Char_pp")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Post_20_glyphNames_set. Expected _TT_Char_pp.");
        return NULL;
        }
    }
    _result = (TT_Char **)TT_Post_20_glyphNames_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Char_pp");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_20_glyphNames_get(_swigobj) ((TT_Char **) _swigobj->glyphNames)
static PyObject *_wrap_TT_Post_20_glyphNames_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Char ** _result;
    TT_Post_20 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_20_glyphNames_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_20_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_20_glyphNames_get. Expected _TT_Post_20_p.");
        return NULL;
        }
    }
    _result = (TT_Char **)TT_Post_20_glyphNames_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Char_pp");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_25_numGlyphs_set(_swigobj,_swigval) (_swigobj->numGlyphs = _swigval,_swigval)
static PyObject *_wrap_TT_Post_25_numGlyphs_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Post_25 * _arg0;
    TT_UShort  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oh:TT_Post_25_numGlyphs_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_25_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_25_numGlyphs_set. Expected _TT_Post_25_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Post_25_numGlyphs_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Post_25_numGlyphs_get(_swigobj) ((TT_UShort ) _swigobj->numGlyphs)
static PyObject *_wrap_TT_Post_25_numGlyphs_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_UShort  _result;
    TT_Post_25 * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_25_numGlyphs_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_25_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_25_numGlyphs_get. Expected _TT_Post_25_p.");
        return NULL;
        }
    }
    _result = (TT_UShort )TT_Post_25_numGlyphs_get(_arg0);
    _resultobj = Py_BuildValue("h",_result);
    return _resultobj;
}

#define TT_Post_25_offset_set(_swigobj,_swigval) (_swigobj->offset = _swigval,_swigval)
static PyObject *_wrap_TT_Post_25_offset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Char * _result;
    TT_Post_25 * _arg0;
    TT_Char * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Post_25_offset_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_25_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_25_offset_set. Expected _TT_Post_25_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Char_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Post_25_offset_set. Expected _TT_Char_p.");
        return NULL;
        }
    }
    _result = (TT_Char *)TT_Post_25_offset_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Char_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_25_offset_get(_swigobj) ((TT_Char *) _swigobj->offset)
static PyObject *_wrap_TT_Post_25_offset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Char * _result;
    TT_Post_25 * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_25_offset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_25_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_25_offset_get. Expected _TT_Post_25_p.");
        return NULL;
        }
    }
    _result = (TT_Char *)TT_Post_25_offset_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Char_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_offset_set(_swigobj,_swigval) (_swigobj->offset = _swigval,_swigval)
static PyObject *_wrap_TT_Post_offset_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Post * _arg0;
    TT_Long  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Post_offset_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_offset_set. Expected _TT_Post_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Post_offset_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Post_offset_get(_swigobj) ((TT_Long ) _swigobj->offset)
static PyObject *_wrap_TT_Post_offset_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Post * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_offset_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_offset_get. Expected _TT_Post_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Post_offset_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Post_length_set(_swigobj,_swigval) (_swigobj->length = _swigval,_swigval)
static PyObject *_wrap_TT_Post_length_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Post * _arg0;
    TT_Long  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Ol:TT_Post_length_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_length_set. Expected _TT_Post_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Post_length_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Post_length_get(_swigobj) ((TT_Long ) _swigobj->length)
static PyObject *_wrap_TT_Post_length_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Long  _result;
    TT_Post * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_length_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_length_get. Expected _TT_Post_p.");
        return NULL;
        }
    }
    _result = (TT_Long )TT_Post_length_get(_arg0);
    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define TT_Post_loaded_set(_swigobj,_swigval) (_swigobj->loaded = _swigval,_swigval)
static PyObject *_wrap_TT_Post_loaded_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Post * _arg0;
    TT_Bool  _arg1;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"Oi:TT_Post_loaded_set",&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_loaded_set. Expected _TT_Post_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Post_loaded_set(_arg0,_arg1);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Post_loaded_get(_swigobj) ((TT_Bool ) _swigobj->loaded)
static PyObject *_wrap_TT_Post_loaded_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Bool  _result;
    TT_Post * _arg0;
    PyObject * _argo0 = 0;

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_loaded_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_loaded_get. Expected _TT_Post_p.");
        return NULL;
        }
    }
    _result = (TT_Bool )TT_Post_loaded_get(_arg0);
    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define TT_Post_p_get(_swigobj) (&_swigobj->p)
static PyObject *_wrap_TT_Post_p_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Post_p * _result;
    TT_Post * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_p_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_p_get. Expected _TT_Post_p.");
        return NULL;
        }
    }
    _result = (TT_Post_p *)TT_Post_p_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Post_p_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_p_post20_set(_swigobj,_swigval) (_swigobj->post20 = *(_swigval),_swigval)
static PyObject *_wrap_TT_Post_p_post20_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Post_20 * _result;
    TT_Post_p * _arg0;
    TT_Post_20 * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Post_p_post20_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_p_post20_set. Expected _TT_Post_p_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Post_20_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Post_p_post20_set. Expected _TT_Post_20_p.");
        return NULL;
        }
    }
    _result = (TT_Post_20 *)TT_Post_p_post20_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Post_20_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_p_post20_get(_swigobj) (&_swigobj->post20)
static PyObject *_wrap_TT_Post_p_post20_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Post_20 * _result;
    TT_Post_p * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_p_post20_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_p_post20_get. Expected _TT_Post_p_p.");
        return NULL;
        }
    }
    _result = (TT_Post_20 *)TT_Post_p_post20_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Post_20_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_p_post25_set(_swigobj,_swigval) (_swigobj->post25 = *(_swigval),_swigval)
static PyObject *_wrap_TT_Post_p_post25_set(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Post_25 * _result;
    TT_Post_p * _arg0;
    TT_Post_25 * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"OO:TT_Post_p_post25_set",&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_p_post25_set. Expected _TT_Post_p_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_TT_Post_25_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of TT_Post_p_post25_set. Expected _TT_Post_25_p.");
        return NULL;
        }
    }
    _result = (TT_Post_25 *)TT_Post_p_post25_set(_arg0,_arg1);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Post_25_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define TT_Post_p_post25_get(_swigobj) (&_swigobj->post25)
static PyObject *_wrap_TT_Post_p_post25_get(PyObject *self, PyObject *args) {
    PyObject * _resultobj;
    TT_Post_25 * _result;
    TT_Post_p * _arg0;
    PyObject * _argo0 = 0;
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTuple(args,"O:TT_Post_p_post25_get",&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_TT_Post_p_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of TT_Post_p_post25_get. Expected _TT_Post_p_p.");
        return NULL;
        }
    }
    _result = (TT_Post_25 *)TT_Post_p_post25_get(_arg0);
    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_TT_Post_25_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyMethodDef freetypecMethods[] = {
	 { "TT_Post_p_post25_get", _wrap_TT_Post_p_post25_get, METH_VARARGS },
	 { "TT_Post_p_post25_set", _wrap_TT_Post_p_post25_set, METH_VARARGS },
	 { "TT_Post_p_post20_get", _wrap_TT_Post_p_post20_get, METH_VARARGS },
	 { "TT_Post_p_post20_set", _wrap_TT_Post_p_post20_set, METH_VARARGS },
	 { "TT_Post_p_get", _wrap_TT_Post_p_get, METH_VARARGS },
	 { "TT_Post_loaded_get", _wrap_TT_Post_loaded_get, METH_VARARGS },
	 { "TT_Post_loaded_set", _wrap_TT_Post_loaded_set, METH_VARARGS },
	 { "TT_Post_length_get", _wrap_TT_Post_length_get, METH_VARARGS },
	 { "TT_Post_length_set", _wrap_TT_Post_length_set, METH_VARARGS },
	 { "TT_Post_offset_get", _wrap_TT_Post_offset_get, METH_VARARGS },
	 { "TT_Post_offset_set", _wrap_TT_Post_offset_set, METH_VARARGS },
	 { "TT_Post_25_offset_get", _wrap_TT_Post_25_offset_get, METH_VARARGS },
	 { "TT_Post_25_offset_set", _wrap_TT_Post_25_offset_set, METH_VARARGS },
	 { "TT_Post_25_numGlyphs_get", _wrap_TT_Post_25_numGlyphs_get, METH_VARARGS },
	 { "TT_Post_25_numGlyphs_set", _wrap_TT_Post_25_numGlyphs_set, METH_VARARGS },
	 { "TT_Post_20_glyphNames_get", _wrap_TT_Post_20_glyphNames_get, METH_VARARGS },
	 { "TT_Post_20_glyphNames_set", _wrap_TT_Post_20_glyphNames_set, METH_VARARGS },
	 { "TT_Post_20_glyphNameIndex_get", _wrap_TT_Post_20_glyphNameIndex_get, METH_VARARGS },
	 { "TT_Post_20_glyphNameIndex_set", _wrap_TT_Post_20_glyphNameIndex_set, METH_VARARGS },
	 { "TT_Post_20_numGlyphs_get", _wrap_TT_Post_20_numGlyphs_get, METH_VARARGS },
	 { "TT_Post_20_numGlyphs_set", _wrap_TT_Post_20_numGlyphs_set, METH_VARARGS },
	 { "TT_Kerning_tables_get", _wrap_TT_Kerning_tables_get, METH_VARARGS },
	 { "TT_Kerning_tables_set", _wrap_TT_Kerning_tables_set, METH_VARARGS },
	 { "TT_Kerning_nTables_get", _wrap_TT_Kerning_nTables_get, METH_VARARGS },
	 { "TT_Kerning_nTables_set", _wrap_TT_Kerning_nTables_set, METH_VARARGS },
	 { "TT_Kerning_version_get", _wrap_TT_Kerning_version_get, METH_VARARGS },
	 { "TT_Kerning_version_set", _wrap_TT_Kerning_version_set, METH_VARARGS },
	 { "TT_Kern_Subtable_t_kern2_get", _wrap_TT_Kern_Subtable_t_kern2_get, METH_VARARGS },
	 { "TT_Kern_Subtable_t_kern2_set", _wrap_TT_Kern_Subtable_t_kern2_set, METH_VARARGS },
	 { "TT_Kern_Subtable_t_kern0_get", _wrap_TT_Kern_Subtable_t_kern0_get, METH_VARARGS },
	 { "TT_Kern_Subtable_t_kern0_set", _wrap_TT_Kern_Subtable_t_kern0_set, METH_VARARGS },
	 { "TT_Kern_Subtable_t_get", _wrap_TT_Kern_Subtable_t_get, METH_VARARGS },
	 { "TT_Kern_Subtable_format_get", _wrap_TT_Kern_Subtable_format_get, METH_VARARGS },
	 { "TT_Kern_Subtable_format_set", _wrap_TT_Kern_Subtable_format_set, METH_VARARGS },
	 { "TT_Kern_Subtable_coverage_get", _wrap_TT_Kern_Subtable_coverage_get, METH_VARARGS },
	 { "TT_Kern_Subtable_coverage_set", _wrap_TT_Kern_Subtable_coverage_set, METH_VARARGS },
	 { "TT_Kern_Subtable_length_get", _wrap_TT_Kern_Subtable_length_get, METH_VARARGS },
	 { "TT_Kern_Subtable_length_set", _wrap_TT_Kern_Subtable_length_set, METH_VARARGS },
	 { "TT_Kern_Subtable_offset_get", _wrap_TT_Kern_Subtable_offset_get, METH_VARARGS },
	 { "TT_Kern_Subtable_offset_set", _wrap_TT_Kern_Subtable_offset_set, METH_VARARGS },
	 { "TT_Kern_Subtable_version_get", _wrap_TT_Kern_Subtable_version_get, METH_VARARGS },
	 { "TT_Kern_Subtable_version_set", _wrap_TT_Kern_Subtable_version_set, METH_VARARGS },
	 { "TT_Kern_Subtable_loaded_get", _wrap_TT_Kern_Subtable_loaded_get, METH_VARARGS },
	 { "TT_Kern_Subtable_loaded_set", _wrap_TT_Kern_Subtable_loaded_set, METH_VARARGS },
	 { "TT_Kern_2_array_get", _wrap_TT_Kern_2_array_get, METH_VARARGS },
	 { "TT_Kern_2_array_set", _wrap_TT_Kern_2_array_set, METH_VARARGS },
	 { "TT_Kern_2_rightClass_get", _wrap_TT_Kern_2_rightClass_get, METH_VARARGS },
	 { "TT_Kern_2_rightClass_set", _wrap_TT_Kern_2_rightClass_set, METH_VARARGS },
	 { "TT_Kern_2_leftClass_get", _wrap_TT_Kern_2_leftClass_get, METH_VARARGS },
	 { "TT_Kern_2_leftClass_set", _wrap_TT_Kern_2_leftClass_set, METH_VARARGS },
	 { "TT_Kern_2_rowWidth_get", _wrap_TT_Kern_2_rowWidth_get, METH_VARARGS },
	 { "TT_Kern_2_rowWidth_set", _wrap_TT_Kern_2_rowWidth_set, METH_VARARGS },
	 { "TT_Kern_2_Class_classes_get", _wrap_TT_Kern_2_Class_classes_get, METH_VARARGS },
	 { "TT_Kern_2_Class_classes_set", _wrap_TT_Kern_2_Class_classes_set, METH_VARARGS },
	 { "TT_Kern_2_Class_nGlyphs_get", _wrap_TT_Kern_2_Class_nGlyphs_get, METH_VARARGS },
	 { "TT_Kern_2_Class_nGlyphs_set", _wrap_TT_Kern_2_Class_nGlyphs_set, METH_VARARGS },
	 { "TT_Kern_2_Class_firstGlyph_get", _wrap_TT_Kern_2_Class_firstGlyph_get, METH_VARARGS },
	 { "TT_Kern_2_Class_firstGlyph_set", _wrap_TT_Kern_2_Class_firstGlyph_set, METH_VARARGS },
	 { "TT_Kern_0_pairs_get", _wrap_TT_Kern_0_pairs_get, METH_VARARGS },
	 { "TT_Kern_0_pairs_set", _wrap_TT_Kern_0_pairs_set, METH_VARARGS },
	 { "TT_Kern_0_rangeShift_get", _wrap_TT_Kern_0_rangeShift_get, METH_VARARGS },
	 { "TT_Kern_0_rangeShift_set", _wrap_TT_Kern_0_rangeShift_set, METH_VARARGS },
	 { "TT_Kern_0_entrySelector_get", _wrap_TT_Kern_0_entrySelector_get, METH_VARARGS },
	 { "TT_Kern_0_entrySelector_set", _wrap_TT_Kern_0_entrySelector_set, METH_VARARGS },
	 { "TT_Kern_0_searchRange_get", _wrap_TT_Kern_0_searchRange_get, METH_VARARGS },
	 { "TT_Kern_0_searchRange_set", _wrap_TT_Kern_0_searchRange_set, METH_VARARGS },
	 { "TT_Kern_0_nPairs_get", _wrap_TT_Kern_0_nPairs_get, METH_VARARGS },
	 { "TT_Kern_0_nPairs_set", _wrap_TT_Kern_0_nPairs_set, METH_VARARGS },
	 { "TT_Kern_0_Pair_value_get", _wrap_TT_Kern_0_Pair_value_get, METH_VARARGS },
	 { "TT_Kern_0_Pair_value_set", _wrap_TT_Kern_0_Pair_value_set, METH_VARARGS },
	 { "TT_Kern_0_Pair_right_get", _wrap_TT_Kern_0_Pair_right_get, METH_VARARGS },
	 { "TT_Kern_0_Pair_right_set", _wrap_TT_Kern_0_Pair_right_set, METH_VARARGS },
	 { "TT_Kern_0_Pair_left_get", _wrap_TT_Kern_0_Pair_left_get, METH_VARARGS },
	 { "TT_Kern_0_Pair_left_set", _wrap_TT_Kern_0_Pair_left_set, METH_VARARGS },
	 { "TT_CharMap_z_get", _wrap_TT_CharMap_z_get, METH_VARARGS },
	 { "TT_CharMap_z_set", _wrap_TT_CharMap_z_set, METH_VARARGS },
	 { "TT_Face_z_get", _wrap_TT_Face_z_get, METH_VARARGS },
	 { "TT_Face_z_set", _wrap_TT_Face_z_set, METH_VARARGS },
	 { "TT_Glyph_z_get", _wrap_TT_Glyph_z_get, METH_VARARGS },
	 { "TT_Glyph_z_set", _wrap_TT_Glyph_z_set, METH_VARARGS },
	 { "TT_Instance_z_get", _wrap_TT_Instance_z_get, METH_VARARGS },
	 { "TT_Instance_z_set", _wrap_TT_Instance_z_set, METH_VARARGS },
	 { "delete_TT_Engine", _wrap_delete_TT_Engine, METH_VARARGS },
	 { "TT_Engine_z_get", _wrap_TT_Engine_z_get, METH_VARARGS },
	 { "TT_Engine_z_set", _wrap_TT_Engine_z_set, METH_VARARGS },
	 { "TT_Face_Properties_vertical_get", _wrap_TT_Face_Properties_vertical_get, METH_VARARGS },
	 { "TT_Face_Properties_vertical_set", _wrap_TT_Face_Properties_vertical_set, METH_VARARGS },
	 { "TT_Face_Properties_hdmx_get", _wrap_TT_Face_Properties_hdmx_get, METH_VARARGS },
	 { "TT_Face_Properties_hdmx_set", _wrap_TT_Face_Properties_hdmx_set, METH_VARARGS },
	 { "TT_Face_Properties_postscript_get", _wrap_TT_Face_Properties_postscript_get, METH_VARARGS },
	 { "TT_Face_Properties_postscript_set", _wrap_TT_Face_Properties_postscript_set, METH_VARARGS },
	 { "TT_Face_Properties_os2_get", _wrap_TT_Face_Properties_os2_get, METH_VARARGS },
	 { "TT_Face_Properties_os2_set", _wrap_TT_Face_Properties_os2_set, METH_VARARGS },
	 { "TT_Face_Properties_horizontal_get", _wrap_TT_Face_Properties_horizontal_get, METH_VARARGS },
	 { "TT_Face_Properties_horizontal_set", _wrap_TT_Face_Properties_horizontal_set, METH_VARARGS },
	 { "TT_Face_Properties_header_get", _wrap_TT_Face_Properties_header_get, METH_VARARGS },
	 { "TT_Face_Properties_header_set", _wrap_TT_Face_Properties_header_set, METH_VARARGS },
	 { "TT_Face_Properties_num_Faces_get", _wrap_TT_Face_Properties_num_Faces_get, METH_VARARGS },
	 { "TT_Face_Properties_num_Faces_set", _wrap_TT_Face_Properties_num_Faces_set, METH_VARARGS },
	 { "TT_Face_Properties_num_Names_get", _wrap_TT_Face_Properties_num_Names_get, METH_VARARGS },
	 { "TT_Face_Properties_num_Names_set", _wrap_TT_Face_Properties_num_Names_set, METH_VARARGS },
	 { "TT_Face_Properties_num_CharMaps_get", _wrap_TT_Face_Properties_num_CharMaps_get, METH_VARARGS },
	 { "TT_Face_Properties_num_CharMaps_set", _wrap_TT_Face_Properties_num_CharMaps_set, METH_VARARGS },
	 { "TT_Face_Properties_max_Contours_get", _wrap_TT_Face_Properties_max_Contours_get, METH_VARARGS },
	 { "TT_Face_Properties_max_Contours_set", _wrap_TT_Face_Properties_max_Contours_set, METH_VARARGS },
	 { "TT_Face_Properties_max_Points_get", _wrap_TT_Face_Properties_max_Points_get, METH_VARARGS },
	 { "TT_Face_Properties_max_Points_set", _wrap_TT_Face_Properties_max_Points_set, METH_VARARGS },
	 { "TT_Face_Properties_num_Glyphs_get", _wrap_TT_Face_Properties_num_Glyphs_get, METH_VARARGS },
	 { "TT_Face_Properties_num_Glyphs_set", _wrap_TT_Face_Properties_num_Glyphs_set, METH_VARARGS },
	 { "TT_Hdmx_records_get", _wrap_TT_Hdmx_records_get, METH_VARARGS },
	 { "TT_Hdmx_records_set", _wrap_TT_Hdmx_records_set, METH_VARARGS },
	 { "TT_Hdmx_num_records_get", _wrap_TT_Hdmx_num_records_get, METH_VARARGS },
	 { "TT_Hdmx_num_records_set", _wrap_TT_Hdmx_num_records_set, METH_VARARGS },
	 { "TT_Hdmx_version_get", _wrap_TT_Hdmx_version_get, METH_VARARGS },
	 { "TT_Hdmx_version_set", _wrap_TT_Hdmx_version_set, METH_VARARGS },
	 { "TT_Hdmx_Record_widths_get", _wrap_TT_Hdmx_Record_widths_get, METH_VARARGS },
	 { "TT_Hdmx_Record_widths_set", _wrap_TT_Hdmx_Record_widths_set, METH_VARARGS },
	 { "TT_Hdmx_Record_max_width_get", _wrap_TT_Hdmx_Record_max_width_get, METH_VARARGS },
	 { "TT_Hdmx_Record_max_width_set", _wrap_TT_Hdmx_Record_max_width_set, METH_VARARGS },
	 { "TT_Hdmx_Record_ppem_get", _wrap_TT_Hdmx_Record_ppem_get, METH_VARARGS },
	 { "TT_Hdmx_Record_ppem_set", _wrap_TT_Hdmx_Record_ppem_set, METH_VARARGS },
	 { "TT_Postscript_maxMemType1_get", _wrap_TT_Postscript_maxMemType1_get, METH_VARARGS },
	 { "TT_Postscript_maxMemType1_set", _wrap_TT_Postscript_maxMemType1_set, METH_VARARGS },
	 { "TT_Postscript_minMemType1_get", _wrap_TT_Postscript_minMemType1_get, METH_VARARGS },
	 { "TT_Postscript_minMemType1_set", _wrap_TT_Postscript_minMemType1_set, METH_VARARGS },
	 { "TT_Postscript_maxMemType42_get", _wrap_TT_Postscript_maxMemType42_get, METH_VARARGS },
	 { "TT_Postscript_maxMemType42_set", _wrap_TT_Postscript_maxMemType42_set, METH_VARARGS },
	 { "TT_Postscript_minMemType42_get", _wrap_TT_Postscript_minMemType42_get, METH_VARARGS },
	 { "TT_Postscript_minMemType42_set", _wrap_TT_Postscript_minMemType42_set, METH_VARARGS },
	 { "TT_Postscript_isFixedPitch_get", _wrap_TT_Postscript_isFixedPitch_get, METH_VARARGS },
	 { "TT_Postscript_isFixedPitch_set", _wrap_TT_Postscript_isFixedPitch_set, METH_VARARGS },
	 { "TT_Postscript_underlineThickness_get", _wrap_TT_Postscript_underlineThickness_get, METH_VARARGS },
	 { "TT_Postscript_underlineThickness_set", _wrap_TT_Postscript_underlineThickness_set, METH_VARARGS },
	 { "TT_Postscript_underlinePosition_get", _wrap_TT_Postscript_underlinePosition_get, METH_VARARGS },
	 { "TT_Postscript_underlinePosition_set", _wrap_TT_Postscript_underlinePosition_set, METH_VARARGS },
	 { "TT_Postscript_italicAngle_get", _wrap_TT_Postscript_italicAngle_get, METH_VARARGS },
	 { "TT_Postscript_italicAngle_set", _wrap_TT_Postscript_italicAngle_set, METH_VARARGS },
	 { "TT_Postscript_FormatType_get", _wrap_TT_Postscript_FormatType_get, METH_VARARGS },
	 { "TT_Postscript_FormatType_set", _wrap_TT_Postscript_FormatType_set, METH_VARARGS },
	 { "TT_OS2_ulCodePageRange2_get", _wrap_TT_OS2_ulCodePageRange2_get, METH_VARARGS },
	 { "TT_OS2_ulCodePageRange2_set", _wrap_TT_OS2_ulCodePageRange2_set, METH_VARARGS },
	 { "TT_OS2_ulCodePageRange1_get", _wrap_TT_OS2_ulCodePageRange1_get, METH_VARARGS },
	 { "TT_OS2_ulCodePageRange1_set", _wrap_TT_OS2_ulCodePageRange1_set, METH_VARARGS },
	 { "TT_OS2_usWinDescent_get", _wrap_TT_OS2_usWinDescent_get, METH_VARARGS },
	 { "TT_OS2_usWinDescent_set", _wrap_TT_OS2_usWinDescent_set, METH_VARARGS },
	 { "TT_OS2_usWinAscent_get", _wrap_TT_OS2_usWinAscent_get, METH_VARARGS },
	 { "TT_OS2_usWinAscent_set", _wrap_TT_OS2_usWinAscent_set, METH_VARARGS },
	 { "TT_OS2_sTypoLineGap_get", _wrap_TT_OS2_sTypoLineGap_get, METH_VARARGS },
	 { "TT_OS2_sTypoLineGap_set", _wrap_TT_OS2_sTypoLineGap_set, METH_VARARGS },
	 { "TT_OS2_sTypoDescender_get", _wrap_TT_OS2_sTypoDescender_get, METH_VARARGS },
	 { "TT_OS2_sTypoDescender_set", _wrap_TT_OS2_sTypoDescender_set, METH_VARARGS },
	 { "TT_OS2_sTypoAscender_get", _wrap_TT_OS2_sTypoAscender_get, METH_VARARGS },
	 { "TT_OS2_sTypoAscender_set", _wrap_TT_OS2_sTypoAscender_set, METH_VARARGS },
	 { "TT_OS2_usLastCharIndex_get", _wrap_TT_OS2_usLastCharIndex_get, METH_VARARGS },
	 { "TT_OS2_usLastCharIndex_set", _wrap_TT_OS2_usLastCharIndex_set, METH_VARARGS },
	 { "TT_OS2_usFirstCharIndex_get", _wrap_TT_OS2_usFirstCharIndex_get, METH_VARARGS },
	 { "TT_OS2_usFirstCharIndex_set", _wrap_TT_OS2_usFirstCharIndex_set, METH_VARARGS },
	 { "TT_OS2_fsSelection_get", _wrap_TT_OS2_fsSelection_get, METH_VARARGS },
	 { "TT_OS2_fsSelection_set", _wrap_TT_OS2_fsSelection_set, METH_VARARGS },
	 { "TT_OS2_achVendID_get", _wrap_TT_OS2_achVendID_get, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange4_get", _wrap_TT_OS2_ulUnicodeRange4_get, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange4_set", _wrap_TT_OS2_ulUnicodeRange4_set, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange3_get", _wrap_TT_OS2_ulUnicodeRange3_get, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange3_set", _wrap_TT_OS2_ulUnicodeRange3_set, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange2_get", _wrap_TT_OS2_ulUnicodeRange2_get, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange2_set", _wrap_TT_OS2_ulUnicodeRange2_set, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange1_get", _wrap_TT_OS2_ulUnicodeRange1_get, METH_VARARGS },
	 { "TT_OS2_ulUnicodeRange1_set", _wrap_TT_OS2_ulUnicodeRange1_set, METH_VARARGS },
	 { "TT_OS2_panose_get", _wrap_TT_OS2_panose_get, METH_VARARGS },
	 { "TT_OS2_sFamilyClass_get", _wrap_TT_OS2_sFamilyClass_get, METH_VARARGS },
	 { "TT_OS2_sFamilyClass_set", _wrap_TT_OS2_sFamilyClass_set, METH_VARARGS },
	 { "TT_OS2_yStrikeoutPosition_get", _wrap_TT_OS2_yStrikeoutPosition_get, METH_VARARGS },
	 { "TT_OS2_yStrikeoutPosition_set", _wrap_TT_OS2_yStrikeoutPosition_set, METH_VARARGS },
	 { "TT_OS2_yStrikeoutSize_get", _wrap_TT_OS2_yStrikeoutSize_get, METH_VARARGS },
	 { "TT_OS2_yStrikeoutSize_set", _wrap_TT_OS2_yStrikeoutSize_set, METH_VARARGS },
	 { "TT_OS2_ySuperscriptYOffset_get", _wrap_TT_OS2_ySuperscriptYOffset_get, METH_VARARGS },
	 { "TT_OS2_ySuperscriptYOffset_set", _wrap_TT_OS2_ySuperscriptYOffset_set, METH_VARARGS },
	 { "TT_OS2_ySuperscriptXOffset_get", _wrap_TT_OS2_ySuperscriptXOffset_get, METH_VARARGS },
	 { "TT_OS2_ySuperscriptXOffset_set", _wrap_TT_OS2_ySuperscriptXOffset_set, METH_VARARGS },
	 { "TT_OS2_ySuperscriptYSize_get", _wrap_TT_OS2_ySuperscriptYSize_get, METH_VARARGS },
	 { "TT_OS2_ySuperscriptYSize_set", _wrap_TT_OS2_ySuperscriptYSize_set, METH_VARARGS },
	 { "TT_OS2_ySuperscriptXSize_get", _wrap_TT_OS2_ySuperscriptXSize_get, METH_VARARGS },
	 { "TT_OS2_ySuperscriptXSize_set", _wrap_TT_OS2_ySuperscriptXSize_set, METH_VARARGS },
	 { "TT_OS2_ySubscriptYOffset_get", _wrap_TT_OS2_ySubscriptYOffset_get, METH_VARARGS },
	 { "TT_OS2_ySubscriptYOffset_set", _wrap_TT_OS2_ySubscriptYOffset_set, METH_VARARGS },
	 { "TT_OS2_ySubscriptXOffset_get", _wrap_TT_OS2_ySubscriptXOffset_get, METH_VARARGS },
	 { "TT_OS2_ySubscriptXOffset_set", _wrap_TT_OS2_ySubscriptXOffset_set, METH_VARARGS },
	 { "TT_OS2_ySubscriptYSize_get", _wrap_TT_OS2_ySubscriptYSize_get, METH_VARARGS },
	 { "TT_OS2_ySubscriptYSize_set", _wrap_TT_OS2_ySubscriptYSize_set, METH_VARARGS },
	 { "TT_OS2_ySubscriptXSize_get", _wrap_TT_OS2_ySubscriptXSize_get, METH_VARARGS },
	 { "TT_OS2_ySubscriptXSize_set", _wrap_TT_OS2_ySubscriptXSize_set, METH_VARARGS },
	 { "TT_OS2_fsType_get", _wrap_TT_OS2_fsType_get, METH_VARARGS },
	 { "TT_OS2_fsType_set", _wrap_TT_OS2_fsType_set, METH_VARARGS },
	 { "TT_OS2_usWidthClass_get", _wrap_TT_OS2_usWidthClass_get, METH_VARARGS },
	 { "TT_OS2_usWidthClass_set", _wrap_TT_OS2_usWidthClass_set, METH_VARARGS },
	 { "TT_OS2_usWeightClass_get", _wrap_TT_OS2_usWeightClass_get, METH_VARARGS },
	 { "TT_OS2_usWeightClass_set", _wrap_TT_OS2_usWeightClass_set, METH_VARARGS },
	 { "TT_OS2_xAvgCharWidth_get", _wrap_TT_OS2_xAvgCharWidth_get, METH_VARARGS },
	 { "TT_OS2_xAvgCharWidth_set", _wrap_TT_OS2_xAvgCharWidth_set, METH_VARARGS },
	 { "TT_OS2_version_get", _wrap_TT_OS2_version_get, METH_VARARGS },
	 { "TT_OS2_version_set", _wrap_TT_OS2_version_set, METH_VARARGS },
	 { "TT_Vertical_Header_short_metrics_get", _wrap_TT_Vertical_Header_short_metrics_get, METH_VARARGS },
	 { "TT_Vertical_Header_short_metrics_set", _wrap_TT_Vertical_Header_short_metrics_set, METH_VARARGS },
	 { "TT_Vertical_Header_long_metrics_get", _wrap_TT_Vertical_Header_long_metrics_get, METH_VARARGS },
	 { "TT_Vertical_Header_long_metrics_set", _wrap_TT_Vertical_Header_long_metrics_set, METH_VARARGS },
	 { "TT_Vertical_Header_number_Of_VMetrics_get", _wrap_TT_Vertical_Header_number_Of_VMetrics_get, METH_VARARGS },
	 { "TT_Vertical_Header_number_Of_VMetrics_set", _wrap_TT_Vertical_Header_number_Of_VMetrics_set, METH_VARARGS },
	 { "TT_Vertical_Header_metric_Data_Format_get", _wrap_TT_Vertical_Header_metric_Data_Format_get, METH_VARARGS },
	 { "TT_Vertical_Header_metric_Data_Format_set", _wrap_TT_Vertical_Header_metric_Data_Format_set, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved4_get", _wrap_TT_Vertical_Header_Reserved4_get, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved4_set", _wrap_TT_Vertical_Header_Reserved4_set, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved3_get", _wrap_TT_Vertical_Header_Reserved3_get, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved3_set", _wrap_TT_Vertical_Header_Reserved3_set, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved2_get", _wrap_TT_Vertical_Header_Reserved2_get, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved2_set", _wrap_TT_Vertical_Header_Reserved2_set, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved1_get", _wrap_TT_Vertical_Header_Reserved1_get, METH_VARARGS },
	 { "TT_Vertical_Header_Reserved1_set", _wrap_TT_Vertical_Header_Reserved1_set, METH_VARARGS },
	 { "TT_Vertical_Header_caret_Offset_get", _wrap_TT_Vertical_Header_caret_Offset_get, METH_VARARGS },
	 { "TT_Vertical_Header_caret_Offset_set", _wrap_TT_Vertical_Header_caret_Offset_set, METH_VARARGS },
	 { "TT_Vertical_Header_caret_Slope_Run_get", _wrap_TT_Vertical_Header_caret_Slope_Run_get, METH_VARARGS },
	 { "TT_Vertical_Header_caret_Slope_Run_set", _wrap_TT_Vertical_Header_caret_Slope_Run_set, METH_VARARGS },
	 { "TT_Vertical_Header_caret_Slope_Rise_get", _wrap_TT_Vertical_Header_caret_Slope_Rise_get, METH_VARARGS },
	 { "TT_Vertical_Header_caret_Slope_Rise_set", _wrap_TT_Vertical_Header_caret_Slope_Rise_set, METH_VARARGS },
	 { "TT_Vertical_Header_yMax_Extent_get", _wrap_TT_Vertical_Header_yMax_Extent_get, METH_VARARGS },
	 { "TT_Vertical_Header_yMax_Extent_set", _wrap_TT_Vertical_Header_yMax_Extent_set, METH_VARARGS },
	 { "TT_Vertical_Header_min_Bottom_Side_Bearing_get", _wrap_TT_Vertical_Header_min_Bottom_Side_Bearing_get, METH_VARARGS },
	 { "TT_Vertical_Header_min_Bottom_Side_Bearing_set", _wrap_TT_Vertical_Header_min_Bottom_Side_Bearing_set, METH_VARARGS },
	 { "TT_Vertical_Header_min_Top_Side_Bearing_get", _wrap_TT_Vertical_Header_min_Top_Side_Bearing_get, METH_VARARGS },
	 { "TT_Vertical_Header_min_Top_Side_Bearing_set", _wrap_TT_Vertical_Header_min_Top_Side_Bearing_set, METH_VARARGS },
	 { "TT_Vertical_Header_advance_Height_Max_get", _wrap_TT_Vertical_Header_advance_Height_Max_get, METH_VARARGS },
	 { "TT_Vertical_Header_advance_Height_Max_set", _wrap_TT_Vertical_Header_advance_Height_Max_set, METH_VARARGS },
	 { "TT_Vertical_Header_Line_Gap_get", _wrap_TT_Vertical_Header_Line_Gap_get, METH_VARARGS },
	 { "TT_Vertical_Header_Line_Gap_set", _wrap_TT_Vertical_Header_Line_Gap_set, METH_VARARGS },
	 { "TT_Vertical_Header_Descender_get", _wrap_TT_Vertical_Header_Descender_get, METH_VARARGS },
	 { "TT_Vertical_Header_Descender_set", _wrap_TT_Vertical_Header_Descender_set, METH_VARARGS },
	 { "TT_Vertical_Header_Ascender_get", _wrap_TT_Vertical_Header_Ascender_get, METH_VARARGS },
	 { "TT_Vertical_Header_Ascender_set", _wrap_TT_Vertical_Header_Ascender_set, METH_VARARGS },
	 { "TT_Vertical_Header_Version_get", _wrap_TT_Vertical_Header_Version_get, METH_VARARGS },
	 { "TT_Vertical_Header_Version_set", _wrap_TT_Vertical_Header_Version_set, METH_VARARGS },
	 { "TT_Horizontal_Header_short_metrics_get", _wrap_TT_Horizontal_Header_short_metrics_get, METH_VARARGS },
	 { "TT_Horizontal_Header_short_metrics_set", _wrap_TT_Horizontal_Header_short_metrics_set, METH_VARARGS },
	 { "TT_Horizontal_Header_long_metrics_get", _wrap_TT_Horizontal_Header_long_metrics_get, METH_VARARGS },
	 { "TT_Horizontal_Header_long_metrics_set", _wrap_TT_Horizontal_Header_long_metrics_set, METH_VARARGS },
	 { "TT_Horizontal_Header_number_Of_HMetrics_get", _wrap_TT_Horizontal_Header_number_Of_HMetrics_get, METH_VARARGS },
	 { "TT_Horizontal_Header_number_Of_HMetrics_set", _wrap_TT_Horizontal_Header_number_Of_HMetrics_set, METH_VARARGS },
	 { "TT_Horizontal_Header_metric_Data_Format_get", _wrap_TT_Horizontal_Header_metric_Data_Format_get, METH_VARARGS },
	 { "TT_Horizontal_Header_metric_Data_Format_set", _wrap_TT_Horizontal_Header_metric_Data_Format_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved4_get", _wrap_TT_Horizontal_Header_Reserved4_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved4_set", _wrap_TT_Horizontal_Header_Reserved4_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved3_get", _wrap_TT_Horizontal_Header_Reserved3_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved3_set", _wrap_TT_Horizontal_Header_Reserved3_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved2_get", _wrap_TT_Horizontal_Header_Reserved2_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved2_set", _wrap_TT_Horizontal_Header_Reserved2_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved1_get", _wrap_TT_Horizontal_Header_Reserved1_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved1_set", _wrap_TT_Horizontal_Header_Reserved1_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved0_get", _wrap_TT_Horizontal_Header_Reserved0_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Reserved0_set", _wrap_TT_Horizontal_Header_Reserved0_set, METH_VARARGS },
	 { "TT_Horizontal_Header_caret_Slope_Run_get", _wrap_TT_Horizontal_Header_caret_Slope_Run_get, METH_VARARGS },
	 { "TT_Horizontal_Header_caret_Slope_Run_set", _wrap_TT_Horizontal_Header_caret_Slope_Run_set, METH_VARARGS },
	 { "TT_Horizontal_Header_caret_Slope_Rise_get", _wrap_TT_Horizontal_Header_caret_Slope_Rise_get, METH_VARARGS },
	 { "TT_Horizontal_Header_caret_Slope_Rise_set", _wrap_TT_Horizontal_Header_caret_Slope_Rise_set, METH_VARARGS },
	 { "TT_Horizontal_Header_xMax_Extent_get", _wrap_TT_Horizontal_Header_xMax_Extent_get, METH_VARARGS },
	 { "TT_Horizontal_Header_xMax_Extent_set", _wrap_TT_Horizontal_Header_xMax_Extent_set, METH_VARARGS },
	 { "TT_Horizontal_Header_min_Right_Side_Bearing_get", _wrap_TT_Horizontal_Header_min_Right_Side_Bearing_get, METH_VARARGS },
	 { "TT_Horizontal_Header_min_Right_Side_Bearing_set", _wrap_TT_Horizontal_Header_min_Right_Side_Bearing_set, METH_VARARGS },
	 { "TT_Horizontal_Header_min_Left_Side_Bearing_get", _wrap_TT_Horizontal_Header_min_Left_Side_Bearing_get, METH_VARARGS },
	 { "TT_Horizontal_Header_min_Left_Side_Bearing_set", _wrap_TT_Horizontal_Header_min_Left_Side_Bearing_set, METH_VARARGS },
	 { "TT_Horizontal_Header_advance_Width_Max_get", _wrap_TT_Horizontal_Header_advance_Width_Max_get, METH_VARARGS },
	 { "TT_Horizontal_Header_advance_Width_Max_set", _wrap_TT_Horizontal_Header_advance_Width_Max_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Line_Gap_get", _wrap_TT_Horizontal_Header_Line_Gap_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Line_Gap_set", _wrap_TT_Horizontal_Header_Line_Gap_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Descender_get", _wrap_TT_Horizontal_Header_Descender_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Descender_set", _wrap_TT_Horizontal_Header_Descender_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Ascender_get", _wrap_TT_Horizontal_Header_Ascender_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Ascender_set", _wrap_TT_Horizontal_Header_Ascender_set, METH_VARARGS },
	 { "TT_Horizontal_Header_Version_get", _wrap_TT_Horizontal_Header_Version_get, METH_VARARGS },
	 { "TT_Horizontal_Header_Version_set", _wrap_TT_Horizontal_Header_Version_set, METH_VARARGS },
	 { "TT_Header_Glyph_Data_Format_get", _wrap_TT_Header_Glyph_Data_Format_get, METH_VARARGS },
	 { "TT_Header_Glyph_Data_Format_set", _wrap_TT_Header_Glyph_Data_Format_set, METH_VARARGS },
	 { "TT_Header_Index_To_Loc_Format_get", _wrap_TT_Header_Index_To_Loc_Format_get, METH_VARARGS },
	 { "TT_Header_Index_To_Loc_Format_set", _wrap_TT_Header_Index_To_Loc_Format_set, METH_VARARGS },
	 { "TT_Header_Font_Direction_get", _wrap_TT_Header_Font_Direction_get, METH_VARARGS },
	 { "TT_Header_Font_Direction_set", _wrap_TT_Header_Font_Direction_set, METH_VARARGS },
	 { "TT_Header_Lowest_Rec_PPEM_get", _wrap_TT_Header_Lowest_Rec_PPEM_get, METH_VARARGS },
	 { "TT_Header_Lowest_Rec_PPEM_set", _wrap_TT_Header_Lowest_Rec_PPEM_set, METH_VARARGS },
	 { "TT_Header_Mac_Style_get", _wrap_TT_Header_Mac_Style_get, METH_VARARGS },
	 { "TT_Header_Mac_Style_set", _wrap_TT_Header_Mac_Style_set, METH_VARARGS },
	 { "TT_Header_yMax_get", _wrap_TT_Header_yMax_get, METH_VARARGS },
	 { "TT_Header_yMax_set", _wrap_TT_Header_yMax_set, METH_VARARGS },
	 { "TT_Header_xMax_get", _wrap_TT_Header_xMax_get, METH_VARARGS },
	 { "TT_Header_xMax_set", _wrap_TT_Header_xMax_set, METH_VARARGS },
	 { "TT_Header_yMin_get", _wrap_TT_Header_yMin_get, METH_VARARGS },
	 { "TT_Header_yMin_set", _wrap_TT_Header_yMin_set, METH_VARARGS },
	 { "TT_Header_xMin_get", _wrap_TT_Header_xMin_get, METH_VARARGS },
	 { "TT_Header_xMin_set", _wrap_TT_Header_xMin_set, METH_VARARGS },
	 { "TT_Header_Modified_get", _wrap_TT_Header_Modified_get, METH_VARARGS },
	 { "TT_Header_Created_get", _wrap_TT_Header_Created_get, METH_VARARGS },
	 { "TT_Header_Units_Per_EM_get", _wrap_TT_Header_Units_Per_EM_get, METH_VARARGS },
	 { "TT_Header_Units_Per_EM_set", _wrap_TT_Header_Units_Per_EM_set, METH_VARARGS },
	 { "TT_Header_Flags_get", _wrap_TT_Header_Flags_get, METH_VARARGS },
	 { "TT_Header_Flags_set", _wrap_TT_Header_Flags_set, METH_VARARGS },
	 { "TT_Header_Magic_Number_get", _wrap_TT_Header_Magic_Number_get, METH_VARARGS },
	 { "TT_Header_Magic_Number_set", _wrap_TT_Header_Magic_Number_set, METH_VARARGS },
	 { "TT_Header_CheckSum_Adjust_get", _wrap_TT_Header_CheckSum_Adjust_get, METH_VARARGS },
	 { "TT_Header_CheckSum_Adjust_set", _wrap_TT_Header_CheckSum_Adjust_set, METH_VARARGS },
	 { "TT_Header_Font_Revision_get", _wrap_TT_Header_Font_Revision_get, METH_VARARGS },
	 { "TT_Header_Font_Revision_set", _wrap_TT_Header_Font_Revision_set, METH_VARARGS },
	 { "TT_Header_Table_Version_get", _wrap_TT_Header_Table_Version_get, METH_VARARGS },
	 { "TT_Header_Table_Version_set", _wrap_TT_Header_Table_Version_set, METH_VARARGS },
	 { "new_TT_Raster_Map", _wrap_new_TT_Raster_Map, METH_VARARGS },
	 { "TT_Raster_Map_tobuffer", _wrap_TT_Raster_Map_tobuffer, METH_VARARGS },
	 { "TT_Raster_Map_tostring", _wrap_TT_Raster_Map_tostring, METH_VARARGS },
	 { "TT_Raster_Map_size_get", _wrap_TT_Raster_Map_size_get, METH_VARARGS },
	 { "TT_Raster_Map_size_set", _wrap_TT_Raster_Map_size_set, METH_VARARGS },
	 { "TT_Raster_Map_bitmap_get", _wrap_TT_Raster_Map_bitmap_get, METH_VARARGS },
	 { "TT_Raster_Map_bitmap_set", _wrap_TT_Raster_Map_bitmap_set, METH_VARARGS },
	 { "TT_Raster_Map_flow_get", _wrap_TT_Raster_Map_flow_get, METH_VARARGS },
	 { "TT_Raster_Map_flow_set", _wrap_TT_Raster_Map_flow_set, METH_VARARGS },
	 { "TT_Raster_Map_width_get", _wrap_TT_Raster_Map_width_get, METH_VARARGS },
	 { "TT_Raster_Map_width_set", _wrap_TT_Raster_Map_width_set, METH_VARARGS },
	 { "TT_Raster_Map_cols_get", _wrap_TT_Raster_Map_cols_get, METH_VARARGS },
	 { "TT_Raster_Map_cols_set", _wrap_TT_Raster_Map_cols_set, METH_VARARGS },
	 { "TT_Raster_Map_rows_get", _wrap_TT_Raster_Map_rows_get, METH_VARARGS },
	 { "TT_Raster_Map_rows_set", _wrap_TT_Raster_Map_rows_set, METH_VARARGS },
	 { "TT_Instance_Metrics_y_resolution_get", _wrap_TT_Instance_Metrics_y_resolution_get, METH_VARARGS },
	 { "TT_Instance_Metrics_y_resolution_set", _wrap_TT_Instance_Metrics_y_resolution_set, METH_VARARGS },
	 { "TT_Instance_Metrics_x_resolution_get", _wrap_TT_Instance_Metrics_x_resolution_get, METH_VARARGS },
	 { "TT_Instance_Metrics_x_resolution_set", _wrap_TT_Instance_Metrics_x_resolution_set, METH_VARARGS },
	 { "TT_Instance_Metrics_y_scale_get", _wrap_TT_Instance_Metrics_y_scale_get, METH_VARARGS },
	 { "TT_Instance_Metrics_y_scale_set", _wrap_TT_Instance_Metrics_y_scale_set, METH_VARARGS },
	 { "TT_Instance_Metrics_x_scale_get", _wrap_TT_Instance_Metrics_x_scale_get, METH_VARARGS },
	 { "TT_Instance_Metrics_x_scale_set", _wrap_TT_Instance_Metrics_x_scale_set, METH_VARARGS },
	 { "TT_Instance_Metrics_y_ppem_get", _wrap_TT_Instance_Metrics_y_ppem_get, METH_VARARGS },
	 { "TT_Instance_Metrics_y_ppem_set", _wrap_TT_Instance_Metrics_y_ppem_set, METH_VARARGS },
	 { "TT_Instance_Metrics_x_ppem_get", _wrap_TT_Instance_Metrics_x_ppem_get, METH_VARARGS },
	 { "TT_Instance_Metrics_x_ppem_set", _wrap_TT_Instance_Metrics_x_ppem_set, METH_VARARGS },
	 { "TT_Instance_Metrics_pointSize_get", _wrap_TT_Instance_Metrics_pointSize_get, METH_VARARGS },
	 { "TT_Instance_Metrics_pointSize_set", _wrap_TT_Instance_Metrics_pointSize_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearVertAdvance_get", _wrap_TT_Big_Glyph_Metrics_linearVertAdvance_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearVertAdvance_set", _wrap_TT_Big_Glyph_Metrics_linearVertAdvance_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearVertBearingY_get", _wrap_TT_Big_Glyph_Metrics_linearVertBearingY_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearVertBearingY_set", _wrap_TT_Big_Glyph_Metrics_linearVertBearingY_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearHoriAdvance_get", _wrap_TT_Big_Glyph_Metrics_linearHoriAdvance_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearHoriAdvance_set", _wrap_TT_Big_Glyph_Metrics_linearHoriAdvance_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearHoriBearingX_get", _wrap_TT_Big_Glyph_Metrics_linearHoriBearingX_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_linearHoriBearingX_set", _wrap_TT_Big_Glyph_Metrics_linearHoriBearingX_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_vertAdvance_get", _wrap_TT_Big_Glyph_Metrics_vertAdvance_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_vertAdvance_set", _wrap_TT_Big_Glyph_Metrics_vertAdvance_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_horiAdvance_get", _wrap_TT_Big_Glyph_Metrics_horiAdvance_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_horiAdvance_set", _wrap_TT_Big_Glyph_Metrics_horiAdvance_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_vertBearingY_get", _wrap_TT_Big_Glyph_Metrics_vertBearingY_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_vertBearingY_set", _wrap_TT_Big_Glyph_Metrics_vertBearingY_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_vertBearingX_get", _wrap_TT_Big_Glyph_Metrics_vertBearingX_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_vertBearingX_set", _wrap_TT_Big_Glyph_Metrics_vertBearingX_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_horiBearingY_get", _wrap_TT_Big_Glyph_Metrics_horiBearingY_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_horiBearingY_set", _wrap_TT_Big_Glyph_Metrics_horiBearingY_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_horiBearingX_get", _wrap_TT_Big_Glyph_Metrics_horiBearingX_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_horiBearingX_set", _wrap_TT_Big_Glyph_Metrics_horiBearingX_set, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_bbox_get", _wrap_TT_Big_Glyph_Metrics_bbox_get, METH_VARARGS },
	 { "TT_Big_Glyph_Metrics_bbox_set", _wrap_TT_Big_Glyph_Metrics_bbox_set, METH_VARARGS },
	 { "TT_Glyph_Metrics_advance_get", _wrap_TT_Glyph_Metrics_advance_get, METH_VARARGS },
	 { "TT_Glyph_Metrics_advance_set", _wrap_TT_Glyph_Metrics_advance_set, METH_VARARGS },
	 { "TT_Glyph_Metrics_bearingY_get", _wrap_TT_Glyph_Metrics_bearingY_get, METH_VARARGS },
	 { "TT_Glyph_Metrics_bearingY_set", _wrap_TT_Glyph_Metrics_bearingY_set, METH_VARARGS },
	 { "TT_Glyph_Metrics_bearingX_get", _wrap_TT_Glyph_Metrics_bearingX_get, METH_VARARGS },
	 { "TT_Glyph_Metrics_bearingX_set", _wrap_TT_Glyph_Metrics_bearingX_set, METH_VARARGS },
	 { "TT_Glyph_Metrics_bbox_get", _wrap_TT_Glyph_Metrics_bbox_get, METH_VARARGS },
	 { "TT_Glyph_Metrics_bbox_set", _wrap_TT_Glyph_Metrics_bbox_set, METH_VARARGS },
	 { "TT_BBox_yMax_get", _wrap_TT_BBox_yMax_get, METH_VARARGS },
	 { "TT_BBox_yMax_set", _wrap_TT_BBox_yMax_set, METH_VARARGS },
	 { "TT_BBox_xMax_get", _wrap_TT_BBox_xMax_get, METH_VARARGS },
	 { "TT_BBox_xMax_set", _wrap_TT_BBox_xMax_set, METH_VARARGS },
	 { "TT_BBox_yMin_get", _wrap_TT_BBox_yMin_get, METH_VARARGS },
	 { "TT_BBox_yMin_set", _wrap_TT_BBox_yMin_set, METH_VARARGS },
	 { "TT_BBox_xMin_get", _wrap_TT_BBox_xMin_get, METH_VARARGS },
	 { "TT_BBox_xMin_set", _wrap_TT_BBox_xMin_set, METH_VARARGS },
	 { "TT_Outline_dropout_mode_get", _wrap_TT_Outline_dropout_mode_get, METH_VARARGS },
	 { "TT_Outline_dropout_mode_set", _wrap_TT_Outline_dropout_mode_set, METH_VARARGS },
	 { "TT_Outline_second_pass_get", _wrap_TT_Outline_second_pass_get, METH_VARARGS },
	 { "TT_Outline_second_pass_set", _wrap_TT_Outline_second_pass_set, METH_VARARGS },
	 { "TT_Outline_high_precision_get", _wrap_TT_Outline_high_precision_get, METH_VARARGS },
	 { "TT_Outline_high_precision_set", _wrap_TT_Outline_high_precision_set, METH_VARARGS },
	 { "TT_Outline_owner_get", _wrap_TT_Outline_owner_get, METH_VARARGS },
	 { "TT_Outline_owner_set", _wrap_TT_Outline_owner_set, METH_VARARGS },
	 { "TT_Outline_contours_get", _wrap_TT_Outline_contours_get, METH_VARARGS },
	 { "TT_Outline_contours_set", _wrap_TT_Outline_contours_set, METH_VARARGS },
	 { "TT_Outline_flags_get", _wrap_TT_Outline_flags_get, METH_VARARGS },
	 { "TT_Outline_flags_set", _wrap_TT_Outline_flags_set, METH_VARARGS },
	 { "TT_Outline_points_get", _wrap_TT_Outline_points_get, METH_VARARGS },
	 { "TT_Outline_points_set", _wrap_TT_Outline_points_set, METH_VARARGS },
	 { "TT_Outline_n_points_get", _wrap_TT_Outline_n_points_get, METH_VARARGS },
	 { "TT_Outline_n_points_set", _wrap_TT_Outline_n_points_set, METH_VARARGS },
	 { "TT_Outline_n_contours_get", _wrap_TT_Outline_n_contours_get, METH_VARARGS },
	 { "TT_Outline_n_contours_set", _wrap_TT_Outline_n_contours_set, METH_VARARGS },
	 { "delete_TT_Matrix", _wrap_delete_TT_Matrix, METH_VARARGS },
	 { "new_TT_Matrix", _wrap_new_TT_Matrix, METH_VARARGS },
	 { "TT_Matrix_yy_get", _wrap_TT_Matrix_yy_get, METH_VARARGS },
	 { "TT_Matrix_yy_set", _wrap_TT_Matrix_yy_set, METH_VARARGS },
	 { "TT_Matrix_yx_get", _wrap_TT_Matrix_yx_get, METH_VARARGS },
	 { "TT_Matrix_yx_set", _wrap_TT_Matrix_yx_set, METH_VARARGS },
	 { "TT_Matrix_xy_get", _wrap_TT_Matrix_xy_get, METH_VARARGS },
	 { "TT_Matrix_xy_set", _wrap_TT_Matrix_xy_set, METH_VARARGS },
	 { "TT_Matrix_xx_get", _wrap_TT_Matrix_xx_get, METH_VARARGS },
	 { "TT_Matrix_xx_set", _wrap_TT_Matrix_xx_set, METH_VARARGS },
	 { "delete_TT_Vector", _wrap_delete_TT_Vector, METH_VARARGS },
	 { "new_TT_Vector", _wrap_new_TT_Vector, METH_VARARGS },
	 { "TT_Vector_y_get", _wrap_TT_Vector_y_get, METH_VARARGS },
	 { "TT_Vector_y_set", _wrap_TT_Vector_y_set, METH_VARARGS },
	 { "TT_Vector_x_get", _wrap_TT_Vector_x_get, METH_VARARGS },
	 { "TT_Vector_x_set", _wrap_TT_Vector_x_set, METH_VARARGS },
	 { "delete_TT_UnitVector", _wrap_delete_TT_UnitVector, METH_VARARGS },
	 { "new_TT_UnitVector", _wrap_new_TT_UnitVector, METH_VARARGS },
	 { "TT_UnitVector_y_get", _wrap_TT_UnitVector_y_get, METH_VARARGS },
	 { "TT_UnitVector_y_set", _wrap_TT_UnitVector_y_set, METH_VARARGS },
	 { "TT_UnitVector_x_get", _wrap_TT_UnitVector_x_get, METH_VARARGS },
	 { "TT_UnitVector_x_set", _wrap_TT_UnitVector_x_set, METH_VARARGS },
	 { "ptrmap", _wrap_ptrmap, METH_VARARGS },
	 { "ptradd", _wrap_ptradd, METH_VARARGS },
	 { "ptrfree", _wrap_ptrfree, METH_VARARGS },
	 { "ptrcreate", _wrap_ptrcreate, METH_VARARGS },
	 { "ptrset", _wrap_ptrset, METH_VARARGS },
	 { "ptrvalue", _wrap_ptrvalue, METH_VARARGS },
	 { "ptrcast", _wrap_ptrcast, METH_VARARGS },
	 { "memset", _wrap_memset, METH_VARARGS },
	 { "memchr", _wrap_memchr, METH_VARARGS },
	 { "memcmp", _wrap_memcmp, METH_VARARGS },
	 { "memmove", _wrap_memmove, METH_VARARGS },
	 { "memcpy", _wrap_memcpy, METH_VARARGS },
	 { "free", _wrap_free, METH_VARARGS },
	 { "realloc", _wrap_realloc, METH_VARARGS },
	 { "malloc", _wrap_malloc, METH_VARARGS },
	 { "calloc", _wrap_calloc, METH_VARARGS },
	 { "TT_Get_Face_Widths", _wrap_TT_Get_Face_Widths, METH_VARARGS },
	 { "TT_Get_PS_Name", _wrap_TT_Get_PS_Name, METH_VARARGS },
	 { "TT_Load_PS_Names", _wrap_TT_Load_PS_Names, METH_VARARGS },
	 { "TT_Init_Post_Extension", _wrap_TT_Init_Post_Extension, METH_VARARGS },
	 { "TT_Get_Face_Gasp_Flags", _wrap_TT_Get_Face_Gasp_Flags, METH_VARARGS },
	 { "TT_CharMap_Last", _wrap_TT_CharMap_Last, METH_VARARGS },
	 { "TT_CharMap_Next", _wrap_TT_CharMap_Next, METH_VARARGS },
	 { "TT_CharMap_First", _wrap_TT_CharMap_First, METH_VARARGS },
	 { "TT_Load_Kerning_Table", _wrap_TT_Load_Kerning_Table, METH_VARARGS },
	 { "TT_Get_Kerning_Directory", _wrap_TT_Get_Kerning_Directory, METH_VARARGS },
	 { "TT_Init_Kerning_Extension", _wrap_TT_Init_Kerning_Extension, METH_VARARGS },
	 { "TT_Get_Name_String", _wrap_TT_Get_Name_String, METH_VARARGS },
	 { "TT_Get_Name_ID", _wrap_TT_Get_Name_ID, METH_VARARGS },
	 { "TT_Char_Index", _wrap_TT_Char_Index, METH_VARARGS },
	 { "pTT_String_Indices", _wrap_pTT_String_Indices, METH_VARARGS },
	 { "pTT_Char_Index", _wrap_pTT_Char_Index, METH_VARARGS },
	 { "TT_Get_CharMap", _wrap_TT_Get_CharMap, METH_VARARGS },
	 { "TT_Get_CharMap_ID", _wrap_TT_Get_CharMap_ID, METH_VARARGS },
	 { "TT_MulFix", _wrap_TT_MulFix, METH_VARARGS },
	 { "TT_MulDiv", _wrap_TT_MulDiv, METH_VARARGS },
	 { "TT_Transform_Vector", _wrap_TT_Transform_Vector, METH_VARARGS },
	 { "TT_Translate_Outline", _wrap_TT_Translate_Outline, METH_VARARGS },
	 { "TT_Transform_Outline", _wrap_TT_Transform_Outline, METH_VARARGS },
	 { "TT_Get_Outline_BBox", _wrap_TT_Get_Outline_BBox, METH_VARARGS },
	 { "TT_Get_Outline_Pixmap", _wrap_TT_Get_Outline_Pixmap, METH_VARARGS },
	 { "TT_Get_Outline_Bitmap", _wrap_TT_Get_Outline_Bitmap, METH_VARARGS },
	 { "TT_Copy_Outline", _wrap_TT_Copy_Outline, METH_VARARGS },
	 { "TT_Done_Outline", _wrap_TT_Done_Outline, METH_VARARGS },
	 { "TT_New_Outline", _wrap_TT_New_Outline, METH_VARARGS },
	 { "TT_Get_Glyph_Pixmap", _wrap_TT_Get_Glyph_Pixmap, METH_VARARGS },
	 { "TT_Get_Glyph_Bitmap", _wrap_TT_Get_Glyph_Bitmap, METH_VARARGS },
	 { "TT_Get_Glyph_Big_Metrics", _wrap_TT_Get_Glyph_Big_Metrics, METH_VARARGS },
	 { "TT_Get_Glyph_Metrics", _wrap_TT_Get_Glyph_Metrics, METH_VARARGS },
	 { "TT_Get_Glyph_Outline", _wrap_TT_Get_Glyph_Outline, METH_VARARGS },
	 { "TT_Load_Glyph", _wrap_TT_Load_Glyph, METH_VARARGS },
	 { "TT_Done_Glyph", _wrap_TT_Done_Glyph, METH_VARARGS },
	 { "TT_New_Glyph", _wrap_TT_New_Glyph, METH_VARARGS },
	 { "TT_Done_Instance", _wrap_TT_Done_Instance, METH_VARARGS },
	 { "TT_Get_Instance_Metrics", _wrap_TT_Get_Instance_Metrics, METH_VARARGS },
	 { "TT_Set_Instance_PixelSizes", _wrap_TT_Set_Instance_PixelSizes, METH_VARARGS },
	 { "TT_Set_Instance_PointSize", _wrap_TT_Set_Instance_PointSize, METH_VARARGS },
	 { "TT_Set_Instance_CharSizes", _wrap_TT_Set_Instance_CharSizes, METH_VARARGS },
	 { "TT_Set_Instance_CharSize", _wrap_TT_Set_Instance_CharSize, METH_VARARGS },
	 { "TT_Set_Instance_Resolutions", _wrap_TT_Set_Instance_Resolutions, METH_VARARGS },
	 { "TT_New_Instance", _wrap_TT_New_Instance, METH_VARARGS },
	 { "TT_Get_Font_Data", _wrap_TT_Get_Font_Data, METH_VARARGS },
	 { "TT_Close_Face", _wrap_TT_Close_Face, METH_VARARGS },
	 { "TT_Get_Face_Metrics", _wrap_TT_Get_Face_Metrics, METH_VARARGS },
	 { "TT_Flush_Face", _wrap_TT_Flush_Face, METH_VARARGS },
	 { "TT_Get_Face_Properties", _wrap_TT_Get_Face_Properties, METH_VARARGS },
	 { "TT_Open_Collection", _wrap_TT_Open_Collection, METH_VARARGS },
	 { "TT_Open_Face", _wrap_TT_Open_Face, METH_VARARGS },
	 { "TT_Set_Raster_Gray_Palette", _wrap_TT_Set_Raster_Gray_Palette, METH_VARARGS },
	 { "TT_Done_FreeType", _wrap_TT_Done_FreeType, METH_VARARGS },
	 { "TT_Init_FreeType", _wrap_TT_Init_FreeType, METH_VARARGS },
	 { "newPixmap", _wrap_newPixmap, METH_VARARGS },
	 { "newBitmap", _wrap_newBitmap, METH_VARARGS },
	 { "getHdmxRecords", _wrap_getHdmxRecords, METH_VARARGS },
	 { "getOutlineContours", _wrap_getOutlineContours, METH_VARARGS },
	 { "getOutlineFlags", _wrap_getOutlineFlags, METH_VARARGS },
	 { "getOutlinePoints", _wrap_getOutlinePoints, METH_VARARGS },
	 { NULL, NULL }
};
#ifdef __cplusplus
}
#endif
/*
 * This table is used by the pointer type-checker
 */
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
    { "_signed_long","_TT_Pos",0},
    { "_signed_long","_TT_F26Dot6",0},
    { "_signed_long","_TT_Long",0},
    { "_signed_long","_TT_Fixed",0},
    { "_signed_long","_long",0},
    { "_TT_Bool","_TT_UInt",0},
    { "_TT_Bool","_TT_Int",0},
    { "_TT_Bool","_int",0},
    { "_TT_Bool","_signed_int",0},
    { "_TT_Bool","_unsigned_int",0},
    { "_TT_F26Dot6","_TT_Pos",0},
    { "_TT_F26Dot6","_signed_long",0},
    { "_TT_F26Dot6","_long",0},
    { "_TT_F26Dot6","_TT_Fixed",0},
    { "_TT_F26Dot6","_TT_Long",0},
    { "_long","_TT_Pos",0},
    { "_long","_TT_F26Dot6",0},
    { "_long","_TT_ULong",0},
    { "_long","_TT_Long",0},
    { "_long","_TT_Fixed",0},
    { "_long","_unsigned_long",0},
    { "_long","_signed_long",0},
    { "_TT_String","_char",0},
    { "_TT_String","_TT_Text",0},
    { "_TT_Byte","_unsigned_char",0},
    { "_TT_Long","_TT_Pos",0},
    { "_TT_Long","_TT_F26Dot6",0},
    { "_TT_Long","_signed_long",0},
    { "_TT_Long","_long",0},
    { "_TT_Long","_TT_Fixed",0},
    { "_signed_char","_TT_Char",0},
    { "_TT_Text","_TT_String",0},
    { "_TT_Text","_char",0},
    { "_TT_ULong","_unsigned_long",0},
    { "_TT_ULong","_long",0},
    { "_TT_UFWord","_TT_UShort",0},
    { "_TT_UFWord","_unsigned_short",0},
    { "_TT_UFWord","_short",0},
    { "_char","_TT_String",0},
    { "_char","_TT_Text",0},
    { "_TT_UShort","_unsigned_short",0},
    { "_TT_UShort","_short",0},
    { "_TT_UShort","_TT_UFWord",0},
    { "_TT_Pos","_signed_long",0},
    { "_TT_Pos","_long",0},
    { "_TT_Pos","_TT_Fixed",0},
    { "_TT_Pos","_TT_Long",0},
    { "_TT_Pos","_TT_F26Dot6",0},
    { "_TT_Fixed","_TT_Pos",0},
    { "_TT_Fixed","_TT_F26Dot6",0},
    { "_TT_Fixed","_TT_Long",0},
    { "_TT_Fixed","_signed_long",0},
    { "_TT_Fixed","_long",0},
    { "_TT_Char","_signed_char",0},
    { "_unsigned_long","_TT_ULong",0},
    { "_unsigned_long","_long",0},
    { "_signed_int","_TT_Int",0},
    { "_signed_int","_TT_Bool",0},
    { "_signed_int","_int",0},
    { "_TT_Int","_TT_UInt",0},
    { "_TT_Int","_int",0},
    { "_TT_Int","_signed_int",0},
    { "_TT_Int","_unsigned_int",0},
    { "_TT_Int","_TT_Bool",0},
    { "_TT_UInt","_unsigned_int",0},
    { "_TT_UInt","_int",0},
    { "_TT_UInt","_TT_Bool",0},
    { "_TT_UInt","_TT_Int",0},
    { "_unsigned_short","_TT_UShort",0},
    { "_unsigned_short","_TT_UFWord",0},
    { "_unsigned_short","_short",0},
    { "_signed_short","_TT_F2Dot14",0},
    { "_signed_short","_TT_Short",0},
    { "_signed_short","_TT_FWord",0},
    { "_signed_short","_short",0},
    { "_unsigned_char","_TT_Byte",0},
    { "_unsigned_int","_TT_UInt",0},
    { "_unsigned_int","_TT_Int",0},
    { "_unsigned_int","_TT_Bool",0},
    { "_unsigned_int","_int",0},
    { "_short","_TT_F2Dot14",0},
    { "_short","_TT_UShort",0},
    { "_short","_TT_Short",0},
    { "_short","_TT_UFWord",0},
    { "_short","_TT_FWord",0},
    { "_short","_unsigned_short",0},
    { "_short","_signed_short",0},
    { "_TT_F2Dot14","_signed_short",0},
    { "_TT_F2Dot14","_short",0},
    { "_TT_F2Dot14","_TT_FWord",0},
    { "_TT_F2Dot14","_TT_Short",0},
    { "_int","_TT_UInt",0},
    { "_int","_TT_Int",0},
    { "_int","_TT_Bool",0},
    { "_int","_unsigned_int",0},
    { "_int","_signed_int",0},
    { "_TT_FWord","_TT_F2Dot14",0},
    { "_TT_FWord","_TT_Short",0},
    { "_TT_FWord","_signed_short",0},
    { "_TT_FWord","_short",0},
    { "_TT_Short","_TT_F2Dot14",0},
    { "_TT_Short","_signed_short",0},
    { "_TT_Short","_short",0},
    { "_TT_Short","_TT_FWord",0},
{0,0,0}};

static PyObject *SWIG_globals;
#ifdef __cplusplus
extern "C" 
#endif
SWIGEXPORT(void) initfreetypec() {
	 PyObject *m, *d;
	 SWIG_globals = SWIG_newvarlink();
	 m = Py_InitModule("freetypec", freetypecMethods);
	 d = PyModule_GetDict(m);
	 PyDict_SetItemString(d,"cvar", SWIG_globals);
	 SWIG_addvarlink(SWIG_globals,"FreeTypeError",_wrap_FreeTypeError_get, _wrap_FreeTypeError_set);
	 PyDict_SetItemString(d,"TT_Flow_Down", PyInt_FromLong((long) -1));
	 PyDict_SetItemString(d,"TT_Flow_Up", PyInt_FromLong((long) 1));
	 PyDict_SetItemString(d,"TT_Flow_Error", PyInt_FromLong((long) 0));
	 PyDict_SetItemString(d,"TTLOAD_SCALE_GLYPH", PyInt_FromLong((long) 1));
	 PyDict_SetItemString(d,"TTLOAD_HINT_GLYPH", PyInt_FromLong((long) 2));
	 PyDict_SetItemString(d,"TTLOAD_DEFAULT", PyInt_FromLong((long) 3));

  FreeTypeError = PyErr_NewException("freetype.error", NULL, NULL);
{
   int i;
   for (i = 0; _swig_mapping[i].n1; i++)
        SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
}
}
