2  * FILE : src/mac/clip_dnd.cpp 
   4  * This file was automatically generated by : 
   5  * Simplified Wrapper and Interface Generator (SWIG) 
   6  * Version 1.1 (Build 883) 
   8  * Portions Copyright (c) 1995-1998 
   9  * The University of Utah and The Regents of the University of California. 
  10  * Permission is granted to distribute this file in any manner provided 
  11  * this notice remains intact. 
  13  * Do not make changes to this file--changes will be lost! 
  19 /* Implementation : PYTHON */ 
  24 /* Definitions for Windows/Unix exporting */ 
  25 #if defined(__WIN32__) 
  26 #   if defined(_MSC_VER) 
  27 #       define SWIGEXPORT(a) __declspec(dllexport) a 
  29 #       if defined(__BORLANDC__) 
  30 #           define SWIGEXPORT(a) a _export 
  32 #           define SWIGEXPORT(a) a 
  36 #   define SWIGEXPORT(a) a 
  45 extern void SWIG_MakePtr(char *, void *, char *); 
  46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); 
  47 extern char *SWIG_GetPtr(char *, void **, char *); 
  48 extern char *SWIG_GetPtrObj(PyObject 
*, void **, char *); 
  49 extern void SWIG_addvarlink(PyObject 
*, char *, PyObject 
*(*)(void), int (*)(PyObject 
*)); 
  50 extern PyObject 
*SWIG_newvarlink(void); 
  54 #define SWIG_init    initclip_dndc 
  56 #define SWIG_name    "clip_dndc" 
  60 static PyMethodDef clip_dndcMethods
[] = { 
  67  * This table is used by the pointer type-checker 
  69 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
  70     { "_signed_long","_long",0}, 
  71     { "_long","_unsigned_long",0}, 
  72     { "_long","_signed_long",0}, 
  73     { "_unsigned_long","_long",0}, 
  74     { "_signed_int","_int",0}, 
  75     { "_unsigned_short","_short",0}, 
  76     { "_signed_short","_short",0}, 
  77     { "_unsigned_int","_int",0}, 
  78     { "_short","_unsigned_short",0}, 
  79     { "_short","_signed_short",0}, 
  80     { "_int","_unsigned_int",0}, 
  81     { "_int","_signed_int",0}, 
  84 static PyObject 
*SWIG_globals
; 
  88 SWIGEXPORT(void) initclip_dndc() { 
  90          SWIG_globals 
= SWIG_newvarlink(); 
  91          m 
= Py_InitModule("clip_dndc", clip_dndcMethods
); 
  92          d 
= PyModule_GetDict(m
); 
  95    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
  96         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);