#include "common.h" #include "../compiler/pfPreamble.h" #include "paraRun.h" struct _pf_activation *_pf_activation_stack; struct myLocal { int x,y,z; char *name; }; void process(_pf_Stack *stack, char *key, void *item, void *localVars) { struct _pf_string **pString = item; struct _pf_string *string = *pString; struct myLocal *local = localVars; printf(">>processing<< %p@%s, %d,%d,%d,%s\n", key,string->s, local->x,local->y,local->z,local->name); } struct _pf_array *fakeStringArray(int size) { struct _pf_array *array; struct _pf_string *string, **strings; char buf[256]; int i; AllocVar(array); array->elSize = sizeof(struct _pf_string*); array->size = array->allocated = size; array->elements = needMem(size*array->elSize); strings = (struct _pf_string **)(array->elements); for (i=0; i