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

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 1 20:11:44 CET 2008


On Fri, 1 Feb 2008 19:12:19 +0100
"Felipe Monteiro de Carvalho" <felipemonteiro.carvalho at gmail.com> wrote:

> On Feb 1, 2008 6:58 PM, Graeme Geldenhuys <graemeg.lists at gmail.com>
> wrote:
> > 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?  :)

It does. But some c libs only provide crappy c
headers.

 
> I think that h2pas just needs to be improved.
> 
> I took a look at the code while thinking about creating something
> similar for objective-c for the Cocoa bindings, but h2pas has a very
> exotic code. I think it's created with the gnu tools for automatic
> compiler generation, yacc. I read the code, but understood absolutely
> nothing =)


Mattias
 



More information about the fpc-devel mailing list