Older versions won't recognize _ref_foo, and instead need to have the pointer set using h.setpointer; i.e. replace the for loop in the above with:
Code: Select all
# tell each pp about the pointer
for pp in pps:
h.setpointer(ptr, 'foo', pp)
Code: Select all
# tell each pp about the pointer
for pp in pps:
h.setpointer(ptr, 'foo', pp)