Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

glib: Remove glib::TypedValue #449

Merged
merged 1 commit into from
Apr 11, 2021
Merged

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Apr 11, 2021

It's not very useful in practice and there seems to be no usage of it.

If a "typed value" is needed then the proper Rust type can be used as
well and there's no reason to keep it in a GValue wrapper.


Extracted from #31 for easier reviewing and smaller PRs.

glib/src/value.rs Outdated Show resolved Hide resolved
It's not very useful in practice and there seems to be no usage of it.

If a "typed value" is needed then the proper Rust type can be used as
well and there's no reason to keep it in a GValue wrapper.
@sdroege sdroege merged commit 82d7ddd into gtk-rs:master Apr 11, 2021
@sdroege sdroege deleted the remove-typed-value branch April 11, 2021 19:31
gstreamer-github pushed a commit to sdroege/gstreamer-rs that referenced this pull request Apr 12, 2021
See gtk-rs/gtk3-rs#449.  This struct remains
vital in GStreamer code to tie a type to an (untyped) SendValue, so that
the underlying value can be retrieved without having to guess its type.
That type is anyway stored in a private member T::TagType.

Co-authored-by: Marijn Suijten <marijns95@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants