racket/collects/scribblings/foreign/winapi.scrbl
Matthew Flatt 59731368fc add ffi/winapi; use it in mzlib/os
Closes PR 12007
2011-07-01 10:42:17 -06:00

19 lines
478 B
Racket

#lang scribble/doc
@(require "utils.rkt" (for-label ffi/winapi))
@title[#:tag "winapi"]{Windows API Helpers}
@defmodule[ffi/winapi]
@defthing[win64? boolean?]{
Indicates whether the current platform is 64-bit Windows: @racket[#t]
if so, @racket[#f] otherwise.}
@defthing[winapi (or/c 'stdcall 'default)]{
Suitable for use as an ABI specification for a Windows API function:
@racket['stdcall] on 32-bit Windows, @racket['default] on 64-bit
Windows or any other platform.}