Marked values as nullable accordingly

This commit is contained in:
Sebastian Pölsterl 2009-01-23 21:03:53 +01:00 committed by Wim Taymans
parent ef9c3dc921
commit 02711871d0
2 changed files with 18 additions and 17 deletions

View 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);

View 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"