[vlc-devel] Re: string

ozone at algorithm.com.au ozone at algorithm.com.au
Thu Mar 25 06:49:05 CET 2004


On 24/03/2004, at 7:50 PM, Hornsby Adrian wrote:

> Gildas Bazin >>>> what is the equivalent of " int video_y = val.i_int; 
> " for
> a string ???
> string video_title = val. ...??????
> because this is not wortking : string video_title = val.psz_string ;

Works fine for me.  You're using 'char *' instead of 'string', right?

You also have to make sure that the variable is meant to hold a string 
when it's created with var_Create, e.g.

vlc.browser/modules/access/ftp.c:    var_Create( p_input, "ftp-user", 
VLC_VAR_ST
RING | VLC_VAR_DOINHERIT );


-- 
% Andre Pang : trust.in.love.to.save

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list