diff --git a/Lib/typemaps/README b/Lib/typemaps/README index 785c57224..65134578d 100644 --- a/Lib/typemaps/README +++ b/Lib/typemaps/README @@ -1,4 +1,4 @@ -Still in developing, but if you are interested into looking around, +Still in development, but if you are interested into looking around, start with diff --git a/Lib/typemaps/fragments.swg b/Lib/typemaps/fragments.swg index bc1a90026..00c35b986 100644 --- a/Lib/typemaps/fragments.swg +++ b/Lib/typemaps/fragments.swg @@ -2,9 +2,9 @@ Fragments: ========== - Second to typemaps, fragments is one the most powerfull and - dangerous swig feature. So, if you are starting to read about them, - make sure you read all the document. + Second to typemaps, fragments are one the most powerful and + dangerous swig features. So, if you are starting to read about them, + make sure you read all of this document. Basics: ======= @@ -26,9 +26,9 @@ $result = value; } - very soon you will discoverd yourself copying the same long + very soon you will discover yourself copying the same long conversion code in several typemaps, such as varin, directorout, - etc. Also, you wil discover that swig copy verbatim the same very + etc. Also, you will discover that swig copes verbatim the same very long conversion code for every argument that requires it, making the code very large too. @@ -111,7 +111,7 @@ Note that this behavior is opposite to the typemaps, where the last typemap applied or defined prevails. Fragment follows the first-in-first-out convention since they are intended to be - "global", while typemaps intend to be "locally" specialyzed. + "global", while typemaps intend to be "locally" specialized. 3.- Fragments names can not contain commas. diff --git a/Lib/typemaps/inoutlist.swg b/Lib/typemaps/inoutlist.swg index c443a86d2..23fda85f3 100644 --- a/Lib/typemaps/inoutlist.swg +++ b/Lib/typemaps/inoutlist.swg @@ -154,7 +154,7 @@ multiple output values, they are returned in the form of a list. For example, suppose you were trying to wrap the modf() function in the C math library which splits x into integral and fractional parts (and -returns the integer part in one of its parameters).K: +returns the integer part in one of its parameters): double modf(double x, double *ip); diff --git a/Lib/typemaps/swigtypemaps.swg b/Lib/typemaps/swigtypemaps.swg index 12200b10e..08abab028 100644 --- a/Lib/typemaps/swigtypemaps.swg +++ b/Lib/typemaps/swigtypemaps.swg @@ -11,7 +11,7 @@ This file provides the frontend to the Unified Typemap Library. When using this library in a SWIG target language, you need to - define a minimum set of fragments, specialized a couple of macros, + define a minimum set of fragments, specialize a couple of macros, and then include this file. Typically you will create a 'mytypemaps.swg' file in each target