Added SwigWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
166db98dbe
commit
eb5c026373
1 changed files with 5 additions and 1 deletions
|
|
@ -205,13 +205,17 @@ extern int Swig_emit(DOH *obj, void *clientdata);
|
||||||
/* -- Wrapper function Object */
|
/* -- Wrapper function Object */
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
DOHHash *h;
|
|
||||||
DOHHash *localh;
|
DOHHash *localh;
|
||||||
DOHString *def;
|
DOHString *def;
|
||||||
DOHString *locals;
|
DOHString *locals;
|
||||||
DOHString *code;
|
DOHString *code;
|
||||||
} SwigWrapper;
|
} SwigWrapper;
|
||||||
|
|
||||||
|
extern SwigWrapper *NewSwigWrapper();
|
||||||
|
extern void DelSwigWrapper(SwigWrapper *w);
|
||||||
|
extern void SwigWrapper_print(SwigWrapper *w, DOHFile *f);
|
||||||
|
extern int SwigWrapper_add_local(SwigWrapper *w, DOHString_or_char *decl, DOHString_or_char *name);
|
||||||
|
extern int SwigWrapper_check_local(SwigWrapper *w, DOHString_or_char *name);
|
||||||
|
|
||||||
/* --- Misc --- */
|
/* --- Misc --- */
|
||||||
extern char *Swig_copy_string(const char *c);
|
extern char *Swig_copy_string(const char *c);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue