MCPcopy Create free account
hub / github.com/Gecode/gecode / yy_input_proc

Function yy_input_proc

gecode/flatzinc/lexer.yy.cpp:2519–2525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2517#line 163 "./gecode/flatzinc/lexer.lxx"
2518
2519int yy_input_proc(char* buf, int size, yyscan_t yyscanner) {
2520 Gecode::FlatZinc::ParserState* parm =
2521 static_cast<Gecode::FlatZinc::ParserState*>(yyget_extra(yyscanner));
2522 return parm->fillBuffer(buf, size);
2523 // work around warning that yyunput is unused
2524 yyunput (0,buf,yyscanner);
2525}
2526

Callers

nothing calls this directly

Calls 2

yyunputFunction · 0.85
fillBufferMethod · 0.80

Tested by

no test coverage detected