aboutsummaryrefslogtreecommitdiffhomepage
path: root/ext/ext.go
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ext.go')
-rw-r--r--ext/ext.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/ext.go b/ext/ext.go
index 12fd2550..2667f8e4 100644
--- a/ext/ext.go
+++ b/ext/ext.go
@@ -4,6 +4,7 @@ package ext
import (
"encoding/json"
"iter"
+ "math"
"strconv"
)
@@ -15,6 +16,12 @@ type (
Int = int32
)
+// Integer limit values.
+const (
+ MaxUint = math.MaxUint32
+ MaxInt = math.MaxInt32
+)
+
// SyscallNum represents an architecture-specific, Linux syscall number.
type SyscallNum Int