| 2643 | } |
| 2644 | |
| 2645 | void *ap_expr_yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner) |
| 2646 | { |
| 2647 | /* The cast to (char *) in the following accommodates both |
| 2648 | * implementations that use char* generic pointers, and those |
| 2649 | * that use void* generic pointers. It works with the latter |
| 2650 | * because both ANSI C and C++ allow castless assignment from |
| 2651 | * any pointer type to void*, and deal with argument conversions |
| 2652 | * as though doing an assignment. |
| 2653 | */ |
| 2654 | return (void *) realloc( (char *) ptr, size ); |
| 2655 | } |
| 2656 | |
| 2657 | void ap_expr_yyfree (void * ptr , yyscan_t yyscanner) |
| 2658 | { |
no outgoing calls
no test coverage detected