Implement Sync for DateTime

It's immutable.
This commit is contained in:
Sebastian Dröge 2017-12-18 09:42:27 +02:00
parent 9223386750
commit 48958d381e
2 changed files with 2 additions and 5 deletions

View file

@ -69,6 +69,7 @@ generate = [
"Gst.ParseFlags",
"Gst.TaskState",
"Gst.PluginDependencyFlags",
"Gst.DateTime",
]
manual = [
@ -211,11 +212,6 @@ name = "Gst.TocEntry"
status = "manual"
ref_mode = "ref"
[[object]]
name = "Gst.DateTime"
status = "generate"
concurrency = "send"
[[object]]
name = "Gst.Clock"
status = "generate"

View file

@ -189,3 +189,4 @@ impl DateTime {
}
unsafe impl Send for DateTime {}
unsafe impl Sync for DateTime {}