diff options
Diffstat (limited to 'rsApiAllocation.cpp')
-rw-r--r-- | rsApiAllocation.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rsApiAllocation.cpp b/rsApiAllocation.cpp index 84d56921..90766e1c 100644 --- a/rsApiAllocation.cpp +++ b/rsApiAllocation.cpp @@ -17,8 +17,8 @@ #include "rsContext.h" #include "rsAllocation.h" -using namespace android; -using namespace android::renderscript; +namespace android { +namespace renderscript { extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { Allocation *a = static_cast<Allocation *>(va); @@ -26,3 +26,6 @@ extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { return a->getType(); } + +} // namespace renderscript +} // namespace android |