Commit 9194945a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove VLC_INTERNAL

I should not have put internal stuff into the header files anyway
parent 00e71fbf
...@@ -391,32 +391,26 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */ ...@@ -391,32 +391,26 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
# ifdef __cplusplus # ifdef __cplusplus
# define VLC_PUBLIC_API extern "C" __declspec(dllexport) # define VLC_PUBLIC_API extern "C" __declspec(dllexport)
# define VLC_EXPORT( type, name, args ) extern "C" __declspec(dllexport) type name args # define VLC_EXPORT( type, name, args ) extern "C" __declspec(dllexport) type name args
# define VLC_INTERNAL( type, name, args ) extern "C" type name args
# else # else
# define VLC_PUBLIC_API extern __declspec(dllexport) # define VLC_PUBLIC_API extern __declspec(dllexport)
# define VLC_EXPORT( type, name, args ) __declspec(dllexport) type name args # define VLC_EXPORT( type, name, args ) __declspec(dllexport) type name args
# define VLC_INTERNAL( type, name, args ) type name args
# endif # endif
#else #else
# ifdef __cplusplus # ifdef __cplusplus
# ifdef HAVE_ATTRIBUTE_VISIBILITY # ifdef HAVE_ATTRIBUTE_VISIBILITY
# define VLC_PUBLIC_API extern "C" __attribute__((visibility("default"))) # define VLC_PUBLIC_API extern "C" __attribute__((visibility("default")))
# define VLC_EXPORT( type, name, args ) extern "C" __attribute__((visibility("default"))) type name args # define VLC_EXPORT( type, name, args ) extern "C" __attribute__((visibility("default"))) type name args
# define VLC_INTERNAL( type, name, args ) extern "C" __attribute__((visibility("hidden"))) type name args
# else # else
# define VLC_PUBLIC_API extern "C" # define VLC_PUBLIC_API extern "C"
# define VLC_EXPORT( type, name, args ) extern "C" type name args # define VLC_EXPORT( type, name, args ) extern "C" type name args
# define VLC_INTERNAL( type, name, args ) extern "C" type name args
# endif # endif
# else # else
# ifdef HAVE_ATTRIBUTE_VISIBILITY # ifdef HAVE_ATTRIBUTE_VISIBILITY
# define VLC_PUBLIC_API extern __attribute__((visibility("default"))) # define VLC_PUBLIC_API extern __attribute__((visibility("default")))
# define VLC_EXPORT( type, name, args ) __attribute__((visibility("default"))) type name args # define VLC_EXPORT( type, name, args ) __attribute__((visibility("default"))) type name args
# define VLC_INTERNAL( type, name, args ) __attribute__((visibility("hidden"))) type name args
# else # else
# define VLC_PUBLIC_API extern # define VLC_PUBLIC_API extern
# define VLC_EXPORT( type, name, args ) extern type name args # define VLC_EXPORT( type, name, args ) extern type name args
# define VLC_INTERNAL( type, name, args ) type name args
# endif # endif
# endif # endif
#endif #endif
......
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