diff options
author | Tim Murray <timmurray@google.com> | 2013-07-17 18:38:53 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2013-07-22 10:57:51 -0700 |
commit | c2ce707a3d1a8eae79bcf1c749afc6d6e7969ad9 (patch) | |
tree | a54d4f57c25a75dba7bfeb20c6ed000e944d13d5 /rsType.cpp | |
parent | 8c1da3f9c29ae2004521c7aaf9be556d88331c3f (diff) | |
download | rs-c2ce707a3d1a8eae79bcf1c749afc6d6e7969ad9.tar.gz |
Move rs.h functions over to extern "C".
Change-Id: I0503a64d93dda558455dfebca90a0c820c80d7b1
Diffstat (limited to 'rsType.cpp')
-rw-r--r-- | rsType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |