Fix javadowncast to csdowncast in C# backend

See issue#367.
This commit is contained in:
Olly Betts 2015-03-30 08:38:20 +13:00
commit 084f72452f

View file

@ -2004,7 +2004,7 @@ public:
good place to put this code, since Abstract Base Classes (ABCs) can and should have good place to put this code, since Abstract Base Classes (ABCs) can and should have
downcasts, making the constructorHandler() a bad place (because ABCs don't get to downcasts, making the constructorHandler() a bad place (because ABCs don't get to
have constructors emitted.) */ have constructors emitted.) */
if (GetFlag(n, "feature:javadowncast")) { if (GetFlag(n, "feature:csdowncast")) {
String *downcast_method = Swig_name_member(getNSpace(), proxy_class_name, "SWIGDowncast"); String *downcast_method = Swig_name_member(getNSpace(), proxy_class_name, "SWIGDowncast");
String *wname = Swig_name_wrapper(downcast_method); String *wname = Swig_name_wrapper(downcast_method);