4 Dec 02:40
%csmethodmodifiers not working
From: Mark Elston <m.elston <at> advantest-ard.com>
Subject: %csmethodmodifiers not working
Newsgroups: gmane.comp.programming.swig
Date: 2008-12-04 01:43:14 GMT
Subject: %csmethodmodifiers not working
Newsgroups: gmane.comp.programming.swig
Date: 2008-12-04 01:43:14 GMT
I have a class that inherits from a base class. Both classes have a "getType" method (defined as virtual in the base class). I have added the following line to my SWIG interface file: %csmethodmodifiers Derived::getType() "override"; where "Derived" is the name of the derived class. However, the generated C#code doesn't apply the "override" to the getType method of the derived class. Whether the above line is present or not the results are identical. Is there some way to get the override to work for C#? Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
RSS Feed