Fix bug 1606010 "[Doc] Typo in Typemaps.html"

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-12-14 02:29:49 +00:00
commit 2b9c9dd23b

View file

@ -2579,9 +2579,9 @@ For example, the "in" typemap for Perl and Ruby could be written as:
<div class="code"><pre>
#if defined(SWIGPERL)
%typemap(in) int "$1 = NUM2INT($input);"
#elif defined(SWIGRUBY)
%typemap(in) int "$1 = ($1_ltype) SvIV($input);"
#elif defined(SWIGRUBY)
%typemap(in) int "$1 = NUM2INT($input);"
#else
#warning no "in" typemap defined
#endif