add (system-type 'word)

Returns 32 or 64 to indicate whether Racket is running as a
32-bit program or a 64-bit program.

original commit: 4a57db44489055115ecf1811b116c5b3f2e3b3e5
This commit is contained in:
Matthew Flatt 2012-12-24 06:38:09 -07:00
parent 6991bbaad0
commit 592e802ad0

View File

@ -1146,7 +1146,8 @@
(-> (-val 'gc) (Un (-val 'cgc) (-val '3m)))
(-> (-val 'link) (Un (-val 'static) (-val 'shared) (-val 'dll) (-val 'framework)))
(-> (-val 'so-suffix) -Bytes)
(-> (-val 'machine) -String))]
(-> (-val 'machine) -String)
(-> (-val 'word) -PosInt))]
[system-language+country (-> -String)]
[system-library-subpath (->opt [(Un (-val #f) (-val 'cgc) (-val '3m))] -Path)]