]> git.sesse.net Git - vlc/blobdiff - src/libvlc.h
More *.m4's to ignore
[vlc] / src / libvlc.h
index f23490c994d7e91b3845d9f5116628e82bd46a74..fd83455b3fb159cc50e6e0646137bb2cb6f2408b 100644 (file)
@@ -45,6 +45,12 @@ void system_End       ( libvlc_int_t * );
  */
 int vlc_threads_init( void );
 void vlc_threads_end( void );
+vlc_object_t *vlc_threadobj (void);
+#ifndef NDEBUG
+void vlc_refcheck (vlc_object_t *obj);
+#else
+# define vlc_refcheck( obj ) (void)0
+#endif
 
 /*
  * CPU capabilities
@@ -181,6 +187,9 @@ struct vlc_object_internals_t
     vlc_spinlock_t   ref_spin;
     unsigned         i_refcount;
     vlc_destructor_t pf_destructor;
+#ifndef NDEBUG
+    vlc_thread_t     creator_id;
+#endif
 
     /* Objects tree structure */
     vlc_object_t    *prev, *next;