]> git.sesse.net Git - vlc/blobdiff - include/vlc_image.h
* include/vlc_image.h,vlc_xml.h: make these c++ happy.
[vlc] / include / vlc_image.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 */