[vlc-devel] commit: vlc_object_t.p_internals is not needed anymore ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat May 3 11:49:59 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat May 3 12:51:03 2008 +0300| [7f682030017e1c075474ca18fba3ca1a1cb0a9d4]
vlc_object_t.p_internals is not needed anymore
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f682030017e1c075474ca18fba3ca1a1cb0a9d4
---
include/vlc_common.h | 1 -
include/vlc_modules_macros.h | 4 ++--
src/misc/objects.c | 2 --
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index 32cf14e..4fd14f8 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -462,7 +462,6 @@ typedef struct vlc_object_internals_t vlc_object_internals_t;
* these members are common for all vlc objects \
*/ \
/**@{*/ \
- vlc_object_internals_t *p_internals; \
int i_object_id; \
int i_object_type; \
const char *psz_object_type; \
diff --git a/include/vlc_modules_macros.h b/include/vlc_modules_macros.h
index 1f92fd9..9511d28 100644
--- a/include/vlc_modules_macros.h
+++ b/include/vlc_modules_macros.h
@@ -35,8 +35,8 @@
/**
* Current plugin ABI version
*/
-# define MODULE_SYMBOL 0_9_0j
-# define MODULE_SUFFIX "__0_9_0j"
+# define MODULE_SYMBOL 0_9_0k
+# define MODULE_SUFFIX "__0_9_0k"
/*****************************************************************************
* 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 dc9c09f..adda931 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -118,10 +118,8 @@ void *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
assert (i_size >= sizeof (vlc_object_t));
p_new = (vlc_object_t *)(p_priv + 1);
- p_new->p_internals = p_priv;
p_new->i_object_type = i_type;
p_new->psz_object_type = psz_type;
-
p_new->psz_object_name = NULL;
p_new->b_die = false;
More information about the vlc-devel
mailing list