MCPcopy Create free account
hub / github.com/activeloopai/deeplake / yyrealloc

Function yyrealloc

cpp/3rd_party/sql-parser/src/parser/flex_lexer.cpp:5124–5137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5122}
5123
5124void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
5125{
5126 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
5127 (void)yyg;
5128
5129 /* The cast to (char *) in the following accommodates both
5130 * implementations that use char* generic pointers, and those
5131 * that use void* generic pointers. It works with the latter
5132 * because both ANSI C and C++ allow castless assignment from
5133 * any pointer type to void*, and deal with argument conversions
5134 * as though doing an assignment.
5135 */
5136 return realloc(ptr, size);
5137}
5138
5139void yyfree (void * ptr , yyscan_t yyscanner)
5140{

Callers 2

yy_get_next_bufferFunction · 0.85
yyensure_buffer_stackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected