The rest of the member functions that you want to bind have to return void and generally have the same syntax limitations as regular mex funcitons.
| 28 | // The rest of the member functions that you want to bind have to return void and |
| 29 | // generally have the same syntax limitations as regular mex funcitons. |
| 30 | void do_stuff(const matrix_colmajor& x) |
| 31 | { |
| 32 | cout << "in do_stuff" << endl; |
| 33 | cout << x << endl; |
| 34 | xx = x; |
| 35 | } |
| 36 | |
| 37 | void do_other_stuff(int x) |
| 38 | { |
nothing calls this directly
no outgoing calls
no test coverage detected