Marked values as nullable accordingly
authorSebastian Pölsterl <sebp@k-d-w.org>
Fri, 23 Jan 2009 20:03:53 +0000 (21:03 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Sat, 24 Jan 2009 16:49:01 +0000 (17:49 +0100)
bindings/vala/gst-rtsp-server-0.10.vapi
bindings/vala/packages/gst-rtsp-server-0.10.metadata

index 38cba5a..af5804c 100644 (file)
@@ -27,9 +27,9 @@ namespace Gst {
        }
        [CCode (cheader_filename = "gst/rtsp-server/rtsp-media-factory.h")]
        public class RTSPMediaFactory : GLib.Object {
-               public virtual Gst.RTSPMedia @construct (Gst.RTSPUrl url);
+               public virtual Gst.RTSPMedia? @construct (Gst.RTSPUrl url);
                [NoWrapper]
-               public virtual Gst.Element get_element (Gst.RTSPUrl url);
+               public virtual Gst.Element? get_element (Gst.RTSPUrl url);
                public string get_launch ();
                public bool is_shared ();
                [CCode (has_construct_function = false)]
@@ -42,9 +42,9 @@ namespace Gst {
        public class RTSPMediaMapping : GLib.Object {
                public weak GLib.HashTable mappings;
                public void add_factory (string path, Gst.RTSPMediaFactory factory);
-               public Gst.RTSPMediaFactory find_factory (Gst.RTSPUrl url);
+               public Gst.RTSPMediaFactory? find_factory (Gst.RTSPUrl url);
                [NoWrapper]
-               public virtual Gst.RTSPMediaFactory find_media (Gst.RTSPUrl url);
+               public virtual Gst.RTSPMediaFactory? find_media (Gst.RTSPUrl url);
                [CCode (has_construct_function = false)]
                public RTSPMediaMapping ();
                public void remove_factory (string path);
@@ -69,11 +69,11 @@ namespace Gst {
                public void* server_sin;
                public weak Gst.PollFD server_sock;
                [NoWrapper]
-               public virtual Gst.RTSPClient accept_client (GLib.IOChannel channel);
-               public uint attach (GLib.MainContext context);
-               public GLib.TimeoutSource create_watch ();
+               public virtual Gst.RTSPClient? accept_client (GLib.IOChannel channel);
+               public uint attach (GLib.MainContext? context);
+               public GLib.TimeoutSource? create_watch ();
                public int get_backlog ();
-               public GLib.IOChannel get_io_channel ();
+               public GLib.IOChannel? get_io_channel ();
                public Gst.RTSPMediaMapping get_media_mapping ();
                public int get_port ();
                public Gst.RTSPSessionPool get_session_pool ();
@@ -121,7 +121,7 @@ namespace Gst {
                public Gst.RTSPSession create ();
                [NoWrapper]
                public virtual string create_session_id ();
-               public Gst.RTSPSession find (string sessionid);
+               public Gst.RTSPSession? find (string sessionid);
                [CCode (has_construct_function = false)]
                public RTSPSessionPool ();
                public void remove (Gst.RTSPSession sess);
index 9de3162..bf7ed85 100644 (file)
@@ -12,16 +12,17 @@ GstRTSPSessionStream cheader_filename="gst/rtsp-server/rtsp-session.h"
 gst_rtsp_client_get_media_mapping transfer_ownership="1"
 gst_rtsp_client_get_session_pool transfer_ownership="1"
 gst_rtsp_media_factory_get_launch transfer_ownership="1"
-gst_rtsp_media_factory_construct transfer_ownership="1"
-gst_rtsp_media_factory_get_element transfer_ownership="1"
-gst_rtsp_media_mapping_find_factory transfer_ownership="1"
-gst_rtsp_media_mapping_find_media transfer_ownership="1"
-gst_rtsp_server_accept_client transfer_ownership="1"
-gst_rtsp_server_create_watch transfer_ownership="1"
-gst_rtsp_server_get_io_channel transfer_ownership="1"
+gst_rtsp_media_factory_construct transfer_ownership="1" nullable="1"
+gst_rtsp_media_factory_get_element transfer_ownership="1" nullable="1"
+gst_rtsp_media_mapping_find_factory transfer_ownership="1" nullable="1"
+gst_rtsp_media_mapping_find_media transfer_ownership="1" nullable="1"
+gst_rtsp_server_accept_client transfer_ownership="1" nullable="1"
+gst_rtsp_server_create_watch transfer_ownership="1" nullable="1"
+gst_rtsp_server_get_io_channel transfer_ownership="1" nullable="1"
 gst_rtsp_server_get_media_mapping transfer_ownership="1"
 gst_rtsp_server_get_session_pool transfer_ownership="1"
+gst_rtsp_server_attach.context nullable="1"
 gst_rtsp_session_pool_create transfer_ownership="1"
 gst_rtsp_session_pool_create_session_id transfer_ownership="1"
-gst_rtsp_session_pool_find transfer_ownership="1"
+gst_rtsp_session_pool_find transfer_ownership="1" nullable="1"
 gst_rtsp_session_stream_set_transport transfer_ownership="1"