Add support for parsing C++11 =delete and =default
Although this was documented as working, it wasn't implemented %typemap(default) failed without the idstring changes Add some C tests using the C++ keyword delete
This commit is contained in:
parent
5e6fb595dd
commit
e566c5fa7f
8 changed files with 173 additions and 31 deletions
7
Examples/test-suite/c_delete_function.i
Normal file
7
Examples/test-suite/c_delete_function.i
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
%module c_delete_function
|
||||
|
||||
/* check C++ delete keyword is okay in C wrappers */
|
||||
|
||||
%inline %{
|
||||
double delete(double d) { return d; }
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue