Commit 0cc42f90 authored by hpi1's avatar hpi1

Added C++ compability to public headers

parent 9ecd18c4
......@@ -21,6 +21,10 @@
#ifndef BD_FILESYSTEM_H_
#define BD_FILESYSTEM_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
/*
......@@ -78,5 +82,8 @@ BD_FILE_OPEN bd_register_file(BD_FILE_OPEN p);
*/
BD_DIR_OPEN bd_register_dir(BD_DIR_OPEN p);
#ifdef __cplusplus
};
#endif
#endif /* BD_FILESYSTEM_H_ */
......@@ -22,6 +22,10 @@
#ifndef BLURAY_H_
#define BLURAY_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @file libbluray/bluray.h
* external API header
......@@ -629,4 +633,8 @@ struct clpi_cl *bd_get_clpi(BLURAY *bd, unsigned clip_ref);
*/
void bd_free_clpi(struct clpi_cl *cl);
#ifdef __cplusplus
};
#endif
#endif /* BLURAY_H_ */
......@@ -21,6 +21,10 @@
#ifndef BD_LOG_CONTROL_H_
#define BD_LOG_CONTROL_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
......@@ -57,5 +61,8 @@ void bd_set_debug_handler(BD_LOG_FUNC);
void bd_set_debug_mask(uint32_t mask);
uint32_t bd_get_debug_mask(void);
#ifdef __cplusplus
};
#endif
#endif /* BD_LOG_CONTROL_H_ */
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