summaryrefslogtreecommitdiff
path: root/rs_hal.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-08-31 17:41:39 -0700
committerStephen Hines <srhines@google.com>2011-08-31 17:41:39 -0700
commit4ee16ffbd9d1d72e1757c9b26715597fdc044117 (patch)
treecb8b607c455d5661ca2e57c8bd0e823dedcf0705 /rs_hal.h
parentd5dccb8c49d8da069f2630c4ac9c0e2d14958a88 (diff)
downloadrs-4ee16ffbd9d1d72e1757c9b26715597fdc044117.tar.gz
Call .rs.dtor() when tearing down Scripts.
BUG=5186750 This allows us to properly reference count any globals (static or extern) that need to potentially be cleaned up. Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
Diffstat (limited to 'rs_hal.h')
-rw-r--r--rs_hal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rs_hal.h b/rs_hal.h
index 21dff218..b8d73514 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -90,6 +90,7 @@ typedef struct {
uint32_t usrLen,
const RsScriptCall *sc);
void (*invokeInit)(const Context *rsc, Script *s);
+ void (*invokeFreeChildren)(const Context *rsc, Script *s);
void (*setGlobalVar)(const Context *rsc, const Script *s,
uint32_t slot,