summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2025-04-16 16:50:37 +0900
committerGitHub <noreply@github.com>2025-04-16 07:50:37 +0000
commit8d21f666b8098545a366c46f1990edf2a9f4ffcb (patch)
treecea6dfae46d94d2dbfbd24cc0a332ed37417ea0f /internal
parentd842554769157087f23459e8f0ef9eec8fd7b7fe (diff)
Introduce `enum rb_io_mode`. (#7894)
Notes
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'internal')
-rw-r--r--internal/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/io.h b/internal/io.h
index b4efa174a1..70efdf0327 100644
--- a/internal/io.h
+++ b/internal/io.h
@@ -31,7 +31,7 @@ struct rb_io {
int fd;
/** mode flags: FMODE_XXXs */
- int mode;
+ enum rb_io_mode mode;
/** child's pid (for pipes) */
rb_pid_t pid;