-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
399 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
// Copyright (C) 2023-present Jose Mendoza - All rights reserved. Use of this | ||
// source code is governed by an MIT license that can be found in the LICENSE | ||
// Copyright (C) 2023-present Jose Mendoza - All rights reserved. Use of this | ||
// source code is governed by an MIT license that can be found in the LICENSE | ||
// file. | ||
|
||
#if _LINUX_ | ||
extern (C) { | ||
pub func __errno_location() -> ?&mut int32; | ||
comptime if _LINUX_ { | ||
extern (C) { | ||
pub func __errno_location() -> ?&mut int32; | ||
} | ||
|
||
pub const EDOM := 33; | ||
pub const EILSEQ := 84; | ||
pub const ERANGE := 34; | ||
} | ||
|
||
pub const EDOM := 33; | ||
pub const EILSEQ := 84; | ||
pub const ERANGE := 34; | ||
#endif | ||
comptime if _WINDOWS_ { | ||
extern (C) { | ||
#[dllimport] | ||
pub func _errno() -> &mut int32; | ||
} | ||
|
||
#if _WINDOWS_ | ||
extern (C) { | ||
[dllimport] | ||
pub func _errno() &mut int32; | ||
pub const EDOM := 33; | ||
pub const EILSEQ := 42; | ||
pub const ERANGE := 34; | ||
} | ||
|
||
pub const EDOM := 33; | ||
pub const EILSEQ := 42; | ||
pub const ERANGE := 34; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.