Fix comment and doc typos

This commit is contained in:
Olly Betts 2025-06-18 10:24:03 +12:00
parent 600685dfd8
commit 55d82e0d8a
2 changed files with 3 additions and 3 deletions

View File

@ -2085,7 +2085,7 @@ Version 4.1.0 (24 Oct 2022)
2022-09-29: olly
#2303 SWIG's internal hash tables now use a better hash function.
The old hash function only considerd the last five characters
The old hash function only considered the last five characters
plus the least significant bit of the last-but-sixth character,
which as you might guess generated a lot of many-way collisions.

View File

@ -204,7 +204,7 @@ struct OuterClass {
T val;
};
#if defined(SWIG)
// Template instantation within the class
// Template instantiation within the class
%template(InnerDouble) InnerTemplate<double>;
%template(InnerShort) InnerTemplate<short>;
#endif
@ -214,7 +214,7 @@ struct OuterClass {
%}
%extend OuterSpace::InnerSpace::OuterClass {
// Template instantation after the class is fully defined and added to the symbol tables
// Template instantiation after the class is fully defined and added to the symbol tables
%template(InnerInt) InnerTemplate<int>;
}