summaryrefslogtreecommitdiff
path: root/rsType.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-07-17 18:38:53 -0700
committerTim Murray <timmurray@google.com>2013-07-22 10:57:51 -0700
commitc2ce707a3d1a8eae79bcf1c749afc6d6e7969ad9 (patch)
treea54d4f57c25a75dba7bfeb20c6ed000e944d13d5 /rsType.cpp
parent8c1da3f9c29ae2004521c7aaf9be556d88331c3f (diff)
downloadrs-c2ce707a3d1a8eae79bcf1c749afc6d6e7969ad9.tar.gz
Move rs.h functions over to extern "C".
Change-Id: I0503a64d93dda558455dfebca90a0c820c80d7b1
Diffstat (limited to 'rsType.cpp')
-rw-r--r--rsType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsType.cpp b/rsType.cpp
index 9719a04e..da55ad11 100644
--- a/rsType.cpp
+++ b/rsType.cpp
@@ -346,7 +346,7 @@ RsType rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX,
}
}
-void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t typeDataSize) {
+extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t typeDataSize) {
rsAssert(typeDataSize == 6);
// Pack the data in the follofing way mHal.state.dimX; mHal.state.dimY; mHal.state.dimZ;
// mHal.state.lodCount; mHal.state.faces; mElement; into typeData