richard jackson wrote: > Just as a side note. I'm working on updating the gtk unit to support all > of the new stuff in 2.8.x. Right now I'm about a third of the way > through Glib. > > I do have one question though. I noticed that the functions/procedures > that use a variable number of arguments have multiple signatures in the > current unit. > One for Kylix compatibility and 2 for FPC. > I've changed those to just one now that FPC accepts the varargs > parameter to functions/procedures. > Is that the correct way? Or should I stick with the ( args: array of > const ) way of doing it for FPC.
Well, I think the "args: array of const" looks much more (object) pascalish but if there is still interest in using the interfaces with Kylix, I see no reason why we shouldn't use varargs if it makes conversion easier. Especially, it's only an interface unit ... > > Thanks > Richard Jackson > > On 9/2/05, *Federico Lox Lucignano* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I made this little patch thinking that the default GTK_2_2 define > directive > in gtk2.pas is really obsolete looking at the current versions of the > library (2.8.x and 2.6.x). > > > _______________________________________________ > fpc-devel maillist - [email protected] > <mailto:[email protected]> > http://lists.freepascal.org/mailman/listinfo/fpc-devel > <http://lists.freepascal.org/mailman/listinfo/fpc-devel> > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > fpc-devel maillist - [email protected] > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
