aboutsummaryrefslogtreecommitdiff
path: root/haxstring.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* haxstring: Add parenthesis to macro argumentsRunxi Yu2024-07-241-2/+2
| | | | | | | | | | | WRITES(fd, *s) where s is a pointer to a struct string will not compile, as the macro expands to write(fd, *s.data, *s.len), which it expects s to be a struct string and attempts to use s.data and s.len as pointers. This is, of course, erroneous. The correct expansion is write(fd, (*s).data, (*s).len); while write(fd, s->data, s->len) is desirable, it is not achievable with a simple macro expansion. In any case, the parenthesis shall be added.
* PsuedoclientsTest_User2024-06-141-0/+2
|
* In-progress mesh haxserv; still has a lot to write up before it's usableTest_User2024-06-091-0/+43