blob: d0444d1177ff0580de1c8245e262ec7914e6d492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%module template_typedef_fnc
%include "std_vector.i"
namespace std {
%template(IntVector) vector<int>;
};
%inline
{
typedef void (*RtMidiCallback)(std::vector<int> *message);
void setCallback( RtMidiCallback callback) {
}
}
|