1 %module smart_pointer_overload
3 #ifdef SWIGLUA // lua only has one numeric type, so some overloads shadow each other creating warnings
4 %warnfilter(SWIGWARN_LANG_OVERLOAD_SHADOW) test;
7 #ifndef SWIG_NO_OVERLOAD
12 int test(int y) { y = 0; return 1; }
13 int test(double y) { y = 0; return 2; }
14 int test(char *s) { s = 0; return 3; }
20 Bar(Foo *f) : f(f) { }