diff options
author | Dimitris Apostolou <dimitris.apostolou@icloud.com> | 2021-11-13 21:23:08 +0200 |
---|---|---|
committer | Dimitris Apostolou <dimitris.apostolou@icloud.com> | 2021-11-17 07:07:02 +0200 |
commit | f586d920f72aeedd8d4c9504415f4251005ef4bf (patch) | |
tree | a6903835191ff04bb8b37db9e7a440ff483bb014 /Source | |
parent | ac9f819f6ed767f763320fc64c79025868b69a1c (diff) | |
download | swig-f586d920f72aeedd8d4c9504415f4251005ef4bf.tar.gz |
Fix typos
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Doxygen/doxytranslator.h | 4 | ||||
-rw-r--r-- | Source/Doxygen/pydoc.h | 2 | ||||
-rw-r--r-- | Source/Modules/javascript.cxx | 2 | ||||
-rw-r--r-- | Source/Swig/cwrap.c | 2 | ||||
-rw-r--r-- | Source/Swig/naming.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/Source/Doxygen/doxytranslator.h b/Source/Doxygen/doxytranslator.h index f07b632a2..a72a31df6 100644 --- a/Source/Doxygen/doxytranslator.h +++ b/Source/Doxygen/doxytranslator.h @@ -53,13 +53,13 @@ public: virtual ~DoxygenTranslator(); /* - * Return the documentation for a given node formated for the correct + * Return the documentation for a given node formatted for the correct * documentation system. */ String *getDocumentation(Node *node, const_String_or_char_ptr indentationString); /* - * Returns truem is the specified node has comment attached. + * Returns true if the specified node has comment attached. */ bool hasDocumentation(Node *node); diff --git a/Source/Doxygen/pydoc.h b/Source/Doxygen/pydoc.h index 07c5ce51e..19885276f 100644 --- a/Source/Doxygen/pydoc.h +++ b/Source/Doxygen/pydoc.h @@ -195,7 +195,7 @@ private: typedef std::map<std::string, std::pair<tagHandler, std::string> >TagHandlersMap; static TagHandlersMap tagHandlers; - // this contains the sections tittles, like 'Arguments:' or 'Notes:', that are printed only once + // this contains the sections titles, like 'Arguments:' or 'Notes:', that are printed only once static std::map<std::string, std::string> sectionTitles; // Helper functions for fillStaticTables(): make a new tag handler object. diff --git a/Source/Modules/javascript.cxx b/Source/Modules/javascript.cxx index d3ae3ce64..431dd4744 100644 --- a/Source/Modules/javascript.cxx +++ b/Source/Modules/javascript.cxx @@ -1255,7 +1255,7 @@ int JSEmitter::emitFunctionDispatcher(Node *n, bool /*is_member */ ) { // Note: this dispatcher function gets called after the last overloaded function has been created. // At this time, n.wrap:name contains the name of the last wrapper function. // To get a valid function name for the dispatcher function we take the last wrapper name and - // substract the extension "sym:overname", + // subtract the extension "sym:overname", String *wrap_name = NewString(Getattr(n, "wrap:name")); String *overname = Getattr(n, "sym:overname"); diff --git a/Source/Swig/cwrap.c b/Source/Swig/cwrap.c index d6e5e0cdc..7bf6641c8 100644 --- a/Source/Swig/cwrap.c +++ b/Source/Swig/cwrap.c @@ -632,7 +632,7 @@ String *Swig_cppconstructor_director_call(const_String_or_char_ptr name, ParmLis * If you define SWIG_FAST_REC_SEARCH, the method will set the found * 'attr' in the target class 'n'. If not, the method will set the * 'noattr' one. This prevents of having to navigate the entire - * hierarchy tree everytime, so, it is an O(1) method... or something + * hierarchy tree every time, so, it is an O(1) method... or something * like that. However, it populates all the parsed classes with the * 'attr' and/or 'noattr' attributes. * diff --git a/Source/Swig/naming.c b/Source/Swig/naming.c index 1d78e7a47..871a9e5bb 100644 --- a/Source/Swig/naming.c +++ b/Source/Swig/naming.c @@ -1514,7 +1514,7 @@ String *Swig_name_make(Node *n, String *prefix, const_String_or_char_ptr cname, if (n) { /* Parameter renaming is not fully implemented. Mainly because there is no C/C++ syntax to * for %rename to fully qualify a function's parameter name from outside the function. Hence it - * is not possible to implemented targetted warning suppression on one parameter in one function. */ + * is not possible to implemented targeted warning suppression on one parameter in one function. */ int suppress_parameter_rename_warning = Equal(nodeType(n), "parm"); if (!suppress_parameter_rename_warning) { SWIG_WARN_NODE_BEGIN(n); |