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:
William S Fulton 2013-11-16 00:13:38 +00:00
commit e566c5fa7f
8 changed files with 173 additions and 31 deletions

View 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; }
%}