Bug 301723
| Summary: | [GLib API] Function jsc_value_array_buffer_get_data() is not introspectable | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | JavaScriptCore | Assignee: | Adrian Perez <aperez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Adrian Perez
GObject Introspection annotations for jsc_value_array_buffer_get_data() are
missing: the "size" parameter is not declared as being a return value, and
the returned value is missing annotations to indicate the element type (for
a bunch of bytes, we need to use guint8) and that the "size" return value
indicates the number of bytes pointed by the returned pointer.
The issues above prevent the function to be usable from most bindings
that use GI data.
This issue was reported by Sergey Bugaev, who maintains the Peel C++
bindings generator: https://gitlab.gnome.org/bugaevc/peel/-/tree/main
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/53229
EWS
Committed 302377@main (db4ddb1de583): <https://commits.webkit.org/302377@main>
Reviewed commits have been landed. Closing PR #53229 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/163779814>