blob: 272ba7c99dcc6cc2a31245e288db6e250da92b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
%module octave_cell_deref
%inline {
bool funk(const char* s) {
return !strcmp("hello",s);
}
Cell func2() {
Cell c(1,2);
c(0) = "hello";
c(1) = 4;
return c;
}
}
|