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:
Thiago Santos 2010-11-17 09:36:44 -03:00
parent 4af2afe2c6
commit 67495d15f8

View file

@ -1264,8 +1264,17 @@
(return-type "gfloat")
)
(define-function date_time_new_from_unix_epoch
(c-name "gst_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_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*")
(caller-owns-return #t)
(parameters