1/* ----------------------------------------------------------------------------- 2 * See the LICENSE file for information on copyright, usage and redistribution 3 * of SWIG, and the README file for authors - http://www.swig.org/release.html. 4 * 5 * std_common.i 6 * 7 * SWIG typemaps for STL - common utilities 8 * ----------------------------------------------------------------------------- */ 9 10%include <std/std_except.i> 11 12%types(std::size_t); 13%apply size_t { std::size_t }; 14%apply const unsigned long& { const std::size_t& }; 15 16%types(std::ptrdiff_t); 17%apply long { std::ptrdiff_t }; 18%apply const long& { const std::ptrdiff_t& }; 19 20 21