Commit caf12a91 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Export CPUCapabilities

parent 3240c61f
...@@ -497,6 +497,7 @@ struct module_symbols_t ...@@ -497,6 +497,7 @@ struct module_symbols_t
int (*utf8_vfprintf_inner) (FILE *stream, const char *fmt, va_list ap); int (*utf8_vfprintf_inner) (FILE *stream, const char *fmt, va_list ap);
void *utf8_fprintf_deprecated; void *utf8_fprintf_deprecated;
void *utf8_vfprintf_deprecated; void *utf8_vfprintf_deprecated;
uint32_t (*CPUCapabilities_inner) (void);
}; };
# if defined (__PLUGIN__) # if defined (__PLUGIN__)
# define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner # define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner
...@@ -972,6 +973,7 @@ struct module_symbols_t ...@@ -972,6 +973,7 @@ struct module_symbols_t
# define input_AddSubtitles (p_symbols)->input_AddSubtitles_inner # define input_AddSubtitles (p_symbols)->input_AddSubtitles_inner
# define utf8_fprintf (p_symbols)->utf8_fprintf_inner # define utf8_fprintf (p_symbols)->utf8_fprintf_inner
# define utf8_vfprintf (p_symbols)->utf8_vfprintf_inner # define utf8_vfprintf (p_symbols)->utf8_vfprintf_inner
# define CPUCapabilities (p_symbols)->CPUCapabilities_inner
# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__) # elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
/****************************************************************** /******************************************************************
* STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access. * STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
...@@ -1450,6 +1452,7 @@ struct module_symbols_t ...@@ -1450,6 +1452,7 @@ struct module_symbols_t
((p_symbols)->input_AddSubtitles_inner) = input_AddSubtitles; \ ((p_symbols)->input_AddSubtitles_inner) = input_AddSubtitles; \
((p_symbols)->utf8_fprintf_inner) = utf8_fprintf; \ ((p_symbols)->utf8_fprintf_inner) = utf8_fprintf; \
((p_symbols)->utf8_vfprintf_inner) = utf8_vfprintf; \ ((p_symbols)->utf8_vfprintf_inner) = utf8_vfprintf; \
((p_symbols)->CPUCapabilities_inner) = CPUCapabilities; \
(p_symbols)->net_ConvertIPv4_deprecated = NULL; \ (p_symbols)->net_ConvertIPv4_deprecated = NULL; \
(p_symbols)->__stats_CounterGet_deprecated = NULL; \ (p_symbols)->__stats_CounterGet_deprecated = NULL; \
(p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \ (p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment