On 01/02/2008, Mattias Gärtner <[EMAIL PROTECTED]> wrote: > > > > My preference is 1). What's your thoughts? > > Parameter names are needed by many headers. > Why not write a tool, that does it semi-automatically? > Give it the c file with nice parameter names and the pascal unit and it > replaces > para* with the c names. > This tool could be useful here: > http://wiki.lazarus.freepascal.org/Creating_bindings_for_C_libraries#Future_work_.2F_Missing_stuff >
Interesting idea, I'll give it a go. I might have asked this before, but why doesn't the h2pas tool put in the correct parameter names in the first place? I'm sure there must be some technical reason? :) Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel