summaryrefslogtreecommitdiff
path: root/rs_hal.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-09-05 18:05:08 -0700
committerStephen Hines <srhines@google.com>2012-09-06 15:14:59 -0700
commit414a46166126da6864258bd25ff183f9a3c6261d (patch)
tree6c67bb0293e4aa6594a0707533350154ae35d967 /rs_hal.h
parent17de8e2330e7fb3206c43b7cf8de248208c893e6 (diff)
downloadrs-414a46166126da6864258bd25ff183f9a3c6261d.tar.gz
Attempt to create libRSDriver as shared library.
Change-Id: I047b32325efe2fa471b73c48fa7296beecc0c47d
Diffstat (limited to 'rs_hal.h')
-rw-r--r--rs_hal.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/rs_hal.h b/rs_hal.h
index c521ef56..51f63276 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -264,8 +264,15 @@ typedef struct {
}
}
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+bool rsdHalInit(RsContext, uint32_t version_major, uint32_t version_minor);
-bool rsdHalInit(android::renderscript::Context *, uint32_t version_major, uint32_t version_minor);
+#ifdef __cplusplus
+}
+#endif
#endif