aboutsummaryrefslogtreecommitdiff
path: root/kernel/prelude
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/prelude')
-rw-r--r--kernel/prelude/SATS/safe_casts.sats5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/prelude/SATS/safe_casts.sats b/kernel/prelude/SATS/safe_casts.sats
index 50a68a8..f8e34db 100644
--- a/kernel/prelude/SATS/safe_casts.sats
+++ b/kernel/prelude/SATS/safe_casts.sats
@@ -1 +1,4 @@
-castfn u2uint64{v : nat | v <= 0xFFFFFFFFFFFFFFFF}(v : uint v) : uint64 v
+castfn u2u64{v : nat | v <= 0xFFFFFFFFFFFFFFFF}(v : uint v) :<> uint64 v
+castfn u64_to_Ptr0(v : uint64):<> Ptr0
+castfn Ptr0_to_u64(v : Ptr0):<> uint64
+castfn sz_to_Ptr0(v : size_t):<> Ptr0