Added runtime declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4e2c722503
commit
4685f5734e
1 changed files with 12 additions and 0 deletions
|
|
@ -47,6 +47,16 @@ typedef struct _swig_type_info {
|
||||||
struct _swig_type_info *prev;
|
struct _swig_type_info *prev;
|
||||||
} _swig_type_info;
|
} _swig_type_info;
|
||||||
|
|
||||||
|
#ifdef SWIG_NOINCLUDE
|
||||||
|
SWIGEXPORT(_swig_type_info *) SWIG_TypeRegister(_swig_type_info *);
|
||||||
|
SWIGEXPORT(_swig_type_info *) SWIG_TypeCheck(char *c, _swig_type_info *);
|
||||||
|
SWIGEXPORT(int) SWIG_ConvertPtrFromString(Tcl_Interp *, char *, void **, _swig_type_info *);
|
||||||
|
SWIGEXPORT(int) SWIG_ConvertPtr(Tcl_Interp *, Tcl_Obj *, void **, _swig_type_info *);
|
||||||
|
SWIGEXPORT(void) SWIG_MakePtr(char *, void *, _swig_type_info *);
|
||||||
|
SWIGEXPORT(Tcl_Obj *) SWIG_NewPointerObj(void *, _swig_type_info *);
|
||||||
|
SWIGEXPORT(int) SWIG_GetArgs(Tcl_Interp *, int, Tcl_Obj *CONST [], const char *, ...);
|
||||||
|
|
||||||
|
#else
|
||||||
static _swig_type_info *swig_types = 0;
|
static _swig_type_info *swig_types = 0;
|
||||||
|
|
||||||
/* Register type mappings with the type-checker */
|
/* Register type mappings with the type-checker */
|
||||||
|
|
@ -285,6 +295,8 @@ SWIG_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], const char *fm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Structure for command table */
|
/* Structure for command table */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue