Performance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
824a5e9b02
commit
b198b70c5a
1 changed files with 3 additions and 8 deletions
|
|
@ -33,13 +33,8 @@ protected:
|
||||||
int docstring;
|
int docstring;
|
||||||
int have_output;
|
int have_output;
|
||||||
int use_kw;
|
int use_kw;
|
||||||
|
int noopt;
|
||||||
FILE *f_shadow;
|
FILE *f_shadow;
|
||||||
struct Method { // Methods list. Needed to build methods
|
|
||||||
char *name; // Array at very end.
|
|
||||||
char *function;
|
|
||||||
Method *next;
|
|
||||||
};
|
|
||||||
Method *head;
|
|
||||||
Hash hash;
|
Hash hash;
|
||||||
String classes;
|
String classes;
|
||||||
String func;
|
String func;
|
||||||
|
|
@ -49,7 +44,7 @@ protected:
|
||||||
|
|
||||||
char *import_file;
|
char *import_file;
|
||||||
char *class_name;
|
char *class_name;
|
||||||
void add_method(char *name, char *function);
|
void add_method(char *name, char *function, int kw);
|
||||||
void print_methods();
|
void print_methods();
|
||||||
char *usage_var(char *, DataType *);
|
char *usage_var(char *, DataType *);
|
||||||
char *usage_func(char *, DataType *, ParmList *);
|
char *usage_func(char *, DataType *, ParmList *);
|
||||||
|
|
@ -67,12 +62,12 @@ public :
|
||||||
module = (char *) 0;
|
module = (char *) 0;
|
||||||
path = "python"; // Set this to subdirectory where language
|
path = "python"; // Set this to subdirectory where language
|
||||||
// Dependent library files will be stored
|
// Dependent library files will be stored
|
||||||
head = 0; // Head of method list
|
|
||||||
global_name = "cvar";
|
global_name = "cvar";
|
||||||
shadow = 0;
|
shadow = 0;
|
||||||
have_defarg = 0;
|
have_defarg = 0;
|
||||||
import_file = 0;
|
import_file = 0;
|
||||||
use_kw = 0;
|
use_kw = 0;
|
||||||
|
noopt = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Don't change any of this
|
// Don't change any of this
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue