API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IGETLINE_UNGETLINE()

Brew Release
Brew MP 1.0.2
See Also
Description
This function lets go of (ungets) some or all of the last logical line from the data source and replace the line terminators in the stream.
Params
pIGetLine
[]:
Pointer to the IGetLine Interface object.
nLenUnused
[]:
Specifies how much (up to the length of the last line) to let go of (unget). This number must be less than or equal to nLen from the GetLine structure filled by the last call to GetLine(), i.e. it must NOT include the length of line terminator(s).
Interface
  • IGETLINE
Prototype
  •    void IGETLINE_UngetLine(IGetLine * pIGetLine, int32 nLenUnused);
    
Return
  • None
Side Effect
  • None
Comments
IGETLINE_UngetLine() works only once until the next call to IGETLINE_GetLine(), calling IGETLINE_UngetLine() with a number greater than the last line length or calling IGETLINE_UngetLine() twice results in undefined behavior.