WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
35200
[gtk] Improve g-i annotations
https://bugs.webkit.org/show_bug.cgi?id=35200
Summary
[gtk] Improve g-i annotations
Diego Escalante Urrelo
Reported
2010-02-20 15:17:08 PST
Currently our .gir/.typelib files for gobject-introspection are generated from the .h files. While this works ok it has some problems like lack of ownership specification so for example getting the data source of a frame transfers the full ownership to the caller when that's not true in usual usage. This leds to crashes when -for example- seed frees this wrongly "fully owned" return values. The solution would be to add proper annotations to our gtk-doc comments in .cpp files, however this does not solve the whole thing because g-ir-scanner can't read cpp files according to Colin Walters. We are stuck until they make a cpp parser for g-ir-scanner. Anyway, the bug is still there on our side but the solution to it is useless unless g-i-s is fixed.
Attachments
Add attachment
proposed patch, testcase, etc.
Xan Lopez
Comment 1
2010-10-15 04:31:20 PDT
g-i now reads cpp files, and I added annotations everywhere, so closing this bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug