For for workshop compilers

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-08-12 21:07:39 +00:00
commit b573c5bd88

View file

@ -17,6 +17,7 @@ int subf(int x, int y) {
%inline %{
typedef int Integer;
extern "C"
Integer do_op(Integer x, Integer y, Integer (*op)(Integer, Integer)) {
return (*op)(x,y);
}