Le 2012-02-13 à 20:07:00, Jonathan Wilkes a écrit :
Do gpointers only point to scalars? Because if you _could_ get a pointer to an array-- perhaps using my canvas 'get' method patch-- you could just make all arrays canvas local and forget all this $0- business:
AFAIK :
Pointers point either to scalars or to array elements. You can't point to a whole array in a way distinct from pointing to an element of it. Therefore, a pointer to the first element (0) of an array is the best equivalent of what would be a pointer to an array (like it is in C language).
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC