aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--icd/common/icd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/icd/common/icd.h b/icd/common/icd.h
index badef5f3..3afe9a10 100644
--- a/icd/common/icd.h
+++ b/icd/common/icd.h
@@ -70,9 +70,17 @@ void icd_clear_msg_callbacks(void);
XGL_RESULT icd_set_allocator(const XGL_ALLOC_CALLBACKS *alloc_cb);
int icd_get_allocator_id(void);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void *icd_alloc(XGL_SIZE size, XGL_SIZE alignment,
XGL_SYSTEM_ALLOC_TYPE type);
void icd_free(void *mem);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ICD_H */