summaryrefslogtreecommitdiff
path: root/Source/Swig
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2021-11-24 18:41:26 +0000
committerGitHub <noreply@github.com>2021-11-24 18:41:26 +0000
commita39c2695f27dd5bef06fe583dc89bb9b8f4a8170 (patch)
tree3fa5b4ef297dc57a0bcf447ae1a9e6c54002b3b6 /Source/Swig
parent335434525594e7759556cc23c5e4b2fb0282dbf1 (diff)
parentf586d920f72aeedd8d4c9504415f4251005ef4bf (diff)
downloadswig-a39c2695f27dd5bef06fe583dc89bb9b8f4a8170.tar.gz
Merge pull request #2100 from rex4539/typos
Fix typos
Diffstat (limited to 'Source/Swig')
-rw-r--r--Source/Swig/cwrap.c2
-rw-r--r--Source/Swig/naming.c2
2 files changed, 2 insertions, 2 deletions
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);