/*****************************************************************************
* Shared library Export macros
*****************************************************************************/
-#if defined(WIN32) && defined(DLL_EXPORT)
-# define VLC_PUBLIC_API extern __declspec(dllexport)
-#elif HAVE_ATTRIBUTE_VISIBILITY
-# define VLC_PUBLIC_API extern __attribute__((visibility("default")))
-#else
+#ifndef VLC_PUBLIC_API
# define VLC_PUBLIC_API extern
#endif
* \param ppsz_argv an array of arguments
* \return VLC_SUCCESS on success
*/
-VLC_PUBLIC_API int VLC_Init( int, int, char *[] );
+VLC_PUBLIC_API int VLC_Init( int, int, const char *[] );
/**
* Add an interface
/**
* Ask vlc to die
*
- * This function sets p_vlc->b_die to VLC_TRUE, but does not do any other
+ * This function sets p_libvlc->b_die to VLC_TRUE, but does not do any other
* task. It is your duty to call VLC_CleanUp and VLC_Destroy afterwards.
*
* \param i_object a vlc object id
* \param i_options the amount of options in the ppsz_options array
* \param i_mode the insert mode to insert the target into the playlist (PLAYLIST_* defines)
* \param i_pos the position at which to add the new target (PLAYLIST_END for end)
- * \return VLC_SUCCESS on success
+ * \return the item id on success and -1 on error
*/
VLC_PUBLIC_API int VLC_AddTarget( int, char const *, const char **, int, int, int );