X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc.h;h=1e8f74f45ccdc4570aab0c60fb6271f609a54d9c;hb=079986827291b3381495532cb0f754b131ccf246;hp=b3dff5e3668b5da91a35479ca9e66ba82a534fd4;hpb=6673258639e376114376094236a511d03be5a95e;p=vlc diff --git a/src/libvlc.h b/src/libvlc.h index b3dff5e366..1e8f74f45c 100644 --- a/src/libvlc.h +++ b/src/libvlc.h @@ -56,8 +56,8 @@ VLC_EXPORT( const char * , system_VLCPath, (void)); /* * Threads subsystem */ -int __vlc_threads_init( vlc_object_t * ); -int __vlc_threads_end( vlc_object_t * ); +int vlc_threads_init( void ); +void vlc_threads_end( void ); /** The global thread var for msg stack context * We store this as a static global variable so we don't need a vlc_object_t @@ -149,7 +149,7 @@ struct vlc_object_internals_t /* Thread properties, if any */ vlc_thread_t thread_id; - bool b_thread; + bool b_thread; /* Objects thread synchronization */ int pipes[2]; @@ -158,7 +158,7 @@ struct vlc_object_internals_t /* Objects management */ unsigned i_refcount; vlc_destructor_t pf_destructor; - bool b_attached; + bool b_attached; }; #define ZOOM_SECTION N_("Zoom") @@ -169,7 +169,7 @@ struct vlc_object_internals_t static inline vlc_object_internals_t *vlc_internals( vlc_object_t *obj ) { - return obj->p_internals; + return ((vlc_object_internals_t *)obj) - 1; } extern module_config_t libvlc_config[];