From: William F. <wsf...@us...> - 2005-10-15 22:24:09
|
Update of /cvsroot/swig/SWIG/Lib/tcl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30700/Lib/tcl Modified Files: tcl8.swg Log Message: %typecheck fixes for size_t Index: tcl8.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/tcl/tcl8.swg,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** tcl8.swg 27 Sep 2005 20:16:09 -0000 1.37 --- tcl8.swg 15 Oct 2005 22:23:55 -0000 1.38 *************** *** 505,521 **** /* ------------------------------------------------------------ - * ANSI C typemaps - * ------------------------------------------------------------ */ - - %types(size_t); - %apply unsigned long { size_t }; - %apply const unsigned long& { const size_t& }; - - %types(ptrdiff_t); - %apply long { ptrdiff_t }; - %apply const long& { const ptrdiff_t& }; - - - /* ------------------------------------------------------------ * Typechecking rules * ------------------------------------------------------------ */ --- 505,508 ---- *************** *** 645,648 **** --- 632,648 ---- } + /* ------------------------------------------------------------ + * ANSI C typemaps + * ------------------------------------------------------------ */ + + %types(size_t); + %apply unsigned long { size_t }; + %apply const unsigned long& { const size_t& }; + + %types(ptrdiff_t); + %apply long { ptrdiff_t }; + %apply const long& { const ptrdiff_t& }; + + // Some special reserved words in classes %include "tcl8kw.swg" |