summaryrefslogtreecommitdiff
path: root/src/range_fwd.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-27 06:40:36 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:42 +0200
commit98dea0131750e12a545b3d4efbf6bf945f2f8f6f (patch)
tree2e099197bb6926e0ea551f3bba6222f98edfa95b /src/range_fwd.h
parentdc34bf59b8be15e654a902f54387805be69f6fda (diff)
Add __cplusplus conditionals
Diffstat (limited to 'src/range_fwd.h')
-rw-r--r--src/range_fwd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/range_fwd.h b/src/range_fwd.h
index b5eef3fa..1e76e354 100644
--- a/src/range_fwd.h
+++ b/src/range_fwd.h
@@ -1,4 +1,12 @@
#pragma once
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct range_type range_type;
struct range_type;
+
+#ifdef __cplusplus
+} // extern "C"
+#endif