|
| | | | T X T _ S C C _ F O R M
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct txt_scc_form
{
UBYTE *sf_ptr;
UBYTE *sf_start;
UBYTE *sf_end;
LONG sf_quot;
LONG sf_count;
LONG sf_comm;
};
sf_ptr - Explicit function output. This member receives current address
when used through QDEV_TXT_SKIPCCITER() macro. It can safely be
read on byte by byte basis until NULL.
sf_start - After each pass this will point at byte that should be NULLed
so that comment block is separated from perciding text. Its a
start of comment block in other words.
sf_end - End of this very comment and start of new text area at the same
time. This member is circular!
sf_quot - Quotation character within which comments should be kept. If
you need to provide your own char then pass it in 0xbb0000ch
form, where bb is boolean(must be set to 1) and ch is char.
This var. must be set to 0x01000000 for total comment removal.
sf_count - Number of comments encountered so far in this stream or block.
sf_comm - This member acts as an unmatched comment counter. It may return
1 in the worst case and the parsing will be complete when block
of text starts with closing comment!
| |
| | | | |
|