remove obsolete SWIG defines and macros

these objects are ignored by SWIG