MCPcopy Create free account
hub / github.com/Entware/Entware / yyrealloc

Function yyrealloc

scripts/config/lexer.lex.c:3925–3936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3923}
3924
3925void *yyrealloc (void * ptr, yy_size_t size )
3926{
3927
3928 /* The cast to (char *) in the following accommodates both
3929 * implementations that use char* generic pointers, and those
3930 * that use void* generic pointers. It works with the latter
3931 * because both ANSI C and C++ allow castless assignment from
3932 * any pointer type to void*, and deal with argument conversions
3933 * as though doing an assignment.
3934 */
3935 return realloc(ptr, size);
3936}
3937
3938void yyfree (void * ptr )
3939{

Callers 2

yy_get_next_bufferFunction · 0.85
yyensure_buffer_stackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected