From 77a6f33d987df5a309f7e201d12797b7836bb264 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 1 Dec 2004 00:48:10 +0000 Subject: [PATCH] fix smart_pointer + members git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6803 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/allocate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/allocate.cxx b/Source/Modules/allocate.cxx index f7f6ae435..7d51fd635 100644 --- a/Source/Modules/allocate.cxx +++ b/Source/Modules/allocate.cxx @@ -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);