]> git.sesse.net Git - vlc/commitdiff
* include/vlc_image.h,vlc_xml.h: make these c++ happy.
authorGildas Bazin <gbazin@videolan.org>
Mon, 20 Dec 2004 11:18:53 +0000 (11:18 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 20 Dec 2004 11:18:53 +0000 (11:18 +0000)
include/vlc_image.h
include/vlc_xml.h

index 0422dcbd59f37170a2040f20c663767c802ade1c..918078159642cfdbc7230a8c4dd36c0ab764e901 100644 (file)
 
 #include "vlc_video.h"
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 struct image_handler_t
 {
     picture_t * (*pf_read) ( image_handler_t *, block_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_WriteUrl( a, b, c, d, e ) a->pf_write_url( a, b, c, d, e )
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif /* _VLC_IMAGE_H */
index 0788f33f470d6b482ec90d3a0fac9c81cdc7c8c8..daa770e7101c7a74b8cd259eee315c6c13562e5a 100644 (file)
 #ifndef _VLC_XML_H
 #define _VLC_XML_H
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 struct xml_t
 {
     VLC_COMMON_MEMBERS
@@ -72,4 +76,8 @@ struct xml_reader_t
 #define XML_READER_ENDELEM 2
 #define XML_READER_TEXT 3
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif