/*
* 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
/* Thread properties, if any */
vlc_thread_t thread_id;
- bool b_thread;
+ bool b_thread;
/* Objects thread synchronization */
int pipes[2];
/* Objects management */
unsigned i_refcount;
vlc_destructor_t pf_destructor;
- bool b_attached;
+ bool b_attached;
};
#define ZOOM_SECTION N_("Zoom")
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[];