mirror of
https://github.com/janet-lang/janet
synced 2025-10-31 23:53:02 +00:00
Correct pointer arith type checking.
This commit is contained in:
@@ -72,7 +72,8 @@
|
||||
(add-prim-type 's16 's16)
|
||||
(add-prim-type 'u16 'u16)
|
||||
(add-prim-type 'byte 'u8)
|
||||
(array/push into ~(type-pointer pointer uint))
|
||||
(add-prim-type 'void 'void)
|
||||
(array/push into ~(type-pointer pointer void))
|
||||
(make-type 'pointer)
|
||||
(sysir/asm ctx into)
|
||||
ctx)
|
||||
|
||||
Reference in New Issue
Block a user