dwww Home | Show directory contents | Find package

%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>;

Generated by dwww version 1.15 on Tue Jul 2 00:34:37 CEST 2024.