curl_ctype: convert to macros-only

This no longer provide functions, only macros. Runs faster and produces
smaller output.

The biggest precaution this change brings:

DO NOT use post/pre-increments when passing arguments to the macros.

Closes #9429
This commit is contained in:
Daniel Stenberg 2022-09-05 12:15:21 +02:00
parent 6f9fb7ec2d
commit f65f750742
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 19 additions and 166 deletions

View file

@ -499,7 +499,7 @@ static int get_param_part(struct OperationConfig *config, char endchar,
sep = *p;
*endpos = '\0';
while(sep == ';') {
while(ISSPACE(*++p))
while(p++ && ISSPACE(*p))
;
if(!endct && checkprefix("type=", p)) {