From f88d434d27a487170b5aec66ecabfe98eb521829 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Sun, 24 Sep 2006 17:22:27 +0000 Subject: [PATCH] Fix typo: "loop though" -> "loop through" git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9347 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Doc/Manual/Typemaps.html | 2 +- Lib/swiginit.swg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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