The cpp files are not parsed by swig so nothing needs to be done there. Also, unused parameters in the headers could remain unnamed if since we can probably no customization of typemaps would really be necessary.
-Matt On Tue, Dec 29, 2009 at 4:47 AM, Chris Morley <[email protected]> wrote: > Matt Sprague wrote: > > > 4) Functions defined in header files with unnamed parameters really > > cause problems when applying typemaps. For example, > > SomeFunc(int*), SomeOther(int*) can't have to different typemaps for the > > parameters. Can we go through and name all the currently > > unnamed parameters? The only workaround for swig is to ignore the method > > and extend the class definition with an identical method with > > named parameters. That gets pretty ugly. > > There seems to be a style of header file which uses parameter names > only in the documentation above the declaration. I don't like this and > so would be happy to require all parameters to have informative names. > (I presume that it is still ok to have missing parameter names in > function definitions in cpp files, which serve to highlight when a > parameter is not used in the implementation.) > > Chris > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > OpenBabel-scripting mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openbabel-scripting >
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ OpenBabel-scripting mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbabel-scripting
