Ticket #2909: typetypo.cpp

File typetypo.cpp, 325 bytes (added by Haoyu Bai, 14 years ago)

Testcase showing the problem.

Line 
1#include <string>
2#include <boost/python.hpp>
3
4long long return_longlong()
5{
6 return 1099511627776LL;
7}
8
9std::wstring return_wstring()
10{
11 return L"abcde";
12}
13
14BOOST_PYTHON_MODULE(typetypo_ext)
15{
16 using namespace boost::python;
17 def("return_longlong", return_longlong);
18 def("return_wstring", return_wstring);
19}