diff options
Diffstat (limited to 'codec/index.h')
| -rw-r--r-- | codec/index.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/codec/index.h b/codec/index.h index aed61e62..29f673a1 100644 --- a/codec/index.h +++ b/codec/index.h @@ -29,6 +29,10 @@ #ifndef __J2K_INDEX_H
#define __J2K_INDEX_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
Write a structured index to a file
@param cstr_info Codestream information
@@ -37,5 +41,9 @@ Write a structured index to a file */
int write_index_file(opj_codestream_info_t *cstr_info, char *index);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __J2K_INDEX_H */
|
