2021-09-15 11:58:43 +00:00
|
|
|
@@
|
|
|
|
struct ist i;
|
|
|
|
expression p, l;
|
|
|
|
@@
|
|
|
|
|
|
|
|
- i.ptr = p;
|
|
|
|
- i.len = l;
|
|
|
|
+ i = ist2(p, l);
|
|
|
|
|
|
|
|
@@
|
|
|
|
@@
|
|
|
|
|
|
|
|
- ist2(NULL, 0)
|
|
|
|
+ IST_NULL
|
|
|
|
|
|
|
|
@@
|
|
|
|
struct ist i;
|
|
|
|
expression e;
|
|
|
|
@@
|
|
|
|
|
|
|
|
- i.ptr += e;
|
|
|
|
- i.len -= e;
|
|
|
|
+ i = istadv(i, e);
|
|
|
|
|
|
|
|
@@
|
|
|
|
struct ist i;
|
|
|
|
@@
|
|
|
|
|
2021-11-04 21:35:43 +00:00
|
|
|
- i = istadv(i, 1);
|
|
|
|
+ i = istnext(i);
|
|
|
|
|
|
|
|
@@
|
|
|
|
struct ist i;
|
|
|
|
@@
|
|
|
|
|
|
|
|
- i.ptr++;
|
|
|
|
- i.len--;
|
|
|
|
+ i = istnext(i);
|
|
|
|
|
|
|
|
@@
|
|
|
|
struct ist i;
|
|
|
|
@@
|
|
|
|
|
2021-11-06 14:14:43 +00:00
|
|
|
- (\(i.ptr\|istptr(i)\) + \(i.len\|istlen(i)\))
|
|
|
|
+ istend(i)
|
|
|
|
|
|
|
|
@@
|
|
|
|
struct ist i;
|
|
|
|
@@
|
|
|
|
|
2021-09-15 11:58:43 +00:00
|
|
|
- i.ptr != NULL
|
|
|
|
+ isttest(i)
|
|
|
|
|
|
|
|
@@
|
|
|
|
char *s;
|
|
|
|
@@
|
|
|
|
|
|
|
|
(
|
|
|
|
- ist2(s, strlen(s))
|
|
|
|
+ ist(s)
|
|
|
|
|
|
|
|
|
- ist2(strdup(s), strlen(s))
|
|
|
|
+ ist(strdup(s))
|
|
|
|
)
|