At the very least, this gives us a working vector<bool> and allows "li_std_vector" unit test to pass. It is also just nice to reuse the existing typemaps instead of having another copy of them. As C doesn't have UTL, some parts of std_vector.i had to be excluded from it however.
8 lines
200 B
OpenEdge ABL
8 lines
200 B
OpenEdge ABL
%include <typemaps/fragments.swg>
|
|
%include <typemaps/swigmacros.swg>
|
|
%include <std/std_common.i>
|
|
|
|
%include <std_except.i>
|
|
|
|
%apply size_t { std::size_t };
|
|
%apply const size_t& { const std::size_t & };
|