[vlc-devel] [PATCH] Sqlite Module for VLC, GSoC 09
Rémi Denis-Courmont
remi at remlab.net
Tue Sep 15 20:32:04 CEST 2009
Le mardi 15 septembre 2009 21:28:15 Laurent Aimar, vous avez écrit :
> > + p_sql = ( sql_t * ) vlc_custom_create( p_this, sizeof( sql_t ),
> > + VLC_OBJECT_GENERIC, "sql" );
>
> I dunno what is the difference with vlc_object_create but it is simpler.
You cannot set the object type name of generic objects with
vlc_object_create(). OTOH, vlc_object_create() can be used in plugins, whereas
vlc_custom_create() cannot, but this is a non-issue here.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list