]>
Commit | Line | Data |
---|---|---|
e6056257 RD |
1 | /* |
2 | * FILE : src/mac/clip_dnd.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 883) | |
7 | * | |
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. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #include "Python.h" | |
40 | ||
41 | #ifdef __cplusplus | |
42 | extern "C" { | |
43 | #endif | |
44 | ||
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); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initclip_dndc | |
55 | ||
56 | #define SWIG_name "clip_dndc" | |
57 | #ifdef __cplusplus | |
58 | extern "C" { | |
59 | #endif | |
60 | static PyMethodDef clip_dndcMethods[] = { | |
61 | { NULL, NULL } | |
62 | }; | |
63 | #ifdef __cplusplus | |
64 | } | |
65 | #endif | |
66 | /* | |
67 | * This table is used by the pointer type-checker | |
68 | */ | |
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}, | |
82 | {0,0,0}}; | |
83 | ||
84 | static PyObject *SWIG_globals; | |
85 | #ifdef __cplusplus | |
86 | extern "C" | |
87 | #endif | |
88 | SWIGEXPORT(void) initclip_dndc() { | |
89 | PyObject *m, *d; | |
90 | SWIG_globals = SWIG_newvarlink(); | |
91 | m = Py_InitModule("clip_dndc", clip_dndcMethods); | |
92 | d = PyModule_GetDict(m); | |
93 | { | |
94 | int i; | |
95 | for (i = 0; _swig_mapping[i].n1; i++) | |
96 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
97 | } | |
98 | } |