diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-11 15:48:20 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-11 20:59:54 +0200 |
| commit | 12f9b6db63fbbc0fe57ce93145d8c55b8f1f0db8 (patch) | |
| tree | 59143b21569ba52138fabf9ec3d91cdc2b770fba /core/math/big/common.odin | |
| parent | 851780b8f449847953c49e59d7ce401f2d53c779 (diff) | |
big: Add `int_to_bytes_{big, little}` + Python compatible variants.
Diffstat (limited to 'core/math/big/common.odin')
| -rw-r--r-- | core/math/big/common.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/big/common.odin b/core/math/big/common.odin index bc9f189cf..5e2fe4d8c 100644 --- a/core/math/big/common.odin +++ b/core/math/big/common.odin @@ -114,7 +114,7 @@ Flags :: bit_set[Flag; u8]; Error :: enum int { Okay = 0, Out_Of_Memory = 1, - // Invalid_Pointer = 2, + Invalid_Pointer = 2, Invalid_Argument = 3, Assignment_To_Immutable = 4, @@ -130,7 +130,7 @@ Error :: enum int { Error_String :: #partial [Error]string{ .Out_Of_Memory = "Out of memory", - // .Invalid_Pointer = "Invalid pointer", + .Invalid_Pointer = "Invalid pointer", .Invalid_Argument = "Invalid argument", .Assignment_To_Immutable = "Assignment to immutable", |