swig/Lib/attribute.i

15 lines
258 B
OpenEdge ABL

/* we use a simple exception warning here */
%{
#include <stdio.h>
%}
#define %attribute_exception(code,msg) printf("%s\n",msg)
#ifndef %arg
#define %arg(x) x
#endif
#ifndef %mange
#define %mangle(Type...) #@Type
#endif
%include <typemaps/attribute.swg>