/trunk/Examples/test-suite/template_typedef_fnc.i
Swig | 14 lines | 11 code | 3 blank | 0 comment | 0 complexity | 50b1decfd506245cc377d20f5a8d3e98 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %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) {
- }
- }