Table of SelectorsTable of Selectors — Table of dispatch selectors for Glk functions |
These values, and the values used for future Glk calls, are integers in the range 0x0001
to 0xFFFF
(1 to 65535). The values are not sequential; they are divided into groups, roughly by category. Zero is not the selector of any
Glk call, so it may be used for a null value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note that glk_main()
does not have a selector, because it's provided by your program, not the library.
There is no way to use these selectors directly in the Glk API.
An earlier version of Glk had gestalt selectors gestalt_FunctionNameToID
and gestalt_FunctionIDToName
, but these have been withdrawn.
They are defined and used only by the dispatch layer.
Call selectors 0x1200 to 0x12FF are reserved for extension projects by Carlos Sanchez. The same is true of gestalt selector 0x1200. These are not documented here.