summaryrefslogtreecommitdiff
path: root/lib/std/systypes.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/systypes.myr')
-rw-r--r--lib/std/systypes.myr7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/std/systypes.myr b/lib/std/systypes.myr
new file mode 100644
index 0000000..e39f279
--- /dev/null
+++ b/lib/std/systypes.myr
@@ -0,0 +1,7 @@
+pkg sys =
+ type size = int64 /* spans entire address space */
+ type usize = int64 /* signed size */
+ type off = int64 /* file offsets */
+ type intptr = uint64/* can hold any pointer losslessly */
+ type time = int64 /* milliseconds since epoch */
+;;