/* initVar - handle variable initialization from tuples */ void _pf_suckItemOffStack(_pf_Stack **pStack, char **pEncoding, struct _pf_type *fieldType, void *output); /* Suck data off of stack and puts it in output. * Parameters: * pStack - Pointer to stack. Updated to point to next item to * consume. * pEncoding - points to something that looks like ((xx)x(xxx)x) * where the x's indicate that a single data item is to be * read, and the parens indicate that an array or object * containing that many fields is to be read. This is * updated by call to point to info on next item. * fieldType - Describes type of this field. * output - Where to put result. */ _pf_Object _pf_tuple_to_class(_pf_Stack *stack, int typeId, char *encoding); /* Convert tuple on stack to class. */ _pf_Array _pf_tuple_to_array(_pf_Stack *stack, int typeId, char *encoding); /* Convert tuple on stack to array. */ _pf_Dir _pf_tuple_to_dir(_pf_Stack *stack, int typeId, char *encoding); /* Convert tuple on stack to array. */ void _pf_class_cleanup(struct _pf_object *obj, int typeId); /* Clean up all class fields, and then class itself. */ _pf_List _pf_bit_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_byte_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_short_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_int_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_long_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_float_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_double_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_string_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_List _pf_class_list_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_bit_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_byte_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_short_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_int_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_long_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_float_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_double_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_string_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Tree _pf_class_tree_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_bit_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_byte_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_short_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_int_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_long_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_float_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_double_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); _pf_Dir _pf_string_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); #define _pf_dyString_dir_from_tuple _pf_string_dir_from_tuple _pf_Dir _pf_class_dir_from_tuple(_pf_Stack *stack, int count, int typeId, int elTypeId); int _pf_countOurLevel(char *encoding); /* Count up items in our level of encoding. For * (x(xxx)) for instance would count two items: x and (xxx) */