1 2 3 4 5 6 7
%module c_delete_function /* check C++ delete keyword is okay in C wrappers */ %inline %{ double delete(double d) { return d; } %}