blob: be41f4740d547af6abef992705789c1dee0edfd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%module li_std_vector_back_reference
%include <std_vector.i>
%inline %{
// #include <iostream>
struct Wheel {
int size;
Wheel(int sz = 0) : size(sz) {}
// ~Wheel() { std::cout << "~Wheel" << std::endl; }
};
%}
%template(VectorWheel) std::vector<Wheel>;
|