commit | a5eb6e17c08426deeedf989d6be280d89662ee82 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Tue Nov 16 17:37:02 2010 -0800 |
committer | Jason Sams <rjsams@android.com> | Tue Nov 16 17:37:02 2010 -0800 |
tree | b84faf7a46df092850f261aea56834b6c7dc734c | |
parent | 2fad7e47a8177235bb88fe271572bd986a7e4136 [diff] [blame] |
Fix ref counting for globals when set from java code. Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
diff --git a/rsScript.h b/rsScript.h index 9b6d8a9..bad095b 100644 --- a/rsScript.h +++ b/rsScript.h
@@ -61,6 +61,7 @@ void initSlots(); void setSlot(uint32_t slot, Allocation *a); void setVar(uint32_t slot, const void *val, uint32_t len); + void setVarObj(uint32_t slot, ObjectBase *val); virtual void runForEach(Context *rsc, const Allocation * ain,