mirror of https://github.com/swig/swig
Fix comment and doc typos
This commit is contained in:
parent
600685dfd8
commit
55d82e0d8a
2
CHANGES
2
CHANGES
|
@ -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.
|
||||
|
||||
|
|
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue