mirror of https://github.com/swig/swig
29 lines
385 B
OpenEdge ABL
29 lines
385 B
OpenEdge ABL
%module symbol_clash
|
|
|
|
// ::Vector and ::Text::Vector were incorrectly clashing in the target language symbol tables
|
|
|
|
#if defined(SWIGJAVA) || defined(SWIGCSHARP)
|
|
|
|
#if defined(SWIGJAVA)
|
|
%include "enumtypeunsafe.swg"
|
|
#elif defined(SWIGCSHARP)
|
|
%include "enumsimple.swg"
|
|
#endif
|
|
|
|
%inline %{
|
|
class Vector
|
|
{
|
|
};
|
|
|
|
namespace Text
|
|
{
|
|
enum Preference
|
|
{
|
|
Raster,
|
|
Vector
|
|
};
|
|
}
|
|
%}
|
|
|
|
#endif
|