[vlc-commits] commit: module_start, module_stop: vlc_object cast ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Sat Jul 31 22:38:36 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 31 23:37:07 2010 +0300| [6fad8bffb1cdfe90c495eb19cc680f4120ecc657] | committer: Rémi Denis-Courmont
module_start, module_stop: vlc_object cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6fad8bffb1cdfe90c495eb19cc680f4120ecc657
---
include/vlc_modules.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/vlc_modules.h b/include/vlc_modules.h
index fa43b5e..e810f87 100644
--- a/include/vlc_modules.h
+++ b/include/vlc_modules.h
@@ -38,7 +38,9 @@ VLC_EXPORT( bool, module_exists, (const char *) );
VLC_EXPORT( module_t *, module_find, (const char *) );
int module_start(vlc_object_t *, module_t *);
+#define module_start(o, m) module_start(VLC_OBJECT(o),m)
void module_stop(vlc_object_t *, module_t *);
+#define module_stop(o, m) module_stop(VLC_OBJECT(o),m)
VLC_EXPORT( module_config_t *, module_config_get, ( const module_t *, unsigned * ) );
VLC_EXPORT( void, module_config_free, ( module_config_t * ) );
More information about the vlc-commits
mailing list