MCPcopy Index your code
hub / github.com/MapServer/MapServer / msyyrealloc

Function msyyrealloc

maplexer.c:5187–5197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5185}
5186
5187void *msyyrealloc (void * ptr, yy_size_t size )
5188{
5189 /* The cast to (char *) in the following accommodates both
5190 * implementations that use char* generic pointers, and those
5191 * that use void* generic pointers. It works with the latter
5192 * because both ANSI C and C++ allow castless assignment from
5193 * any pointer type to void*, and deal with argument conversions
5194 * as though doing an assignment.
5195 */
5196 return (void *) realloc( (char *) ptr, size );
5197}
5198
5199void msyyfree (void * ptr )
5200{

Callers 2

yy_get_next_bufferFunction · 0.85
msyyensure_buffer_stackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected