swig/Examples/test-suite/sym.i
Dave Beazley 12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00

24 lines
473 B
OpenEdge ABL

%module sym
// make sure different classes are allowed to have methods of the same name
// that we properly qualify wrappers in the C namespace to avoid collisions
%rename(hulahoops) Flim::Jam();
%inline %{
class Flim {
public:
Flim() { }
const char * Jam() { return "flim-jam"; }
const char * Jar() { return "flim-jar"; }
};
class Flam {
public:
Flam() { }
const char * Jam() { return "flam-jam"; }
const char * Jar() { return "flam-jar"; }
};
%}