Skip to content

Commit

Permalink
Alias SeekMode::Relative to SeekMode::Offset
Browse files Browse the repository at this point in the history
  • Loading branch information
CloakerSmoker committed Jun 3, 2024
1 parent 4e535a8 commit 973c7f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified build/linux_compiler.elf
Binary file not shown.
7 changes: 4 additions & 3 deletions src/lib/POSIX/FileBase.rlx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ i32 SEEK_RELATIVE := 1
i32 SEEK_END := 2

enum SeekMode {
Set,
Offset,
End
Set := 0,
Offset := 1,
Relative := 1,
End := 2
}

define i32 FileSeek(i64 File, i32 Offset, i32 Mode) {
Expand Down

0 comments on commit 973c7f3

Please sign in to comment.