aboutsummaryrefslogtreecommitdiff
path: root/slang_rs_reflection.cpp
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2015-04-29 17:19:15 -0700
committerYang Ni <yangni@google.com>2015-04-29 17:19:48 -0700
commit2ecb108e2b3d6a3829c9ca2b77458fb7475185b4 (patch)
tree653a18a23516752b81cb888853e796451494b918 /slang_rs_reflection.cpp
parent4bf901b37e2cf79a6fc07cc7f47e700892a053a9 (diff)
downloadslang-2ecb108e2b3d6a3829c9ca2b77458fb7475185b4.tar.gz
Enable getInvokeID in reflected code
Change-Id: Ide905bd4ab904c8c8f1b3bec11c2add88b47c74f
Diffstat (limited to 'slang_rs_reflection.cpp')
-rw-r--r--slang_rs_reflection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slang_rs_reflection.cpp b/slang_rs_reflection.cpp
index f1d9d3d..35a6a29 100644
--- a/slang_rs_reflection.cpp
+++ b/slang_rs_reflection.cpp
@@ -625,7 +625,7 @@ void RSReflectionJava::genExportFunction(const RSExportFunc *EF) {
}
}
- if (mRSContext->getTargetAPI() >= SLANG_DEVELOPMENT_TARGET_API) {
+ if (mRSContext->getTargetAPI() >= SLANG_23_TARGET_API) {
startFunction(AM_Public, false, "Script.InvokeID",
"getInvokeID_" + EF->getName(), 0);