Commit | Line | Data |
---|---|---|
1 | // | |
2 | // SWIG typemaps for STL - common utilities | |
3 | // Luigi Ballabio | |
4 | // Aug 17, 2003 | |
5 | // | |
6 | // Tcl implementation | |
7 | ||
8 | %include <std/std_except.i> | |
9 | ||
10 | %types(std::size_t); | |
11 | %apply size_t { std::size_t }; | |
12 | %apply const unsigned long& { const std::size_t& }; | |
13 | ||
14 | %types(std::ptrdiff_t); | |
15 | %apply long { std::ptrdiff_t }; | |
16 | %apply const long& { const std::ptrdiff_t& }; | |
17 | ||
18 |