Skip to content

streams: various small refactoring for stream error API#22847

Draft
Girgias wants to merge 2 commits into
php:masterfrom
Girgias:2026-07-stream-errors-nits
Draft

streams: various small refactoring for stream error API#22847
Girgias wants to merge 2 commits into
php:masterfrom
Girgias:2026-07-stream-errors-nits

Conversation

@Girgias

@Girgias Girgias commented Jul 21, 2026

Copy link
Copy Markdown
Member
  • Use C enums instead of defines
  • Use const when possible
  • Use the correct pritnf specifier
  • Use bool or size_t type rather than int type
  • Mark private function static

- Use C enums instead of defines
- Use const when possible
- Use the correct pritnf specifier
- Use bool or size_t type rather than int type
- Mark private function static
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant