Duplicate the contents of a stack |
Declaration: |
void **ferite_duplicate_stack_contents( FeriteScript *script, FeriteStack *stack, void *(*ddup)( FeriteScript*,void *data,void *data2 ), void *data2 ) |
Parameters: |
Parameter #1: FeriteScript *script - The script |
Parameter #2: FeriteStack *stack - The stack whose contents should be duplicated |
Parameter #3: void *ddup - The function that gets called to copy the data |
Returns: |
An exact copy of the stacks' contents |