X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=docs%2Freference%2Fdispatch-selectors.sgml;fp=docs%2Freference%2Fdispatch-selectors.sgml;h=64893246a738c19d8083fabe0104871a8c9c1fd2;hb=ee81c9edf038fbd02460c512e64504bdf994d91e;hp=0000000000000000000000000000000000000000;hpb=7637a8d2987f253973b1f1e0eac52e49490254db;p=rodin%2Fchimara.git diff --git a/docs/reference/dispatch-selectors.sgml b/docs/reference/dispatch-selectors.sgml new file mode 100644 index 0000000..6489324 --- /dev/null +++ b/docs/reference/dispatch-selectors.sgml @@ -0,0 +1,34 @@ + + +]> + + +Table of Selectors +3 +CHIMARA Library + + +Table of Selectors +Table of dispatch selectors for Glk functions + + +Description + +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. + +&selectors; + +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 in the dispatch layer. + + +