]> git.sesse.net Git - vlc/blobdiff - src/libvlc.h
core: set meaningful object type names
[vlc] / src / libvlc.h
index e0e9e8603f10cb6150892bb33d81712b9ef6b671..94e2a6919b031b7d243746f6ac3365361f36db7a 100644 (file)
@@ -138,8 +138,10 @@ char *vlc_fix_readdir (const char *);
  * @return the created object, or NULL.
  */
 extern void *
-vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type,
-                   const char *psz_type);
+__vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type,
+                     const char *psz_type);
+#define vlc_custom_create(o, s, t, n) \
+        __vlc_custom_create(VLC_OBJECT(o), s, t, n)
 
 /**
  * libvlc_global_data_t (global variable)