gst: updating datetime functions
Updating datetime _from_unix functions for the new 2 variants (utc/local) https://bugzilla.gnome.org/show_bug.cgi?id=635031
This commit is contained in:
parent
4af2afe2c6
commit
67495d15f8
13
gst/gst.defs
13
gst/gst.defs
@ -1264,8 +1264,17 @@
|
|||||||
(return-type "gfloat")
|
(return-type "gfloat")
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function date_time_new_from_unix_epoch
|
(define-function date_time_new_from_unix_epoch_local_time
|
||||||
(c-name "gst_date_time_new_from_unix_epoch")
|
(c-name "gst_date_time_new_from_unix_epoch_local_time")
|
||||||
|
(return-type "GstDateTime*")
|
||||||
|
(caller-owns-return #t)
|
||||||
|
(parameters
|
||||||
|
'("gint64" "secs")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
(define-function date_time_new_from_unix_epoch_utc
|
||||||
|
(c-name "gst_date_time_new_from_unix_epoch_utc")
|
||||||
(return-type "GstDateTime*")
|
(return-type "GstDateTime*")
|
||||||
(caller-owns-return #t)
|
(caller-owns-return #t)
|
||||||
(parameters
|
(parameters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user