 --
 -- Returns xine_stream_t* if OK, NULL on error (use 'xine_get_error' for
 -- details).
-{#fun unsafe xine_stream_new
+{#fun xine_stream_new
  {withEngine* `Engine'
  ,withAudioPort* `AudioPort'
  ,withVideoPort* `VideoPort'} -> `(Maybe Stream)' peekStream*#}

-- Header declaration:
--
-- int xine_get_param (xine_stream_t *stream, int param)
{#fun unsafe xine_get_param
 `(Enum a)' =>
 {withStream* `Stream'
 ,enum2cint `StreamParam'} -> `a' cint2enum#}

-- Header declaration:
--
-- void xine_close_video_driver (xine_t *self, xine_video_port_t *driver)
{#fun xine_close_video_driver
 {withEngine* `Engine'
 ,withVideoPort* `VideoPort'} -> `()'#}

