]> git.sesse.net Git - vlc/commit
Changes to the libvlc API:
authorSam Hocevar <sam@videolan.org>
Fri, 11 Oct 2002 22:32:56 +0000 (22:32 +0000)
committerSam Hocevar <sam@videolan.org>
Fri, 11 Oct 2002 22:32:56 +0000 (22:32 +0000)
commit464bd2e5b4a533b2b232b472390abd0bdab5b93d
tree935d26e2c951341e9c0671eb2c86132dee2d31c8
parent37741cf811763f13a752a742431c6af2976863fa
Changes to the libvlc API:
  * ./include/vlc/vlc.h: changed the naming conventions for libvlc. Now
    exported functions start with VLC_ instead of vlc_ to avoid conflicts.
  * ./include/vlc/vlc.h: removed the vlc_object_t, vlc_list_t, vlc_error_t
    and vlc_t types; they are now internal types only.
  * ./include/vlc/vlc.h: merged the reentrant and non-reentrant libvlc
    calls. In non-reentrant mode, we just use 0 as the first argument. In
    reentrant mode, we use an object's ID. (see below)

Internal changes:
  * ./src/libvlc.c, ./src/misc/objects.c: instead of manipulating vlc_object_t
    pointers, we manipulate their i_object_id. When needed, an object is
    retrieved using vlc_object_get (I hope the lookup isn't too expensive,
    that's why I designed the pp_objects layout to allow log2(n) seeks).
  * ./src/misc/objects.c: activated the per-object variable storage. Unused
    yet, unless you want to try "getfoo" and "setfoo blablah" in vlc -I rc.
  * ./include/vlc_objects.h: moved the vlc_object_t and vlc_list_t definitions
    here.

Misc:
  * ./src/vlc.c, ./mozilla/vlcshell.cpp: removed inclusion of config.h in
    code portions not part of libvlc; it was just required for the
    COPYRIGHT_MESSAGE string which is now available from VLC_Version().
14 files changed:
Makefile.am
configure.ac.in
include/interface.h
include/vlc/vlc.h
include/vlc_common.h
include/vlc_objects.h
modules/control/rc/rc.c
mozilla/vlcpeer.cpp
mozilla/vlcplugin.h
mozilla/vlcshell.cpp
src/interface/interface.c
src/libvlc.c
src/misc/objects.c
src/vlc.c