[vlc-devel] commit: Improve VLC_COMMON_MEMBERS layout ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Sep 18 21:43:50 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Sep 18 22:46:57 2008 +0300| [432031d68ce966cc662c36d8452153200f4bf042] | committer: Rémi Denis-Courmont
Improve VLC_COMMON_MEMBERS layout
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=432031d68ce966cc662c36d8452153200f4bf042
---
include/vlc_common.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index 56ccbbe..4ba2ab3 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -537,6 +537,9 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
volatile bool b_die; /**< set by the outside */ \
bool b_force; /**< set by the outside (eg. module_Need()) */ \
\
+ /** Just a reminder so that people don't cast garbage */ \
+ bool be_sure_to_add_VLC_COMMON_MEMBERS_to_struct; \
+ \
/* Stuff related to the libvlc structure */ \
libvlc_int_t *p_libvlc; /**< (root of all evil) - 1 */ \
\
@@ -545,8 +548,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
/* Private data */ \
void * p_private; \
\
- /** Just a reminder so that people don't cast garbage */ \
- int be_sure_to_add_VLC_COMMON_MEMBERS_to_struct; \
/**@}*/ \
/* VLC_OBJECT: attempt at doing a clever cast */
More information about the vlc-devel
mailing list