Clean up double spaces between words in comments

This commit is contained in:
Olly Betts 2023-05-16 09:55:49 +12:00
parent e5650d8fa4
commit af87945aea
8 changed files with 12 additions and 12 deletions

View File

@ -7,7 +7,7 @@ namespace oss
%}
namespace oss {
%extend Foo<One> { //************ this doesn't work
%extend Foo<One> { //************ this doesn't work
int test1(int x) { return x; }
};
}

View File

@ -5,7 +5,7 @@
// like 'top'. There is a wrapper for intrusive_ptr in intrusive_ptr_wrapper.h which enables one to
// count the instances of intrusive_ptr. Uncomment the INTRUSIVE_PTR_WRAPPER macro to turn this on.
//
// Also note the debug_shared flag which can be set from the target language.
// Also note the debug_shared flag which can be set from the target language.
//
// Usage of intrusive_ptr_add_ref and intrusive_ptr_release based on boost testing:
// http://www.boost.org/doc/libs/1_36_0/libs/smart_ptr/test/intrusive_ptr_test.cpp

View File

@ -5,7 +5,7 @@
// like 'top'. There is a wrapper for shared_ptr in shared_ptr_wrapper.h which enables one to
// count the instances of shared_ptr. Uncomment the SHARED_PTR_WRAPPER macro to turn this on.
//
// Also note the debug_shared flag which can be set from the target language.
// Also note the debug_shared flag which can be set from the target language.
%module li_boost_shared_ptr

View File

@ -10,7 +10,7 @@
{
public:
A() {} // *** Here, the const. breaks swig ***
// *** swig works without it ***
// *** swig works without it ***
};
namespace hello

View File

@ -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));

View File

@ -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)

View File

@ -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 */

View File

@ -11,7 +11,7 @@
typedef int (*V8ExtensionInitializer) (v8::Handle<v8::Object> module);
// Note: these typedefs and defines are used to deal with v8 API changes since version 3.19.00
// Note: these typedefs and defines are used to deal with v8 API changes since version 3.19.00
typedef void SwigV8ReturnValue;
typedef v8::FunctionCallbackInfo<v8::Value> SwigV8Arguments;