From 414a46166126da6864258bd25ff183f9a3c6261d Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Wed, 5 Sep 2012 18:05:08 -0700 Subject: Attempt to create libRSDriver as shared library. Change-Id: I047b32325efe2fa471b73c48fa7296beecc0c47d --- rs_hal.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'rs_hal.h') 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 -- cgit v1.2.3