Generates wrappers for all variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
adc9136582
commit
cea8822129
1 changed files with 4 additions and 3 deletions
|
|
@ -412,10 +412,11 @@ int CFFI :: constantWrapper(Node *n) {
|
|||
}
|
||||
|
||||
int CFFI :: variableWrapper(Node *n) {
|
||||
String *storage=Getattr(n,"storage");
|
||||
// String *storage=Getattr(n,"storage");
|
||||
// Printf(stdout,"\"%s\" %s)\n",storage,Getattr(n, "sym:name"));
|
||||
|
||||
if(!extern_all_flag && (!storage || (Strcmp(storage,"extern") && Strcmp(storage,"externc"))))
|
||||
return SWIG_OK;
|
||||
// if(!extern_all_flag && (!storage || (Strcmp(storage,"extern") && Strcmp(storage,"externc"))))
|
||||
// return SWIG_OK;
|
||||
|
||||
String *var_name=Getattr(n, "sym:name");
|
||||
String *lisp_type = Swig_typemap_lookup_new("cin",n, "",0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue