Tom Wagner

Results 6 comments of Tom Wagner

I don't think changing the subtraction operator is a good idea, as you would have to pick something that is not allowed in filenames, which is only the NUL char...

Another solution would be to add `add`, `sub`, `mul` and `div` builtins and remove the four operators. Calculating a number would then be `add 1 2`, similar to how functions...

Regarding inaccurate gir xml: [`-i '/_:repository/_:package[not(@name)]' -t attr -n name -v wireplumber-0.4`](https://github.com/arcnmx/wireplumber.rs/blob/main/ci/wp-gir-filter.sh#L42 ), this has been patched in https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/448. I'll try making MRs to fix the other issues soon. Why...

Regarding the [`-i '///_:type[not(@name) and @c:type="pw_permission"]' -t attr -n name -v guint64`](https://github.com/arcnmx/wireplumber.rs/blob/dfe4d5a9daef5396e370b1096253f9e922d8e4bb/ci/wp-gir-filter.sh#L5C6-L5C6) gir patch, while a `guint64` does have the same layout as a `pw_permission`, the generated binding is just...

Missing `version` attribute has now been fixed in upstream for structs, enums and functions with https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/533 and a couple previous MRs improving the doxygen-to-gtkdoc converter. So we can probably drop...

> I kind of wonder if we could make a fake gir package for pipewire to fix this for all functions that use pw_* types? This would be nice, but...