| 2359 | } |
| 2360 | |
| 2361 | void *cmListFileLexer_yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner) |
| 2362 | { |
| 2363 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 2364 | (void)yyg; |
| 2365 | |
| 2366 | /* The cast to (char *) in the following accommodates both |
| 2367 | * implementations that use char* generic pointers, and those |
| 2368 | * that use void* generic pointers. It works with the latter |
| 2369 | * because both ANSI C and C++ allow castless assignment from |
| 2370 | * any pointer type to void*, and deal with argument conversions |
| 2371 | * as though doing an assignment. |
| 2372 | */ |
| 2373 | return realloc(ptr, size); |
| 2374 | } |
| 2375 | |
| 2376 | void cmListFileLexer_yyfree (void * ptr , yyscan_t yyscanner) |
| 2377 | { |
no outgoing calls
no test coverage detected