Commit c55b214
committed
Refactor usage of
This makes it more obvious from reading the code that no characters
will be removed from the pipe as part of the implementation of
`can_receive`.
This commit includes renaming of local variables to exactly match the
names and types in the API definition, with nullptr used to distinguish
pointers from integers.PeekNamedPipe to get count rather than read1 parent 699494b commit c55b214
1 file changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
| 421 | + | |
426 | 422 | | |
427 | 423 | | |
428 | | - | |
429 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
430 | 437 | | |
431 | 438 | | |
432 | 439 | | |
| |||
0 commit comments