Commit 0840ec8c authored by Gildas Bazin's avatar Gildas Bazin

* include/vlc_image.h,vlc_xml.h: make these c++ happy.

parent 12077fd1
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
#include "vlc_video.h" #include "vlc_video.h"
# ifdef __cplusplus
extern "C" {
# endif
struct image_handler_t struct image_handler_t
{ {
picture_t * (*pf_read) ( image_handler_t *, block_t *, picture_t * (*pf_read) ( image_handler_t *, block_t *,
...@@ -53,4 +57,8 @@ VLC_EXPORT( void, image_HandlerDelete, ( image_handler_t * ) ); ...@@ -53,4 +57,8 @@ VLC_EXPORT( void, image_HandlerDelete, ( image_handler_t * ) );
#define image_Write( a, b, c, d ) a->pf_write( a, b, c, d ) #define image_Write( a, b, c, d ) a->pf_write( a, b, c, d )
#define image_WriteUrl( a, b, c, d, e ) a->pf_write_url( a, b, c, d, e ) #define image_WriteUrl( a, b, c, d, e ) a->pf_write_url( a, b, c, d, e )
# ifdef __cplusplus
}
# endif
#endif /* _VLC_IMAGE_H */ #endif /* _VLC_IMAGE_H */
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
#ifndef _VLC_XML_H #ifndef _VLC_XML_H
#define _VLC_XML_H #define _VLC_XML_H
# ifdef __cplusplus
extern "C" {
# endif
struct xml_t struct xml_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
...@@ -72,4 +76,8 @@ struct xml_reader_t ...@@ -72,4 +76,8 @@ struct xml_reader_t
#define XML_READER_ENDELEM 2 #define XML_READER_ENDELEM 2
#define XML_READER_TEXT 3 #define XML_READER_TEXT 3
# ifdef __cplusplus
}
# 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