diff options
author | Yang Ni <yangni@google.com> | 2015-04-29 17:19:15 -0700 |
---|---|---|
committer | Yang Ni <yangni@google.com> | 2015-04-29 17:19:48 -0700 |
commit | 2ecb108e2b3d6a3829c9ca2b77458fb7475185b4 (patch) | |
tree | 653a18a23516752b81cb888853e796451494b918 /slang_rs_reflection.cpp | |
parent | 4bf901b37e2cf79a6fc07cc7f47e700892a053a9 (diff) | |
download | slang-2ecb108e2b3d6a3829c9ca2b77458fb7475185b4.tar.gz |
Enable getInvokeID in reflected code
Change-Id: Ide905bd4ab904c8c8f1b3bec11c2add88b47c74f
Diffstat (limited to 'slang_rs_reflection.cpp')
-rw-r--r-- | slang_rs_reflection.cpp | 2 |
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); |