Jeff Teunissen
22dd7cd20d
Avoid wasting a local and giving the compiler a minor aneurysm
...
qfcc doesn't yet like foo[bar++] = baz; let's be nice and not give it
indigestion.
2010-12-12 00:16:33 -05:00
Jeff Teunissen
505076a98d
rewrite Array, AutoreleasePool
...
This version is a bit more useful, and we should be able to get rid of the
Stack class. Also, the Ruamoko parts of the autorelease system should be
almost ready now.
2010-12-11 20:32:19 -05:00
Bill Currie
7acf8c0570
Must retain before release.
2010-11-24 17:01:18 +09:00
Bill Currie
de5bf80eb8
release the item after removing it from the array, rather than before
2006-12-20 11:33:40 +00:00
Bill Currie
68e7b3199d
add finding elements
2006-12-16 13:59:29 +00:00
Brian Koropoff
5378a850b4
Bug fixes: initializes properly, releases overwritten elements, doesn't
...
try to free null pointers
2005-05-06 23:06:50 +00:00
Brian Koropoff
5130545c72
Array now properly retains/releases objects it stores.
2005-05-02 02:32:03 +00:00
Bill Currie
73e45cc8ee
working on scripted menus; video works
...
dealloc -> release
This is an imperfect revision of history.
2004-11-18 05:08:00 +00:00
Bill Currie
fb9c3e6125
Object error doesn't return anything...
2004-02-04 00:56:33 +00:00
Bill Currie
da86367824
update for recent changes to Object
2003-07-29 19:55:41 +00:00
Bill Currie
673f6ba643
add itterators and make -free actually free the Array object
2003-07-24 20:50:40 +00:00
Brian Koropoff
c5be2fb501
OK, I think I need caffeine. This time, the Array class is really switched
...
over to using ids.
2003-05-23 04:38:08 +00:00
Brian Koropoff
f9ff908157
Changed the Array class to use object ids instead of null pointers for easy
...
and safe freeing of elements when an Array is disposed.
2003-05-23 04:27:30 +00:00
Brian Koropoff
cc3f98e99c
Added a removeItem method to the Array Ruamoko class.
2003-05-14 21:11:23 +00:00
Bill Currie
13fd0b8533
nuke the string hash api as it's been obsoleted
2003-04-07 22:34:39 +00:00
Bill Currie
a6a171a5e1
python before ruamoko does interesting things to the mind
2002-11-01 22:53:02 +00:00
Bill Currie
9dc9ee537d
implement a dynamic array class
2002-10-31 23:00:40 +00:00