From a423096c0d49e5cfe13a400b4323a76f89c6885c Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Wed, 17 Jul 2013 16:50:10 -0700 Subject: Move C++ API over to function tables rather than linking libRS directly. Change-Id: I7841df768d5bd10fa941b3655673fd73496a8137 --- cpp/ScriptC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/ScriptC.cpp') diff --git a/cpp/ScriptC.cpp b/cpp/ScriptC.cpp index f66e0ec2..30aa3808 100644 --- a/cpp/ScriptC.cpp +++ b/cpp/ScriptC.cpp @@ -27,7 +27,7 @@ ScriptC::ScriptC(sp rs, const char *cachedName, size_t cachedNameLength, const char *cacheDir, size_t cacheDirLength) : Script(NULL, rs) { - mID = rsScriptCCreate(rs->getContext(), cachedName, cachedNameLength, - cacheDir, cacheDirLength, (const char *)codeTxt, codeLength); + mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength, + cacheDir, cacheDirLength, (const char *)codeTxt, codeLength); } -- cgit v1.2.3