The idea of using a single getter for all gint attributes was simpler
to implement than expected. The API provides a closure pointer that
makes it very easy to pass the offset.

With this patch, the text size of _gtk.so was reduced from 1991507 to
1989667 bytes (amd64, gcc 4.0).

I think that a similar technique may be applied to other getters.

Do you think that this patch is good enough for inclusion? Any comments?

Best Regards,
Rafael

Attachment: pygtk-get-gint.patch
Description: Binary data

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to