Commit c3d52168 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Unexport vlc_object_set_destructor

parent 1aa13d0b
...@@ -50,9 +50,6 @@ ...@@ -50,9 +50,6 @@
#define OBJECT_FLAGS_QUIET 0x0002 #define OBJECT_FLAGS_QUIET 0x0002
#define OBJECT_FLAGS_NOINTERACT 0x0004 #define OBJECT_FLAGS_NOINTERACT 0x0004
/* Types */
typedef void (*vlc_destructor_t)(struct vlc_object_t *);
/***************************************************************************** /*****************************************************************************
* The vlc_object_t type. Yes, it's that simple :-) * The vlc_object_t type. Yes, it's that simple :-)
*****************************************************************************/ *****************************************************************************/
...@@ -66,7 +63,6 @@ struct vlc_object_t ...@@ -66,7 +63,6 @@ struct vlc_object_t
* Prototypes * Prototypes
*****************************************************************************/ *****************************************************************************/
VLC_EXPORT( void *, vlc_object_create, ( vlc_object_t *, size_t ) ) LIBVLC_MALLOC LIBVLC_USED; VLC_EXPORT( void *, vlc_object_create, ( vlc_object_t *, size_t ) ) LIBVLC_MALLOC LIBVLC_USED;
VLC_EXPORT( void, vlc_object_set_destructor, ( vlc_object_t *, vlc_destructor_t ) );
VLC_EXPORT( void, vlc_object_attach, ( vlc_object_t *, vlc_object_t * ) ); VLC_EXPORT( void, vlc_object_attach, ( vlc_object_t *, vlc_object_t * ) );
#if defined (__GNUC__) && !defined __cplusplus #if defined (__GNUC__) && !defined __cplusplus
__attribute__((deprecated)) __attribute__((deprecated))
...@@ -87,9 +83,6 @@ VLC_EXPORT( char *, vlc_object_get_name, ( const vlc_object_t * ) ) LIBVLC_USED; ...@@ -87,9 +83,6 @@ VLC_EXPORT( char *, vlc_object_get_name, ( const vlc_object_t * ) ) LIBVLC_USED;
#define vlc_object_create(a,b) vlc_object_create( VLC_OBJECT(a), b ) #define vlc_object_create(a,b) vlc_object_create( VLC_OBJECT(a), b )
#define vlc_object_set_destructor(a,b) \
vlc_object_set_destructor( VLC_OBJECT(a), b )
#define vlc_object_attach(a,b) \ #define vlc_object_attach(a,b) \
vlc_object_attach( VLC_OBJECT(a), VLC_OBJECT(b) ) vlc_object_attach( VLC_OBJECT(a), VLC_OBJECT(b) )
......
...@@ -129,6 +129,12 @@ vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type, ...@@ -129,6 +129,12 @@ vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type,
extern int vlc_object_set_name(vlc_object_t *, const char *); extern int vlc_object_set_name(vlc_object_t *, const char *);
#define vlc_object_set_name(o, n) vlc_object_set_name(VLC_OBJECT(o), n) #define vlc_object_set_name(o, n) vlc_object_set_name(VLC_OBJECT(o), n)
/* Types */
typedef void (*vlc_destructor_t) (struct vlc_object_t *);
void vlc_object_set_destructor (vlc_object_t *, vlc_destructor_t);
#define vlc_object_set_destructor(a,b) \
vlc_object_set_destructor (VLC_OBJECT(a), b)
/* /*
* To be cleaned-up module stuff: * To be cleaned-up module stuff:
*/ */
......
...@@ -584,7 +584,6 @@ vlc_object_find_name ...@@ -584,7 +584,6 @@ vlc_object_find_name
vlc_object_hold vlc_object_hold
vlc_object_kill vlc_object_kill
vlc_object_release vlc_object_release
vlc_object_set_destructor
vlc_object_get_name vlc_object_get_name
vlc_plugin_set vlc_plugin_set
vlc_poll vlc_poll
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment