summaryrefslogtreecommitdiff
path: root/codec/index.h
diff options
context:
space:
mode:
authorGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2007-11-29 14:38:26 +0000
committerGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2007-11-29 14:38:26 +0000
commite06bcd027f860f2d62c5419dab14a975eecae7c9 (patch)
tree43c511e05e90780b5662585ac0913425a84e239f /codec/index.h
parent9e5d165e79499cffe11a85ebc1b1ff320d52953b (diff)
Added index.h and index.c in VC6 projects; wrapped index.h in the C++ preprocessor; modified OPJViewer project and some files.
Diffstat (limited to 'codec/index.h')
-rw-r--r--codec/index.h8
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 */