Next: , Previous: , Up: Expression Evaluator Functions   [Index]


3.21.3.4 x1f4_hack_expression

extern int x1f4_hack_expression
    (void *x1f4_expression, struct x1f4_variable_type *variable,
     void *hack_expression);

The x1f4_hack_expression function replaces the x1f4_expression occurences of the variable indicated by variable with the hack_expression expression.

If the hack_expression does not have the same type as the variable it replaces the x1f4_hack_expression function returns non zero.

The function returns 0 for success, non zero for failure.

If the function fails for whatever reason the expression parsed representation may be no longer valid for any other purposes but destruction.

See x1f4_fini_expression.

If the x1f4_expression expression has been changed the expression evaluation stack memory requirements have also been modified.

See Managing Stacks.