MCPcopy Create free account
hub / github.com/apache/httpd / ap_expr_yyrealloc

Function ap_expr_yyrealloc

server/util_expr_scan.c:2645–2655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2643}
2644
2645void *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
2657void ap_expr_yyfree (void * ptr , yyscan_t yyscanner)
2658{

Callers 3

yy_get_next_bufferFunction · 0.85
yy_push_stateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected