diff options
| author | 2009-07-20 14:32:15 -0700 | |
|---|---|---|
| committer | 2009-07-20 14:32:15 -0700 | |
| commit | c7b0dba641d5417286caa3694e70b039012d1e91 (patch) | |
| tree | 813c5549be9466fe2fab61d30321cee6b3807cee /libs/rs/rsScriptC.h | |
| parent | 91aa1ad300b732ef0a16ef213a0038c2e1dd05dd (diff) | |
| parent | c97bb8844f9887d915d3c9e4b3582bd761357f98 (diff) | |
Merge change 7939
* changes:
Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working.
Diffstat (limited to 'libs/rs/rsScriptC.h')
| -rw-r--r-- | libs/rs/rsScriptC.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/rs/rsScriptC.h b/libs/rs/rsScriptC.h index 3a3f2f7ed43f..860b4d19e1ab 100644 --- a/libs/rs/rsScriptC.h +++ b/libs/rs/rsScriptC.h @@ -32,6 +32,7 @@ namespace renderscript { class ScriptC : public Script { public: + typedef int (*RunScript_t)(uint32_t launchIndex); ScriptC(); virtual ~ScriptC(); @@ -44,7 +45,7 @@ public: int mVersionMajor; int mVersionMinor; - rsc_RunScript mScript; + RunScript_t mScript; }; Program_t mProgram; @@ -73,7 +74,8 @@ public: struct SymbolTable_t { const char * mName; void * mPtr; - const char * mDecl; + const char * mRet; + const char * mParam; }; static SymbolTable_t gSyms[]; static const SymbolTable_t * lookupSymbol(const char *); |