diff --git a/Doc/Manual/Typemaps.html b/Doc/Manual/Typemaps.html index 47fa7be14..82c2cc17a 100644 --- a/Doc/Manual/Typemaps.html +++ b/Doc/Manual/Typemaps.html @@ -3022,7 +3022,7 @@ The basic problem we need to solve is verifying and building arguments passed to So going back to the SWIG_ConvertPtr() function example from above, we are expecting a Foo * and need to check if obj0 is in fact a Foo *. From before, SWIGTYPE_p_Foo is just -a pointer to the swig_type_info structure describing Foo *. So we loop though the +a pointer to the swig_type_info structure describing Foo *. So we loop through the linked list of swig_cast_info structures attached to SWIGTYPE_p_Foo. If we see that the type of obj0 is in the linked list, we pass the object through the associated conversion function and then return a positive. If we reach the end of the linked list without a match, diff --git a/Lib/swiginit.swg b/Lib/swiginit.swg index 8b568b22f..d767abcee 100644 --- a/Lib/swiginit.swg +++ b/Lib/swiginit.swg @@ -12,7 +12,7 @@ * structures together. * * The generated swig_type_info structures are assigned staticly to an initial - * array. We just loop though that array, and handle each type individually. + * array. We just loop through that array, and handle each type individually. * First we lookup if this type has been already loaded, and if so, use the * loaded structure instead of the generated one. Then we have to fill in the * cast linked list. The cast data is initially stored in something like a