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:
Surendra Singhi 2006-04-13 11:57:06 +00:00
commit cea8822129

View file

@ -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);