Daniele Romagnoli wrote:
> Hi list,
> I have a c++ library which has some classes defining a method "finalize".
> SWIG will generate a java wrapper containg that wrapped "finalize"
> method as well as the java "finalize" method used to delete the object.
> Compiling that java code results in an error being two methods with the
> same definition.
>
> Is there a flag/options to instruct SWIG creating wrapped classes and
> methods starting with an upper case?
>
Just use %rename to rename the method to Finalize.
William
|