* ./include/vlc/vlc.h, ./src/libvlc.c: added VLC_Error() to the libvlc API.
authorSam Hocevar <sam@videolan.org>
Mon, 14 Oct 2002 16:46:56 +0000 (16:46 +0000)
committerSam Hocevar <sam@videolan.org>
Mon, 14 Oct 2002 16:46:56 +0000 (16:46 +0000)
commitbf7985b74afcef9103b35a3c47eeae5845ae681b
treed0ee26c3c8a2dc8b815a5d2cfa9e2defe41c1835
parentebda60f20b1937b279a78ca6ab37f7a1b70b32fd
  * ./include/vlc/vlc.h, ./src/libvlc.c: added VLC_Error() to the libvlc API.
  * ./include/main.h: removed p_vlc->i_status because it was not sufficient
    to represent all the possible states of p_vlc; each part should be tested
    separately upon destruction.
  * ./src/misc/objects.c: fixed a signed/unsigned bug that prevented creation
    of VLC_OBJECT_GENERIC objects.

  * ./src/misc/variables.c: added the VLC_VAR_COMMAND type which is simply a
    variable that stores a function pointer, and calls it when var_Get is
    called for it. The function argument is taken in val.psz_string.
  * ./src/misc/objects.c: vlc_dumpstructure and vlc_liststructure are no longer
    exported to the rest of the program; instead, they're VLC_VAR_COMMAND vars
    ("tree" and "list").
  * ./modules/control/rc/rc.c: moved a few commands to VLC_VAR_COMMAND vars.
16 files changed:
Makefile.am
configure.ac.in
include/main.h
include/variables.h
include/vlc/vlc.h
include/vlc_objects.h
modules/control/rc/rc.c
modules/gui/familiar/familiar.c
modules/gui/gtk/gnome.c
modules/gui/gtk/gtk.c
src/libvlc.c
src/misc/messages.c
src/misc/modules.c
src/misc/objects.c
src/misc/variables.c
src/vlc.c