Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working.
diff --git a/libs/rs/rsScriptC.h b/libs/rs/rsScriptC.h
index 3a3f2f7..860b4d1 100644
--- a/libs/rs/rsScriptC.h
+++ b/libs/rs/rsScriptC.h
@@ -32,6 +32,7 @@
class ScriptC : public Script
{
public:
+ typedef int (*RunScript_t)(uint32_t launchIndex);
ScriptC();
virtual ~ScriptC();
@@ -44,7 +45,7 @@
int mVersionMajor;
int mVersionMinor;
- rsc_RunScript mScript;
+ RunScript_t mScript;
};
Program_t mProgram;
@@ -73,7 +74,8 @@
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 *);