gst/gst.defs: Added 'caller-owns-return' to all gst_[message|event|query]_new_*() wrappers

Original commit message from CVS:
* gst/gst.defs:
Added 'caller-owns-return' to all gst_[message|event|query]_new_*()
wrappers
This commit is contained in:
Edward Hervey 2005-10-27 14:46:59 +00:00
parent f2a5a97ac3
commit 9f09254291
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-10-27 Edward Hervey <edward@fluendo.com>
* gst/gst.defs:
Added 'caller-owns-return' to all gst_[message|event|query]_new_*()
wrappers
2005-10-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org> 2005-10-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* gst/gstelement.override: * gst/gstelement.override:

View file

@ -1752,6 +1752,7 @@
(define-function event_new_buffersize (define-function event_new_buffersize
(c-name "gst_event_new_buffersize") (c-name "gst_event_new_buffersize")
(return-type "GstEvent*") (return-type "GstEvent*")
(caller-owns-return #t)
(parameters (parameters
'("GstFormat" "format") '("GstFormat" "format")
'("gint64" "minsize") '("gint64" "minsize")
@ -2621,6 +2622,7 @@
(define-function message_new_state_dirty (define-function message_new_state_dirty
(c-name "gst_message_new_state_dirty") (c-name "gst_message_new_state_dirty")
(return-type "GstMessage*") (return-type "GstMessage*")
(caller-owns-return #t)
(parameters (parameters
'("GstObject*" "src") '("GstObject*" "src")
) )
@ -2629,6 +2631,7 @@
(define-function message_new_clock_provide (define-function message_new_clock_provide
(c-name "gst_message_new_clock_provide") (c-name "gst_message_new_clock_provide")
(return-type "GstMessage*") (return-type "GstMessage*")
(caller-owns-return #t)
(parameters (parameters
'("GstObject*" "src") '("GstObject*" "src")
'("GstClock*" "clock") '("GstClock*" "clock")
@ -2639,6 +2642,7 @@
(define-function message_new_clock_lost (define-function message_new_clock_lost
(c-name "gst_message_new_clock_lost") (c-name "gst_message_new_clock_lost")
(return-type "GstMessage*") (return-type "GstMessage*")
(caller-owns-return #t)
(parameters (parameters
'("GstObject*" "src") '("GstObject*" "src")
'("GstClock*" "clock") '("GstClock*" "clock")
@ -2648,6 +2652,7 @@
(define-function message_new_new_clock (define-function message_new_new_clock
(c-name "gst_message_new_new_clock") (c-name "gst_message_new_new_clock")
(return-type "GstMessage*") (return-type "GstMessage*")
(caller-owns-return #t)
(parameters (parameters
'("GstObject*" "src") '("GstObject*" "src")
'("GstClock*" "clock") '("GstClock*" "clock")
@ -2679,6 +2684,7 @@
(define-function message_new_application (define-function message_new_application
(c-name "gst_message_new_application") (c-name "gst_message_new_application")
(return-type "GstMessage*") (return-type "GstMessage*")
(caller-owns-return #t)
(parameters (parameters
'("GstObject*" "src") '("GstObject*" "src")
'("GstStructure*" "structure") '("GstStructure*" "structure")
@ -2688,6 +2694,7 @@
(define-function message_new_element (define-function message_new_element
(c-name "gst_message_new_element") (c-name "gst_message_new_element")
(return-type "GstMessage*") (return-type "GstMessage*")
(caller-owns-return #t)
(parameters (parameters
'("GstObject*" "src") '("GstObject*" "src")
'("GstStructure*" "structure") '("GstStructure*" "structure")
@ -2697,6 +2704,7 @@
(define-function message_new_duration (define-function message_new_duration
(c-name "gst_message_new_duration") (c-name "gst_message_new_duration")
(return-type "GstMessage*") (return-type "GstMessage*")
(caller-owns-return #t)
(parameters (parameters
'("GstObject*" "src") '("GstObject*" "src")
'("GstFormat" "format") '("GstFormat" "format")
@ -4116,6 +4124,7 @@
(define-function query_new_duration (define-function query_new_duration
(c-name "gst_query_new_duration") (c-name "gst_query_new_duration")
(return-type "GstQuery*") (return-type "GstQuery*")
(caller-owns-return #t)
(parameters (parameters
'("GstFormat" "format") '("GstFormat" "format")
) )