From 408be36eced8d3e39ec0807bc1711a5b351b1dee Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Tue, 11 Mar 2003 13:27:07 +0000 Subject: [PATCH] Fixed minor VC compilation problems. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4508 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/lang.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Modules/lang.cxx b/Source/Modules/lang.cxx index 812927358..946d967aa 100644 --- a/Source/Modules/lang.cxx +++ b/Source/Modules/lang.cxx @@ -1358,7 +1358,7 @@ int Language::unrollVirtualMethods(Node *n, Node *ni; String *type; String *nodeType; - String *cdecl; + String *c_decl; String *storage; String *classname; String *decl; @@ -1371,7 +1371,7 @@ int Language::unrollVirtualMethods(Node *n, for (ni = Getattr(n, "firstChild"); ni; ni = nextSibling(ni)) { nodeType = Getattr(ni, "nodeType"); storage = Getattr(ni, "storage"); - cdecl = Getattr(ni, "cdecl"); + c_decl = Getattr(ni, "cdecl"); decl = Getattr(ni, "decl"); if (!Cmp(nodeType, "cdecl") && SwigType_isfunction(decl)) { int is_virtual = storage && !Cmp(storage, "virtual"); @@ -1482,6 +1482,7 @@ int Language::classDirectorConstructors(Node *n) { if (!constructor) { classDirectorDefaultConstructor(n); } + return SWIG_OK; } /* ---------------------------------------------------------------------- @@ -1500,6 +1501,7 @@ int Language::classDirectorMethods(Node *n) { Setattr(item, "director", "1"); } } + return SWIG_OK; } /* ----------------------------------------------------------------------