From af87945aeafedf70b6ea729937b62cdff0b981ce Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 16 May 2023 09:55:49 +1200 Subject: Clean up double spaces between words in comments --- Source/Modules/overload.cxx | 6 +++--- Source/Modules/r.cxx | 4 ++-- Source/Modules/swigmod.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Source') diff --git a/Source/Modules/overload.cxx b/Source/Modules/overload.cxx index 5189c8ba4..e3f4f586b 100644 --- a/Source/Modules/overload.cxx +++ b/Source/Modules/overload.cxx @@ -560,7 +560,7 @@ String *Swig_overload_dispatch_cast(Node *n, const_String_or_char_ptr fmt, int * } } if (!Getattr(pj, "tmap:in:SWIGTYPE") && Getattr(pj, "tmap:typecheck:SWIGTYPE")) { - /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */ + /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */ Swig_warning(WARN_TYPEMAP_TYPECHECK_UNDEF, Getfile(ni), Getline(ni), "Overloaded method %s with no explicit typecheck typemap for arg %d of type '%s'\n", Swig_name_decl(n), j, SwigType_str(Getattr(pj, "type"), 0)); @@ -737,7 +737,7 @@ static String *overload_dispatch_fast(Node *n, const_String_or_char_ptr fmt, int } } if (!Getattr(pj, "tmap:in:SWIGTYPE") && Getattr(pj, "tmap:typecheck:SWIGTYPE")) { - /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */ + /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */ Swig_warning(WARN_TYPEMAP_TYPECHECK_UNDEF, Getfile(ni), Getline(ni), "Overloaded method %s with no explicit typecheck typemap for arg %d of type '%s'\n", Swig_name_decl(n), j, SwigType_str(Getattr(pj, "type"), 0)); @@ -836,7 +836,7 @@ String *Swig_overload_dispatch(Node *n, const_String_or_char_ptr fmt, int *maxar num_braces++; } if (!Getattr(pj, "tmap:in:SWIGTYPE") && Getattr(pj, "tmap:typecheck:SWIGTYPE")) { - /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */ + /* we emit a warning if the argument defines the 'in' typemap, but not the 'typecheck' one */ Swig_warning(WARN_TYPEMAP_TYPECHECK_UNDEF, Getfile(ni), Getline(ni), "Overloaded method %s with no explicit typecheck typemap for arg %d of type '%s'\n", Swig_name_decl(n), j, SwigType_str(Getattr(pj, "type"), 0)); diff --git a/Source/Modules/r.cxx b/Source/Modules/r.cxx index 1c2da3ac4..b8c6f291c 100644 --- a/Source/Modules/r.cxx +++ b/Source/Modules/r.cxx @@ -327,7 +327,7 @@ protected: String *s_namespace; // State variables that carry information across calls to functionWrapper() - // from member accessors and class declarations. + // from member accessors and class declarations. String *opaqueClassDeclaration; int processing_variable; int processing_member_access_function; @@ -2783,7 +2783,7 @@ Language *swig_r(void) { *----------------------------------------------------------------------- */ String * R::processType(SwigType *t, Node *n, int *nargs) { //XXX Need to handle typedefs, e.g. - // a type which is a typedef to a function pointer. + // a type which is a typedef to a function pointer. SwigType *tmp = Getattr(n, "tdname"); if (debugMode) diff --git a/Source/Modules/swigmod.h b/Source/Modules/swigmod.h index dfeb2bace..bcbb4bd44 100644 --- a/Source/Modules/swigmod.h +++ b/Source/Modules/swigmod.h @@ -243,10 +243,10 @@ public: /* Returns the dirprot mode */ int dirprot_mode() const; - /* Check if the non public constructor is needed (for directors) */ + /* Check if the non public constructor is needed (for directors) */ int need_nonpublic_ctor(Node *n); - /* Check if the non public member is needed (for directors) */ + /* Check if the non public member is needed (for directors) */ int need_nonpublic_member(Node *n); /* Set none comparison string */ -- cgit v1.2.1