hugopl / gi-crystal

Tool to generate Crystal bindings for gobject-based libraries (i.e. GTK)
BSD 3-Clause "New" or "Revised" License
45 stars 3 forks source link

Annotate deprecated methods in generated bindings. #114

Closed hugopl closed 1 year ago

hugopl commented 1 year ago

GObjectIntrospection only have the deprecated flag... the reason exists only in the XML, so I just generate empty @[Deprecated] annotations.

hugopl commented 1 year ago

I think that in a future patch it could generate full deprecation annotations when the --doc flag is on, i.e. when the generator already loaded the big GIR XML in memory anyway.