[C2hs] Pointers to structs without typedef

Jelmer Vernooij jelmer at samba.org
Mon Nov 28 17:03:01 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jelmer Vernooij wrote:
> On Thu, Nov 24, 2005 at 05:07:33PM +1100, Manuel M T Chakravarty wrote about 'Re: [C2hs] Pointers to structs without typedef':
>>Jelmer Vernooij:
>>>On Tue, Nov 15, 2005 at 01:20:13AM +1100, Manuel M T Chakravarty wrote
>>>about 'Re: [C2hs] Pointers to structs without typedef':
>>>Pretty much, as it means I can't just use the original headers. Is there 
>>>anything I can do to help fix it? I'd be happy to spend some hours on 
>>>fixing it, if you can point me in the right direction.
>>
>>When running c2hs on basically your example (see attachement) using the
>>dump facilities as follows:
>>  c2hs -d genbind test.chs
> [comments]
>>Does that give you a reasonable starting point?
> 
> Yes, that helps a lot. Thanks. 
I've just sent you three patches to c2hs, one of which fixes this issue.
Please comment and/or apply.

These patches are also available from the darcs repository at
http://samba.org/~jelmer/c2hs/, for those interested.

Cheers,

Jelmer

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDi36VPa9Uoh7vUnYRAmv4AJ9KjZs5U7lUAi2L5zfPyG/OwfHbIgCgk3QK
B88ZlB+3w6ofd2JJKGuoMus=
=zKHX
-----END PGP SIGNATURE-----


More information about the C2hs mailing list