Extern C
This commit is contained in:
parent
3e26f5e74c
commit
2632fb3234
|
@ -1,6 +1,10 @@
|
||||||
#ifndef LIBCAESIUM_CAESIUM_H
|
#ifndef LIBCAESIUM_CAESIUM_H
|
||||||
#define LIBCAESIUM_CAESIUM_H
|
#define LIBCAESIUM_CAESIUM_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
typedef struct cs_jpeg_pars
|
typedef struct cs_jpeg_pars
|
||||||
|
@ -49,4 +53,8 @@ typedef enum error_level
|
||||||
|
|
||||||
bool cs_compress(const char *input_path, const char *output_path, cs_image_pars *options);
|
bool cs_compress(const char *input_path, const char *output_path, cs_image_pars *options);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Reference in New Issue