Bug 560248 – "disguised structures"
authorOwen Taylor <otaylor@src.gnome.org>
Mon, 10 Nov 2008 23:58:49 +0000 (23:58 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 10 Nov 2008 23:58:49 +0000 (23:58 +0000)
commiteceeb044de0a3dd137fa15da7027ce706504bc94
tree6585b29a4838c8456799bdf45eacc3f66def26c6
parent5229e674abb42c35c3ae5a548ce3a6e66215c1aa
Bug 560248 – "disguised structures"

Certain types like GIConv and GdkAtom are pointers internally but don't
look like pointers when referenced. They have the form.

 typedef struct _X *X;

Parse these as structures/records but mark them in the gir with a 'disguised'
attribute so that we know that they need special handling.

In the typelib treat them like any other structure.

svn path=/trunk/; revision=872
girepository/girnode.h
girepository/girparser.c
giscanner/ast.py
giscanner/girparser.py
giscanner/girwriter.py
giscanner/transformer.py