fix smart_pointer + members

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-12-01 00:48:10 +00:00
commit 207768de8b

View file

@ -271,7 +271,7 @@ class Allocate : public Dispatcher {
if (Strcmp(nodeType(c),"cdecl") == 0) {
if (!Getattr(c,"feature:ignore")) {
String *storage = Getattr(c,"storage");
if (!((Cmp(storage,"static") == 0) || (Cmp(storage,"typedef") == 0))) {
if (!((Cmp(storage,"typedef") == 0))) {
String *name = Getattr(c,"name");
String *symname = Getattr(c,"sym:name");
Node *e = Swig_symbol_clookup_local(name,0);