Changeset 8952d64a5751065f0a96e66e25fdd187bff1d7ad
- Timestamp:
- 07/29/07 11:01:40
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1185699700 +0000
- git-parent:
[86b95f9dc8a597e7c496daa6cc6717cb6b77585e]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1185699700 +0000
- Message:
Remove vlc_symbols legacy.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r11884b8 |
r8952d64 |
|
| 603 | 603 | #endif |
|---|
| 604 | 604 | |
|---|
| 605 | | #if defined (WIN32) || !defined (HAVE_SHARED_LIBVLC) |
|---|
| | 605 | #ifdef WIN32 |
|---|
| 606 | 606 | /***************************************************************************** |
|---|
| 607 | 607 | * dgettext: gettext for plugins. |
|---|
| rbfaade6 |
r8952d64 |
|
| 36 | 36 | return NULL; |
|---|
| 37 | 37 | |
|---|
| 38 | | #ifndef HAVE_SHARED_LIBVLC |
|---|
| 39 | | module->p_symbols = &vlc_global( obj )->p_module_bank->symbols; |
|---|
| 40 | | #endif |
|---|
| 41 | 38 | module->b_reentrant = module->b_unloadable = VLC_TRUE; |
|---|
| 42 | 39 | module->psz_object_name = module->psz_longname = default_name; |
|---|
| rd592233 |
r8952d64 |
|
| 196 | 196 | p_bank->b_cache = p_bank->b_cache_dirty = |
|---|
| 197 | 197 | p_bank->b_cache_delete = VLC_FALSE; |
|---|
| 198 | | |
|---|
| 199 | | /* |
|---|
| 200 | | * Store the symbols to be exported |
|---|
| 201 | | */ |
|---|
| 202 | | #if defined (HAVE_DYNAMIC_PLUGINS) && !defined (HAVE_SHARED_LIBVLC) |
|---|
| 203 | | STORE_SYMBOLS( &p_bank->symbols ); |
|---|
| 204 | | #endif |
|---|
| 205 | 198 | |
|---|
| 206 | 199 | /* Everything worked, attach the object */ |
|---|
| … | … | |
| 2208 | 2201 | p_cache->pf_activate = p_module->pf_activate; |
|---|
| 2209 | 2202 | p_cache->pf_deactivate = p_module->pf_deactivate; |
|---|
| 2210 | | #ifndef HAVE_SHARED_LIBVLC |
|---|
| 2211 | | p_cache->p_symbols = p_module->p_symbols; |
|---|
| 2212 | | #endif |
|---|
| 2213 | 2203 | p_cache->handle = p_module->handle; |
|---|
| 2214 | 2204 | |
|---|
| … | … | |
| 2219 | 2209 | p_cchild->pf_activate = p_child->pf_activate; |
|---|
| 2220 | 2210 | p_cchild->pf_deactivate = p_child->pf_deactivate; |
|---|
| 2221 | | #ifndef HAVE_SHARED_LIBVLC |
|---|
| 2222 | | p_cchild->p_symbols = p_child->p_symbols; |
|---|
| 2223 | | #endif |
|---|
| 2224 | 2211 | } |
|---|
| 2225 | 2212 | |
|---|
| raefd2b4 |
r8952d64 |
|
| 35 | 35 | |
|---|
| 36 | 36 | int i_usage; |
|---|
| 37 | | #ifndef HAVE_SHARED_LIBVLC |
|---|
| 38 | | module_symbols_t symbols; |
|---|
| 39 | | #endif |
|---|
| 40 | 37 | |
|---|
| 41 | 38 | vlc_bool_t b_main; |
|---|
| … | … | |
| 142 | 139 | vlc_bool_t b_builtin; /* Set to true if the module is built in */ |
|---|
| 143 | 140 | vlc_bool_t b_loaded; /* Set to true if the dll is loaded */ |
|---|
| 144 | | |
|---|
| 145 | | #ifndef HAVE_SHARED_LIBVLC |
|---|
| 146 | | /* Legacy symbols table */ |
|---|
| 147 | | module_symbols_t *p_symbols; |
|---|
| 148 | | #endif |
|---|
| 149 | 141 | }; |
|---|
| 150 | 142 | #endif |
|---|