X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc.h;h=94e2a6919b031b7d243746f6ac3365361f36db7a;hb=7686840e5c2b384eab661455a5e532a97c669e96;hp=e0e9e8603f10cb6150892bb33d81712b9ef6b671;hpb=9f82d86f8c84b61ee89a618d5f5def852263cd57;p=vlc diff --git a/src/libvlc.h b/src/libvlc.h index e0e9e8603f..94e2a6919b 100644 --- a/src/libvlc.h +++ b/src/libvlc.h @@ -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)