[vlc-devel] commit: Remove vlc_object_t.p_private ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Aug 23 19:33:34 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 23 19:25:28 2009 +0300| [182692caeb5fcdfccb81c3c0ab855fb6bafcc661] | committer: Rémi Denis-Courmont
Remove vlc_object_t.p_private
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=182692caeb5fcdfccb81c3c0ab855fb6bafcc661
---
include/vlc_common.h | 3 ---
include/vlc_plugin.h | 4 ++--
src/misc/objects.c | 2 --
3 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index f7f45a8..8675ff8 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -515,9 +515,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
\
vlc_object_t * p_parent; /**< our parent */ \
\
- /* Private data */ \
- void * p_private; \
- \
/**@}*/ \
/* VLC_OBJECT: attempt at doing a clever cast */
diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 5f0a80c..5306825 100644
--- a/include/vlc_plugin.h
+++ b/include/vlc_plugin.h
@@ -119,8 +119,8 @@ enum vlc_module_properties
/**
* Current plugin ABI version
*/
-# define MODULE_SYMBOL 1_1_0a
-# define MODULE_SUFFIX "__1_1_0a"
+# define MODULE_SYMBOL 1_1_0b
+# define MODULE_SUFFIX "__1_1_0b"
/*****************************************************************************
* Add a few defines. You do not want to read this section. Really.
diff --git a/src/misc/objects.c b/src/misc/objects.c
index da38656..cf56408 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -160,8 +160,6 @@ void *__vlc_custom_create( vlc_object_t *p_this, size_t i_size,
p_priv->pp_children = NULL;
p_priv->i_children = 0;
- p_new->p_private = NULL;
-
/* Initialize mutexes and condvars */
vlc_mutex_init( &p_priv->var_lock );
vlc_cond_init( &p_priv->var_wait );
More information about the vlc-devel
mailing list