#include <strscan.h>
|
|
strref | s |
| | String being scanned (borrowed)
|
| |
|
int32 | pos |
| | Current byte offset.
|
| |
|
int32 | errpos |
| | Offset where the scan first failed, or -1.
|
| |
|
bool | ok |
| | False once anything has failed; every later call is a no-op.
|
| |
|
flags_t | flags |
| | STRSC_FLAGS the scanner was created with.
|
| |
String scanner state
Read pos, errpos, ok and s freely; change the position with strscSeek() or strscRewind() rather than by assignment.
Definition at line 72 of file strscan.h.
The documentation for this struct was generated from the following file: