changed pointer cache to use array addresses instead of pointer ids

develop
doomchild 2011-03-11 14:11:36 -06:00
parent b9e8aa8952
commit 5b29bf5280
1 changed files with 1 additions and 1 deletions

@ -21,7 +21,7 @@ def _allocate_array(ptr, t_type, count):
ptr[0] = p
pointer_dict[id(ptr[0])] = (ptr, arr, p)
pointer_dict[addressof(arr)] = (ptr, arr, p)
return 1