[fpc-devel] more descriptive parameter names for C translated headers

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Feb 1 18:58:01 CET 2008

On 01/02/2008, Mattias Gärtner <nc-gaertnma at netcologne.de> 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?  :)

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-devel mailing list