From: Marcelo M. <mm...@ac...> - 2006-01-10 23:21:48
|
Use the new 'utitle' encoder, ie: %rename("%(utitle)s", match=cdecl, match$parentNode$nodeType=class) ""; that will rename all the 'cdecl's (ie, functions) nodes that have a "class" as the parent node, ie, member methods. Marcelo Charlie Savage wrote: > Can the new %rename functionality change names to lower case with > underscores? > > Thus: > > CamelCase -> camel_case > > That would be very useful for Ruby since all method names are supposed > to be in the lower case, underscore format. > > Right now wrapping a C/C++ library requires generating a > multiple-hundreds of line rename file which has to be maintained by > hand. Kind of a pain.... > > Charlie > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Swig-devel mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swig-devel |