From b57a675d00a7e42bd145e62fd2e035400cc76873 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 20 Oct 2014 19:51:27 +0100 Subject: [PATCH] Cosmetic comment changes Note: copyrights are in the COPYRIGHT file --- Source/Modules/csharp.cxx | 4 ++++ Source/Modules/java.cxx | 5 +++++ Source/Modules/lang.cxx | 5 +++++ Source/Modules/ocaml.cxx | 3 --- Source/Modules/python.cxx | 3 +-- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Source/Modules/csharp.cxx b/Source/Modules/csharp.cxx index df4486d1d..57bcfe705 100644 --- a/Source/Modules/csharp.cxx +++ b/Source/Modules/csharp.cxx @@ -4285,6 +4285,10 @@ public: Delete(dirclassname); } + /*---------------------------------------------------------------------- + * nestedClassesSupport() + *--------------------------------------------------------------------*/ + NestedClassSupport nestedClassesSupport() const { return NCS_Full; } diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index 9e16bb422..8aa8666b7 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -4598,6 +4598,7 @@ public: /*---------------------------------------------------------------------- * extraDirectorProtectedCPPMethodsRequired() *--------------------------------------------------------------------*/ + bool extraDirectorProtectedCPPMethodsRequired() const { return false; } @@ -4623,6 +4624,10 @@ public: Setattr(n, "director:ctor", class_ctor); } + /*---------------------------------------------------------------------- + * nestedClassesSupport() + *--------------------------------------------------------------------*/ + NestedClassSupport nestedClassesSupport() const { return NCS_Full; } diff --git a/Source/Modules/lang.cxx b/Source/Modules/lang.cxx index 5ea79f0ab..9fa52cd2c 100644 --- a/Source/Modules/lang.cxx +++ b/Source/Modules/lang.cxx @@ -3517,9 +3517,14 @@ bool Language::extraDirectorProtectedCPPMethodsRequired() const { return true; } +/* ----------------------------------------------------------------------------- + * Language::nestedClassesSupport() + * ----------------------------------------------------------------------------- */ + Language::NestedClassSupport Language::nestedClassesSupport() const { return NCS_Unknown; } + /* ----------------------------------------------------------------------------- * Language::is_wrapping_class() * ----------------------------------------------------------------------------- */ diff --git a/Source/Modules/ocaml.cxx b/Source/Modules/ocaml.cxx index f1ec8a8cf..f3d63a6dc 100644 --- a/Source/Modules/ocaml.cxx +++ b/Source/Modules/ocaml.cxx @@ -1350,9 +1350,6 @@ public: /* * Modified polymorphism code for Ocaml language module. - * Original: - * C++/Python polymorphism demo code, copyright (C) 2002 Mark Rose - * * * TODO * diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 2310b3472..c5e4b63f6 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -2600,7 +2600,6 @@ public: /* Insert cleanup code */ for (p = l; p;) { - // if (!checkAttribute(p,"tmap:in:numinputs","0") && !Getattr(p,"tmap:in:parse")) { if (!Getattr(p, "tmap:in:parse") && (tm = Getattr(p, "tmap:freearg"))) { if (Getattr(p, "tmap:freearg:implicitconv")) { const char *convflag = "0"; @@ -3208,7 +3207,7 @@ public: * BEGIN C++ Director Class modifications * ------------------------------------------------------------------------- */ - /* C++/Python polymorphism demo code, copyright (C) 2002 Mark Rose + /* C++/Python polymorphism demo code * * TODO *