summaryrefslogtreecommitdiff
path: root/vp8/decoder/treereader.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-01-18 12:16:11 -0800
committerJames Zern <jzern@google.com>2014-01-23 16:21:24 -0800
commit14ae5fd8f3d97fafb25a8d4888374d6cbf981b6a (patch)
tree50691321591145a2d9a7e30db162a89de53f0cf6 /vp8/decoder/treereader.h
parentaceba82c413d81f87b9d0d2f24faeca359523de4 (diff)
downloadlibvpx-14ae5fd8f3d97fafb25a8d4888374d6cbf981b6a.tar.gz
vp8/decoder: add extern "C" to headers
Change-Id: I7865db2d15ffa8cfa4de88714e48734c5ff9bb86
Diffstat (limited to 'vp8/decoder/treereader.h')
-rw-r--r--vp8/decoder/treereader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/decoder/treereader.h b/vp8/decoder/treereader.h
index 1d3f67207..35ee69600 100644
--- a/vp8/decoder/treereader.h
+++ b/vp8/decoder/treereader.h
@@ -15,6 +15,10 @@
#include "vp8/common/treecoder.h"
#include "dboolhuff.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef BOOL_DECODER vp8_reader;
#define vp8_read vp8dx_decode_bool
@@ -37,4 +41,8 @@ static int vp8_treed_read(
return -i;
}
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP8_DECODER_TREEREADER_H_