Changeset 33045 in project


Ignore:
Timestamp:
01/01/16 09:14:41 (4 years ago)
Author:
John Croisant
Message:

sdl2: Changed "fixnum" to "integer" for clarity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sdl2

    r33044 r33045  
    403403
    404404
    405 <procedure>(color-r color) → fixnum</procedure>
    406 <procedure>(colour-r color) → fixnum</procedure>
     405<procedure>(color-r color) → integer</procedure>
     406<procedure>(colour-r color) → integer</procedure>
    407407<setter>(set! (color-r color) val)</setter>
    408408<setter>(set! (colour-r color) val)</setter>
     
    413413
    414414
    415 <procedure>(color-g color) → fixnum</procedure>
    416 <procedure>(colour-g color) → fixnum</procedure>
     415<procedure>(color-g color) → integer</procedure>
     416<procedure>(colour-g color) → integer</procedure>
    417417<setter>(set! (color-g color) val)</setter>
    418418<setter>(set! (colour-g color) val)</setter>
     
    423423
    424424
    425 <procedure>(color-b color) → fixnum</procedure>
    426 <procedure>(colour-b color) → fixnum</procedure>
     425<procedure>(color-b color) → integer</procedure>
     426<procedure>(colour-b color) → integer</procedure>
    427427<setter>(set! (color-b color) val)</setter>
    428428<setter>(set! (colour-b color) val)</setter>
     
    433433
    434434
    435 <procedure>(color-a color) → fixnum</procedure>
    436 <procedure>(colour-a color) → fixnum</procedure>
     435<procedure>(color-a color) → integer</procedure>
     436<procedure>(colour-a color) → integer</procedure>
    437437<setter>(set! (color-a color) val)</setter>
    438438<setter>(set! (colour-a color) val)</setter>
     
    452452
    453453
    454 <procedure>(color->list color) → list of fixnums</procedure>
    455 <procedure>(colour->list color) → list of fixnums</procedure>
     454<procedure>(color->list color) → list of integers</procedure>
     455<procedure>(colour->list color) → list of integers</procedure>
    456456
    457457Returns a list {{(r g b a)}} containing the value of each field of the sdl2:color.
     
    795795
    796796<procedure>(event-type event) → symbol</procedure>
    797 <procedure>(event-type-raw event) → fixnum</procedure>
     797<procedure>(event-type-raw event) → integer</procedure>
    798798<setter>(set! (event-type event) val)</setter>
    799799<setter>(event-type-set! event val)</setter>
     
    809809
    810810
    811 <procedure>(event-timestamp event) → fixnum</procedure>
     811<procedure>(event-timestamp event) → integer</procedure>
    812812<setter>(set! (event-timestamp event) val)</setter>
    813813<setter>(event-timestamp-set! event val)</setter>
     
    837837
    838838
    839 <procedure>(controller-axis-event-which event) → fixnum</procedure>
     839<procedure>(controller-axis-event-which event) → integer</procedure>
    840840<setter>(set! (controller-axis-event-which event) val)</setter>
    841841<setter>(controller-axis-event-which-set! event val)</setter>
     
    844844
    845845
    846 <procedure>(controller-axis-event-axis event) → fixnum</procedure>
     846<procedure>(controller-axis-event-axis event) → integer</procedure>
    847847<setter>(set! (controller-axis-event-axis event) val)</setter>
    848848<setter>(controller-axis-event-axis-set! event val)</setter>
     
    852852
    853853
    854 <procedure>(controller-axis-event-value event) → fixnum</procedure>
     854<procedure>(controller-axis-event-value event) → integer</procedure>
    855855<setter>(set! (controller-axis-event-value event) val)</setter>
    856856<setter>(controller-axis-event-value-set! event val)</setter>
     
    879879
    880880
    881 <procedure>(controller-button-event-which event) → fixnum</procedure>
     881<procedure>(controller-button-event-which event) → integer</procedure>
    882882<setter>(set! (controller-button-event-which event) val)</setter>
    883883<setter>(controller-button-event-which-set! event val)</setter>
     
    886886
    887887
    888 <procedure>(controller-button-event-button event) → fixnum</procedure>
     888<procedure>(controller-button-event-button event) → integer</procedure>
    889889<setter>(set! (controller-button-event-button event) val)</setter>
    890890<setter>(controller-button-event-button-set! event val)</setter>
     
    923923
    924924
    925 <procedure>(controller-device-event-which event) → fixnum</procedure>
     925<procedure>(controller-device-event-which event) → integer</procedure>
    926926<setter>(set! (controller-device-event-which event) val)</setter>
    927927<setter>(controller-device-event-which-set! event val)</setter>
     
    949949
    950950
    951 <procedure>(dollar-gesture-event-touch-id event) → fixnum</procedure>
     951<procedure>(dollar-gesture-event-touch-id event) → integer</procedure>
    952952<setter>(set! (dollar-gesture-event-touch-id event) val)</setter>
    953953<setter>(dollar-gesture-event-touch-id-set! event val)</setter>
     
    956956
    957957
    958 <procedure>(dollar-gesture-event-gesture-id event) → fixnum</procedure>
     958<procedure>(dollar-gesture-event-gesture-id event) → integer</procedure>
    959959<setter>(set! (dollar-gesture-event-gesture-id event) val)</setter>
    960960<setter>(dollar-gesture-event-gesture-id-set! event val)</setter>
     
    963963
    964964
    965 <procedure>(dollar-gesture-event-num-fingers event) → fixnum</procedure>
     965<procedure>(dollar-gesture-event-num-fingers event) → integer</procedure>
    966966<setter>(set! (dollar-gesture-event-num-fingers event) val)</setter>
    967967<setter>(dollar-gesture-event-num-fingers-set! event val)</setter>
     
    10371037
    10381038
    1039 <procedure>(joy-axis-event-which event) → fixnum</procedure>
     1039<procedure>(joy-axis-event-which event) → integer</procedure>
    10401040<setter>(set! (joy-axis-event-which event) val)</setter>
    10411041<setter>(joy-axis-event-which-set! event val)</setter>
     
    10441044
    10451045
    1046 <procedure>(joy-axis-event-axis event) → fixnum</procedure>
     1046<procedure>(joy-axis-event-axis event) → integer</procedure>
    10471047<setter>(set! (joy-axis-event-axis event) val)</setter>
    10481048<setter>(joy-axis-event-axis-set! event val)</setter>
     
    10521052
    10531053
    1054 <procedure>(joy-axis-event-value event) → fixnum</procedure>
     1054<procedure>(joy-axis-event-value event) → integer</procedure>
    10551055<setter>(set! (joy-axis-event-value event) val)</setter>
    10561056<setter>(joy-axis-event-value-set! event val)</setter>
     
    10791079
    10801080
    1081 <procedure>(joy-ball-event-which event) → fixnum</procedure>
     1081<procedure>(joy-ball-event-which event) → integer</procedure>
    10821082<setter>(set! (joy-ball-event-which event) val)</setter>
    10831083<setter>(joy-ball-event-which-set! event val)</setter>
     
    10861086
    10871087
    1088 <procedure>(joy-ball-event-ball event) → fixnum</procedure>
     1088<procedure>(joy-ball-event-ball event) → integer</procedure>
    10891089<setter>(set! (joy-ball-event-ball event) val)</setter>
    10901090<setter>(joy-ball-event-ball-set! event val)</setter>
     
    10931093
    10941094
    1095 <procedure>(joy-ball-event-xrel event) → fixnum</procedure>
     1095<procedure>(joy-ball-event-xrel event) → integer</procedure>
    10961096<setter>(set! (joy-ball-event-xrel event) val)</setter>
    10971097<setter>(joy-ball-event-xrel-set! event val)</setter>
     
    11001100
    11011101
    1102 <procedure>(joy-ball-event-yrel event) → fixnum</procedure>
     1102<procedure>(joy-ball-event-yrel event) → integer</procedure>
    11031103<setter>(set! (joy-ball-event-yrel event) val)</setter>
    11041104<setter>(joy-ball-event-yrel-set! event val)</setter>
     
    11281128
    11291129
    1130 <procedure>(joy-button-event-which event) → fixnum</procedure>
     1130<procedure>(joy-button-event-which event) → integer</procedure>
    11311131<setter>(set! (joy-button-event-which event) val)</setter>
    11321132<setter>(joy-button-event-which-set! event val)</setter>
     
    11351135
    11361136
    1137 <procedure>(joy-button-event-button event) → fixnum</procedure>
     1137<procedure>(joy-button-event-button event) → integer</procedure>
    11381138<setter>(set! (joy-button-event-button event) val)</setter>
    11391139<setter>(joy-button-event-button-set! event val)</setter>
     
    11721172
    11731173
    1174 <procedure>(joy-device-event-which event) → fixnum</procedure>
     1174<procedure>(joy-device-event-which event) → integer</procedure>
    11751175<setter>(set! (joy-device-event-which event) val)</setter>
    11761176<setter>(joy-device-event-which-set! event val)</setter>
     
    11991199
    12001200
    1201 <procedure>(joy-hat-event-which event) → fixnum</procedure>
     1201<procedure>(joy-hat-event-which event) → integer</procedure>
    12021202<setter>(set! (joy-hat-event-which event) val)</setter>
    12031203<setter>(joy-hat-event-which-set! event val)</setter>
     
    12061206
    12071207
    1208 <procedure>(joy-hat-event-hat event) → fixnum</procedure>
     1208<procedure>(joy-hat-event-hat event) → integer</procedure>
    12091209<setter>(set! (joy-hat-event-hat event) val)</setter>
    12101210<setter>(joy-hat-event-hat-set! event val)</setter>
     
    12151215
    12161216<procedure>(joy-hat-event-value event) → symbol</procedure>
    1217 <procedure>(joy-hat-event-value-raw event) → fixnum</procedure>
     1217<procedure>(joy-hat-event-value-raw event) → integer</procedure>
    12181218<setter>(set! (joy-hat-event-value event) val)</setter>
    12191219<setter>(joy-hat-event-value-set! event val)</setter>
     
    12441244
    12451245
    1246 <procedure>(keyboard-event-window-id event) → fixnum</procedure>
     1246<procedure>(keyboard-event-window-id event) → integer</procedure>
    12471247<setter>(set! (keyboard-event-window-id event) val)</setter>
    12481248<setter>(keyboard-event-window-id-set! event val)</setter>
     
    12591259
    12601260
    1261 <procedure>(keyboard-event-repeat event) → fixnum</procedure>
     1261<procedure>(keyboard-event-repeat event) → integer</procedure>
    12621262<setter>(set! (keyboard-event-repeat event) val)</setter>
    12631263<setter>(keyboard-event-repeat-set! event val)</setter>
     
    12841284
    12851285<procedure>(keyboard-event-scancode event) → symbol</procedure>
    1286 <procedure>(keyboard-event-scancode-raw event) → fixnum</procedure>
     1286<procedure>(keyboard-event-scancode-raw event) → integer</procedure>
    12871287<setter>(set! (keyboard-event-scancode event) val)</setter>
    12881288<setter>(keyboard-event-scancode-set! event val)</setter>
     
    12971297
    12981298<procedure>(keyboard-event-sym event) → symbol</procedure>
    1299 <procedure>(keyboard-event-sym-raw event) → fixnum</procedure>
     1299<procedure>(keyboard-event-sym-raw event) → integer</procedure>
    13001300<setter>(set! (keyboard-event-sym event) val)</setter>
    13011301<setter>(keyboard-event-sym-set! event val)</setter>
     
    13101310
    13111311<procedure>(keyboard-event-mod event) → list of symbols</procedure>
    1312 <procedure>(keyboard-event-mod-raw event) → fixnum</procedure>
     1312<procedure>(keyboard-event-mod-raw event) → integer</procedure>
    13131313<setter>(set! (keyboard-event-mod event) val)</setter>
    13141314<setter>(keyboard-event-mod-set! event val)</setter>
     
    13411341
    13421342
    1343 <procedure>(mouse-button-event-window-id event) → fixnum</procedure>
     1343<procedure>(mouse-button-event-window-id event) → integer</procedure>
    13441344<setter>(set! (mouse-button-event-window-id event) val)</setter>
    13451345<setter>(mouse-button-event-window-id-set! event val)</setter>
     
    13481348
    13491349
    1350 <procedure>(mouse-button-event-which event) → fixnum</procedure>
     1350<procedure>(mouse-button-event-which event) → integer</procedure>
    13511351<setter>(set! (mouse-button-event-which event) val)</setter>
    13521352<setter>(mouse-button-event-which-set! event val)</setter>
     
    13561356
    13571357<procedure>(mouse-button-event-button event) → symbol</procedure>
    1358 <procedure>(mouse-button-event-button-raw event) → fixnum</procedure>
     1358<procedure>(mouse-button-event-button-raw event) → integer</procedure>
    13591359<setter>(set! (mouse-button-event-button event) val)</setter>
    13601360<setter>(mouse-button-event-button-set! event val)</setter>
     
    13801380
    13811381
    1382 <procedure>(mouse-button-event-x event) → fixnum</procedure>
     1382<procedure>(mouse-button-event-x event) → integer</procedure>
    13831383<setter>(set! (mouse-button-event-x event) val)</setter>
    13841384<setter>(mouse-button-event-x-set! event val)</setter>
     
    13871387
    13881388
    1389 <procedure>(mouse-button-event-y event) → fixnum</procedure>
     1389<procedure>(mouse-button-event-y event) → integer</procedure>
    13901390<setter>(set! (mouse-button-event-y event) val)</setter>
    13911391<setter>(mouse-button-event-y-set! event val)</setter>
     
    14121412
    14131413
    1414 <procedure>(mouse-motion-event-window-id event) → fixnum</procedure>
     1414<procedure>(mouse-motion-event-window-id event) → integer</procedure>
    14151415<setter>(set! (mouse-motion-event-window-id event) val)</setter>
    14161416<setter>(mouse-motion-event-window-id-set! event val)</setter>
     
    14191419
    14201420
    1421 <procedure>(mouse-motion-event-which event) → fixnum</procedure>
     1421<procedure>(mouse-motion-event-which event) → integer</procedure>
    14221422<setter>(set! (mouse-motion-event-which event) val)</setter>
    14231423<setter>(mouse-motion-event-which-set! event val)</setter>
     
    14271427
    14281428<procedure>(mouse-motion-event-state event) → list of symbols</procedure>
    1429 <procedure>(mouse-motion-event-state-raw event) → fixnum</procedure>
     1429<procedure>(mouse-motion-event-state-raw event) → integer</procedure>
    14301430<setter>(set! (mouse-motion-event-state event) val)</setter>
    14311431<setter>(mouse-motion-event-state-set! event val)</setter>
     
    14431443
    14441444
    1445 <procedure>(mouse-motion-event-x event) → fixnum</procedure>
     1445<procedure>(mouse-motion-event-x event) → integer</procedure>
    14461446<setter>(set! (mouse-motion-event-x event) val)</setter>
    14471447<setter>(mouse-motion-event-x-set! event val)</setter>
     
    14501450
    14511451
    1452 <procedure>(mouse-motion-event-y event) → fixnum</procedure>
     1452<procedure>(mouse-motion-event-y event) → integer</procedure>
    14531453<setter>(set! (mouse-motion-event-y event) val)</setter>
    14541454<setter>(mouse-motion-event-y-set! event val)</setter>
     
    14571457
    14581458
    1459 <procedure>(mouse-motion-event-xrel event) → fixnum</procedure>
     1459<procedure>(mouse-motion-event-xrel event) → integer</procedure>
    14601460<setter>(set! (mouse-motion-event-xrel event) val)</setter>
    14611461<setter>(mouse-motion-event-xrel-set! event val)</setter>
     
    14641464
    14651465
    1466 <procedure>(mouse-motion-event-yrel event) → fixnum</procedure>
     1466<procedure>(mouse-motion-event-yrel event) → integer</procedure>
    14671467<setter>(set! (mouse-motion-event-yrel event) val)</setter>
    14681468<setter>(mouse-motion-event-yrel-set! event val)</setter>
     
    14891489
    14901490
    1491 <procedure>(mouse-wheel-event-window-id event) → fixnum</procedure>
     1491<procedure>(mouse-wheel-event-window-id event) → integer</procedure>
    14921492<setter>(set! (mouse-wheel-event-window-id event) val)</setter>
    14931493<setter>(mouse-wheel-event-window-id-set! event val)</setter>
     
    14961496
    14971497
    1498 <procedure>(mouse-wheel-event-which event) → fixnum</procedure>
     1498<procedure>(mouse-wheel-event-which event) → integer</procedure>
    14991499<setter>(set! (mouse-wheel-event-which event) val)</setter>
    15001500<setter>(mouse-wheel-event-which-set! event val)</setter>
     
    15031503
    15041504
    1505 <procedure>(mouse-wheel-event-x event) → fixnum</procedure>
     1505<procedure>(mouse-wheel-event-x event) → integer</procedure>
    15061506<setter>(set! (mouse-wheel-event-x event) val)</setter>
    15071507<setter>(mouse-wheel-event-x-set! event val)</setter>
     
    15111511
    15121512
    1513 <procedure>(mouse-wheel-event-y event) → fixnum</procedure>
     1513<procedure>(mouse-wheel-event-y event) → integer</procedure>
    15141514<setter>(set! (mouse-wheel-event-y event) val)</setter>
    15151515<setter>(mouse-wheel-event-y-set! event val)</setter>
     
    15381538
    15391539
    1540 <procedure>(multi-gesture-event-touch-id event) → fixnum</procedure>
     1540<procedure>(multi-gesture-event-touch-id event) → integer</procedure>
    15411541<setter>(set! (multi-gesture-event-touch-id event) val)</setter>
    15421542<setter>(multi-gesture-event-touch-id-set! event val)</setter>
     
    15731573
    15741574
    1575 <procedure>(multi-gesture-event-num-fingers event) → fixnum</procedure>
     1575<procedure>(multi-gesture-event-num-fingers event) → integer</procedure>
    15761576<setter>(set! (multi-gesture-event-num-fingers event) val)</setter>
    15771577<setter>(multi-gesture-event-num-fingers-set! event val)</setter>
     
    16441644
    16451645
    1646 <procedure>(text-editing-event-window-id event) → fixnum</procedure>
     1646<procedure>(text-editing-event-window-id event) → integer</procedure>
    16471647<setter>(set! (text-editing-event-window-id event) val)</setter>
    16481648<setter>(text-editing-event-window-id-set! event val)</setter>
     
    16581658
    16591659
    1660 <procedure>(text-editing-event-start event) → fixnum</procedure>
     1660<procedure>(text-editing-event-start event) → integer</procedure>
    16611661<setter>(set! (text-editing-event-start event) val)</setter>
    16621662<setter>(text-editing-event-start-set! event val)</setter>
     
    16651665
    16661666
    1667 <procedure>(text-editing-event-length event) → fixnum</procedure>
     1667<procedure>(text-editing-event-length event) → integer</procedure>
    16681668<setter>(set! (text-editing-event-length event) val)</setter>
    16691669<setter>(text-editing-event-length-set! event val)</setter>
     
    16911691
    16921692
    1693 <procedure>(text-input-event-window-id event) → fixnum</procedure>
     1693<procedure>(text-input-event-window-id event) → integer</procedure>
    16941694<setter>(set! (text-input-event-window-id event) val)</setter>
    16951695<setter>(text-input-event-window-id-set! event val)</setter>
     
    17281728
    17291729
    1730 <procedure>(touch-finger-event-touch-id event) → fixnum</procedure>
     1730<procedure>(touch-finger-event-touch-id event) → integer</procedure>
    17311731<setter>(set! (touch-finger-event-touch-id event) val)</setter>
    17321732<setter>(touch-finger-event-touch-id-set! event val)</setter>
     
    17351735
    17361736
    1737 <procedure>(touch-finger-event-finger-id event) → fixnum</procedure>
     1737<procedure>(touch-finger-event-finger-id event) → integer</procedure>
    17381738<setter>(set! (touch-finger-event-finger-id event) val)</setter>
    17391739<setter>(touch-finger-event-finger-id-set! event val)</setter>
     
    17971797
    17981798
    1799 <procedure>(user-event-window-id event) → fixnum</procedure>
     1799<procedure>(user-event-window-id event) → integer</procedure>
    18001800<setter>(set! (user-event-window-id event) val)</setter>
    18011801<setter>(user-event-window-id-set! event val)</setter>
     
    18041804
    18051805
    1806 <procedure>(user-event-code event) → fixnum</procedure>
     1806<procedure>(user-event-code event) → integer</procedure>
    18071807<setter>(set! (user-event-code event) val)</setter>
    18081808<setter>(user-event-code-set! event val)</setter>
     
    18571857
    18581858
    1859 <procedure>(window-event-window-id event) → fixnum</procedure>
     1859<procedure>(window-event-window-id event) → integer</procedure>
    18601860<setter>(set! (window-event-window-id event) val)</setter>
    18611861<setter>(window-event-window-id-set! event val)</setter>
     
    18651865
    18661866<procedure>(window-event-event event) → symbol</procedure>
    1867 <procedure>(window-event-event-raw event) → fixnum</procedure>
     1867<procedure>(window-event-event-raw event) → integer</procedure>
    18681868<setter>(set! (window-event-event event) val)</setter>
    18691869<setter>(window-event-event-set! event val)</setter>
     
    18761876
    18771877
    1878 <procedure>(window-event-data1 event) → fixnum</procedure>
     1878<procedure>(window-event-data1 event) → integer</procedure>
    18791879<setter>(set! (window-event-data1 event) val)</setter>
    18801880<setter>(window-event-data1-set! event val)</setter>
     
    18861886
    18871887
    1888 <procedure>(window-event-data2 event) → fixnum</procedure>
     1888<procedure>(window-event-data2 event) → integer</procedure>
    18891889<setter>(set! (window-event-data2 event) val)</setter>
    18901890<setter>(window-event-data2-set! event val)</setter>
     
    19011901==== Joystick Functions
    19021902
    1903 <procedure>(num-joysticks) → fixnum</procedure>
     1903<procedure>(num-joysticks) → integer</procedure>
    19041904
    19051905See [[https://wiki.libsdl.org/SDL_NumJoysticks|SDL_NumJoysticks]].
     
    19641964
    19651965
    1966 <procedure>(joystick-instance-id joystick) → fixnum</procedure>
     1966<procedure>(joystick-instance-id joystick) → integer</procedure>
    19671967
    19681968See [[https://wiki.libsdl.org/SDL_JoystickInstanceID|SDL_JoystickInstanceID]].
     
    19901990
    19911991
    1992 <procedure>(joystick-num-axes joystick) → fixnum</procedure>
     1992<procedure>(joystick-num-axes joystick) → integer</procedure>
    19931993
    19941994See [[https://wiki.libsdl.org/SDL_JoystickNumAxes|SDL_JoystickNumAxes]].
     
    19971997
    19981998
    1999 <procedure>(joystick-num-balls joystick) → fixnum</procedure>
     1999<procedure>(joystick-num-balls joystick) → integer</procedure>
    20002000
    20012001See [[https://wiki.libsdl.org/SDL_JoystickNumBalls|SDL_JoystickNumBalls]].
     
    20042004
    20052005
    2006 <procedure>(joystick-num-buttons joystick) → fixnum</procedure>
     2006<procedure>(joystick-num-buttons joystick) → integer</procedure>
    20072007
    20082008See [[https://wiki.libsdl.org/SDL_JoystickNumButtons|SDL_JoystickNumButtons]].
     
    20112011
    20122012
    2013 <procedure>(joystick-num-hats joystick) → fixnum</procedure>
     2013<procedure>(joystick-num-hats joystick) → integer</procedure>
    20142014
    20152015See [[https://wiki.libsdl.org/SDL_JoystickNumHats|SDL_JoystickNumHats]].
     
    20182018
    20192019
    2020 <procedure>(joystick-get-axis joystick axis-num) → fixnum</procedure>
     2020<procedure>(joystick-get-axis joystick axis-num) → integer</procedure>
    20212021
    20222022See [[https://wiki.libsdl.org/SDL_JoystickGetAxis|SDL_JoystickGetAxis]].
     
    20432043
    20442044<procedure>(joystick-get-hat joystick hat-num) → symbol</procedure>
    2045 <procedure>(joystick-get-hat-raw joystick hat-num) → fixnum</procedure>
     2045<procedure>(joystick-get-hat-raw joystick hat-num) → integer</procedure>
    20462046
    20472047See [[https://wiki.libsdl.org/SDL_JoystickGetHat|SDL_JoystickGetHat]].
     
    20932093
    20942094<procedure>(get-key-from-name name-str) → symbol</procedure>
    2095 <procedure>(get-key-from-name-raw name-str) → fixnum</procedure>
     2095<procedure>(get-key-from-name-raw name-str) → integer</procedure>
    20962096
    20972097See [[https://wiki.libsdl.org/SDL_GetKeyFromName|SDL_GetKeyFromName]].
     
    21022102
    21032103<procedure>(get-key-from-scancode scancode) → symbol</procedure>
    2104 <procedure>(get-key-from-scancode-raw scancode) → fixnum</procedure>
     2104<procedure>(get-key-from-scancode-raw scancode) → integer</procedure>
    21052105
    21062106See [[https://wiki.libsdl.org/SDL_GetKeyFromScancode|SDL_GetKeyFromScancode]].
     
    21202120
    21212121<procedure>(get-scancode-from-name name-str) → symbol</procedure>
    2122 <procedure>(get-scancode-from-name-raw name-str) → fixnum</procedure>
     2122<procedure>(get-scancode-from-name-raw name-str) → integer</procedure>
    21232123
    21242124See [[https://wiki.libsdl.org/SDL_GetScancodeFromName|SDL_GetScancodeFromName]].
     
    21292129
    21302130<procedure>(get-scancode-from-key key) → symbol</procedure>
    2131 <procedure>(get-scancode-from-key-raw key) → fixnum</procedure>
     2131<procedure>(get-scancode-from-key-raw key) → integer</procedure>
    21322132
    21332133See [[https://wiki.libsdl.org/SDL_GetScancodeFromKey|SDL_GetScancodeFromKey]].
     
    21662166
    21672167<procedure>(mod-state) → list of symbols </procedure>
    2168 <procedure>(mod-state-raw) → fixnum</procedure>
     2168<procedure>(mod-state-raw) → integer</procedure>
    21692169<setter>(set! (mod-state) state)</setter>
    21702170<setter>(mod-state-set! state)</setter>
     
    22442244
    22452245<procedure>(keysym-scancode keysym) → symbol</procedure>
    2246 <procedure>(keysym-scancode-raw keysym) → fixnum</procedure>
     2246<procedure>(keysym-scancode-raw keysym) → integer</procedure>
    22472247<setter>(set! (keysym-scancode keysym) val)</setter>
    22482248<setter>(keysym-scancode-set! keysym val)</setter>
     
    22562256
    22572257<procedure>(keysym-sym keysym) → symbol</procedure>
    2258 <procedure>(keysym-sym-raw keysym) → fixnum</procedure>
     2258<procedure>(keysym-sym-raw keysym) → integer</procedure>
    22592259<setter>(set! (keysym-sym keysym) val)</setter>
    22602260<setter>(keysym-sym-set! keysym val)</setter>
     
    22682268
    22692269<procedure>(keysym-mod keysym) → list of symbols</procedure>
    2270 <procedure>(keysym-mod-raw keysym) → fixnum</procedure>
     2270<procedure>(keysym-mod-raw keysym) → integer</procedure>
    22712271<setter>(set! (keysym-mod keysym) val)</setter>
    22722272<setter>(keysym-mod-set! keysym val)</setter>
     
    23622362
    23632363
    2364 <procedure>(gl-swap-interval) → fixnum</procedure>
     2364<procedure>(gl-swap-interval) → integer</procedure>
    23652365<setter>(set! (gl-swap-interval) interval)</setter>
    23662366<setter>(gl-set-swap-interval! interval)</setter>
     
    24322432
    24332433
    2434 <procedure>(palette-ncolors palette) → fixnum</procedure>
    2435 <procedure>(palette-ncolours palette) → fixnum</procedure>
     2434<procedure>(palette-ncolors palette) → integer</procedure>
     2435<procedure>(palette-ncolours palette) → integer</procedure>
    24362436
    24372437Returns the number of colors in the palette.
     
    24812481==== Pixel Format Functions
    24822482
    2483 <procedure>(map-rgb pixel-format r g b) → fixnum</procedure>
    2484 <procedure>(map-rgba pixel-format r g b a) → fixnum</procedure>
     2483<procedure>(map-rgb pixel-format r g b) → integer</procedure>
     2484<procedure>(map-rgba pixel-format r g b a) → integer</procedure>
    24852485
    24862486See [[https://wiki.libsdl.org/SDL_MapRGB|SDL_MapRGB]]
     
    25512551
    25522552<procedure>(pixel-format-format pixel-format) → symbol</procedure>
    2553 <procedure>(pixel-format-format-raw pixel-format) → fixnum</procedure>
     2553<procedure>(pixel-format-format-raw pixel-format) → integer</procedure>
    25542554
    25552555Get the sdl2:pixel-format's "format" field.
     
    25712571
    25722572
    2573 <procedure>(pixel-format-bits-per-pixel pixel-format) → fixnum</procedure>
     2573<procedure>(pixel-format-bits-per-pixel pixel-format) → integer</procedure>
    25742574
    25752575Get the sdl2:pixel-format's "bits-per-pixel" field, as an integer.
     
    25772577
    25782578
    2579 <procedure>(pixel-format-bytes-per-pixel pixel-format) → fixnum</procedure>
     2579<procedure>(pixel-format-bytes-per-pixel pixel-format) → integer</procedure>
    25802580
    25812581Get the sdl2:pixel-format's "bits-per-pixel" field, as an integer.
     
    25832583
    25842584
    2585 <procedure>(pixel-format-rmask pixel-format) → fixnum</procedure>
     2585<procedure>(pixel-format-rmask pixel-format) → integer</procedure>
    25862586
    25872587Get the sdl2:pixel-format's "rmask" (red mask) field, as a nonnegative integer.
    25882588
    25892589
    2590 <procedure>(pixel-format-gmask pixel-format) → fixnum</procedure>
     2590<procedure>(pixel-format-gmask pixel-format) → integer</procedure>
    25912591
    25922592Get the sdl2:pixel-format's "gmask" (green mask) field, as a nonnegative integer.
    25932593
    25942594
    2595 <procedure>(pixel-format-bmask pixel-format) → fixnum</procedure>
     2595<procedure>(pixel-format-bmask pixel-format) → integer</procedure>
    25962596
    25972597Get the sdl2:pixel-format's "bmask" (blue mask) field, as a nonnegative integer.
    25982598
    25992599
    2600 <procedure>(pixel-format-amask pixel-format) → fixnum</procedure>
     2600<procedure>(pixel-format-amask pixel-format) → integer</procedure>
    26012601
    26022602Get the sdl2:pixel-format's "amask" (alpha mask) field, as a nonnegative integer.
     
    27092709
    27102710
    2711 <procedure>(rect-x rect) → fixnum</procedure>
     2711<procedure>(rect-x rect) → integer</procedure>
    27122712<setter>(set! (rect-x rect) val)</setter>
    27132713<setter>(rect-x-set! rect val)</setter>
     
    27162716
    27172717
    2718 <procedure>(rect-y rect) → fixnum</procedure>
     2718<procedure>(rect-y rect) → integer</procedure>
    27192719<setter>(set! (rect-y rect) val)</setter>
    27202720<setter>(rect-y-set! rect val)</setter>
     
    27232723
    27242724
    2725 <procedure>(rect-w rect) → fixnum</procedure>
     2725<procedure>(rect-w rect) → integer</procedure>
    27262726<setter>(set! (rect-w rect) val)</setter>
    27272727<setter>(rect-w-set! rect val)</setter>
     
    27302730
    27312731
    2732 <procedure>(rect-h rect) → fixnum</procedure>
     2732<procedure>(rect-h rect) → integer</procedure>
    27332733<setter>(set! (rect-h rect) val)</setter>
    27342734<setter>(rect-h-set! rect val)</setter>
     
    27452745
    27462746
    2747 <procedure>(rect->list rect) → list of fixnums</procedure>
     2747<procedure>(rect->list rect) → list of integers</procedure>
    27482748
    27492749Returns a list {{(x y w h)}} containing the value of each field of the sdl2:rect.
     
    27982798
    27992799
    2800 <procedure>(point-x point) → fixnum</procedure>
     2800<procedure>(point-x point) → integer</procedure>
    28012801<setter>(set! (point-x point) val)</setter>
    28022802<setter>(point-x-set! point val)</setter>
     
    28052805
    28062806
    2807 <procedure>(point-y point) → fixnum</procedure>
     2807<procedure>(point-y point) → integer</procedure>
    28082808<setter>(set! (point-y point) val)</setter>
    28092809<setter>(point-y-set! point val)</setter>
     
    28202820
    28212821
    2822 <procedure>(point->list point) → list of fixnums</procedure>
     2822<procedure>(point->list point) → list of integers</procedure>
    28232823
    28242824Returns a list {{(x y)}} containing the value of each field of the sdl2:point.
     
    29592959
    29602960<procedure>(rwops-type rwops) → symbol</procedure>
    2961 <procedure>(rwops-type-raw rwops) → fixnum</procedure>
     2961<procedure>(rwops-type-raw rwops) → integer</procedure>
    29622962
    29632963Get the sdl2:rwops' "type" field, indicating the data source type.
     
    30523052
    30533053
    3054 <procedure>(save-bmp! surface filepath) → fixnum</procedure>
     3054<procedure>(save-bmp! surface filepath) → integer</procedure>
    30553055
    30563056See [[https://wiki.libsdl.org/SDL_SaveBMP|SDL_SaveBMP]].
     
    30593059
    30603060
    3061 <procedure>(save-bmp-rw! surface rwops #!optional close?) → fixnum</procedure>
     3061<procedure>(save-bmp-rw! surface rwops #!optional close?) → integer</procedure>
    30623062
    30633063See [[https://wiki.libsdl.org/SDL_SaveBMP_RW|SDL_SaveBMP_RW]].
     
    30703070
    30713071
    3072 <procedure>(lock-surface! surface) → fixnum</procedure>
     3072<procedure>(lock-surface! surface) → integer</procedure>
    30733073<procedure>(unlock-surface! surface)</procedure>
    30743074
     
    31283128
    31293129<procedure>(surface-ref surface x y) → sdl2:color</procedure>
    3130 <procedure>(surface-ref-raw surface x y) → fixnum</procedure>
     3130<procedure>(surface-ref-raw surface x y) → integer</procedure>
    31313131<setter>(set! (surface-ref surface x y) color)</setter>
    31323132<setter>(surface-set! surface x y color)</setter>
     
    32283228
    32293229
    3230 <procedure>(surface-w surface) → fixnum</procedure>
     3230<procedure>(surface-w surface) → integer</procedure>
    32313231
    32323232Get the sdl2:surface's "w" field, as a nonnegative integer indicating the surface's width in pixels.
    32333233
    32343234
    3235 <procedure>(surface-h surface) → fixnum</procedure>
     3235<procedure>(surface-h surface) → integer</procedure>
    32363236
    32373237Get the sdl2:surface's "h" field, as a nonnegative integer indicating the surface's height in pixels.
    32383238
    32393239
    3240 <procedure>(surface-pitch surface) → fixnum</procedure>
     3240<procedure>(surface-pitch surface) → integer</procedure>
    32413241
    32423242Get the sdl2:surface's "pitch" field, as a nonnegative integer indicating how many bytes are used to represent one row of pixel data.
     
    32643264
    32653265
    3266 <procedure>(surface-refcount surface) → fixnum</procedure>
     3266<procedure>(surface-refcount surface) → integer</procedure>
    32673267<setter>(set! (surface-refcount surface) val)</setter>
    32683268<setter>(surface-refcount-set! surface val)</setter>
     
    32873287<procedure>(surface-color-key surface) → sdl2:color or #f</procedure>
    32883288<procedure>(surface-colour-key surface) → sdl2:color or #f</procedure>
    3289 <procedure>(surface-color-key-raw surface) → fixnum or #f</procedure>
    3290 <procedure>(surface-colour-key-raw surface) → fixnum or #f</procedure>
     3289<procedure>(surface-color-key-raw surface) → integer or #f</procedure>
     3290<procedure>(surface-colour-key-raw surface) → integer or #f</procedure>
    32913291<setter>(set! (surface-color-key surface) color)</setter>
    32923292<setter>(set! (surface-colour-key surface) color)</setter>
     
    33063306
    33073307
    3308 <procedure>(surface-alpha-mod surface) → fixnum</procedure>
    3309 <setter>(set! (surface-alpha-mod surface) mod) → fixnum</setter>
    3310 <setter>(surface-alpha-mod-set! surface mod) → fixnum</setter>
     3308<procedure>(surface-alpha-mod surface) → integer</procedure>
     3309<setter>(set! (surface-alpha-mod surface) mod) → integer</setter>
     3310<setter>(surface-alpha-mod-set! surface mod) → integer</setter>
    33113311
    33123312See [[https://wiki.libsdl.org/SDL_GetSurfaceAlphaMod|SDL_GetSurfaceAlphaMod]]
     
    33173317
    33183318<procedure>(surface-blend-mode surface) → symbol</procedure>
    3319 <procedure>(surface-blend-mode-raw surface) → fixnum</procedure>
     3319<procedure>(surface-blend-mode-raw surface) → integer</procedure>
    33203320<setter>(set! (surface-blend-mode surface) mode)</setter>
    33213321<setter>(surface-blend-mode-set! surface mode)</setter>
     
    33873387
    33883388
    3389 <procedure>(get-ticks) → fixnum</procedure>
     3389<procedure>(get-ticks) → integer</procedure>
    33903390
    33913391See [[https://wiki.libsdl.org/SDL_GetTicks|SDL_GetTicks]].
    33923392
    33933393
    3394 <procedure>(get-performance-counter) → fixnum</procedure>
     3394<procedure>(get-performance-counter) → integer</procedure>
    33953395
    33963396See [[https://wiki.libsdl.org/SDL_GetPerformanceCounter|SDL_GetPerformanceCounter]].
    33973397
    33983398
    3399 <procedure>(get-performance-frequency) → fixnum</procedure>
     3399<procedure>(get-performance-frequency) → integer</procedure>
    34003400
    34013401See [[https://wiki.libsdl.org/SDL_GetPerformanceFrequency|SDL_GetPerformanceFrequency]].
     
    34073407==== Touch / Gesture Functions
    34083408
    3409 <procedure>(get-num-touch-devices) → fixnum</procedure>
     3409<procedure>(get-num-touch-devices) → integer</procedure>
    34103410
    34113411See [[https://wiki.libsdl.org/SDL_GetNumTouchDevices|SDL_GetNumTouchDevices]].
    34123412
    34133413
    3414 <procedure>(get-touch-device device-id) → fixnum</procedure>
     3414<procedure>(get-touch-device device-id) → integer</procedure>
    34153415
    34163416See [[https://wiki.libsdl.org/SDL_GetTouchDevice|SDL_GetTouchDevice]].
     
    34193419
    34203420
    3421 <procedure>(get-num-touch-fingers touch-id) → fixnum</procedure>
     3421<procedure>(get-num-touch-fingers touch-id) → integer</procedure>
    34223422
    34233423See [[https://wiki.libsdl.org/SDL_GetNumTouchFingers|SDL_GetNumTouchFingers]].
     
    34423442
    34433443
    3444 <procedure>(finger-id finger) → fixnum</procedure>
     3444<procedure>(finger-id finger) → integer</procedure>
    34453445
    34463446Get the sdl2:finger's "id" field, as an integer.
     
    34753475
    34763476
    3477 <procedure>(compiled-version) → list of fixnums</procedure>
    3478 <procedure>(current-version) → list of fixnums</procedure>
     3477<procedure>(compiled-version) → list of integers</procedure>
     3478<procedure>(current-version) → list of integers</procedure>
    34793479
    34803480Returns a list of three nonnegative integers, indicating a version number of SDL.
     
    36103610
    36113611
    3612 <procedure>(window-display-index window) → fixnum</procedure>
     3612<procedure>(window-display-index window) → integer</procedure>
    36133613
    36143614See [[https://wiki.libsdl.org/SDL_GetWindowDisplayIndex|SDL_GetWindowDisplayIndex]].
     
    36283628
    36293629<procedure>(window-flags window) → list of symbols</procedure>
    3630 <procedure>(window-flags-raw window) → fixnum</procedure>
     3630<procedure>(window-flags-raw window) → integer</procedure>
    36313631
    36323632See [[https://wiki.libsdl.org/SDL_GetWindowFlags|SDL_GetWindowFlags]].
     
    36673667
    36683668
    3669 <procedure>(window-id window) → fixnum</procedure>
     3669<procedure>(window-id window) → integer</procedure>
    36703670
    36713671See [[https://wiki.libsdl.org/SDL_GetWindowID|SDL_GetWindowID]].
     
    36973697
    36983698<procedure>(window-pixel-format window) → symbol</procedure>
    3699 <procedure>(window-pixel-format-raw window) → fixnum</procedure>
     3699<procedure>(window-pixel-format-raw window) → integer</procedure>
    37003700
    37013701Returns a symbol or integer indicating the given window's pixel format.
     
    37803780
    37813781<procedure>(display-mode-format display-mode) → symbol</procedure>
    3782 <procedure>(display-mode-format-raw display-mode) → fixnum</procedure>
     3782<procedure>(display-mode-format-raw display-mode) → integer</procedure>
    37833783<setter>(set! (display-mode-format display-mode) val)</setter>
    37843784<setter>(display-mode-format-set! display-mode val)</setter>
     
    37913791
    37923792
    3793 <procedure>(display-mode-w display-mode) → fixnum</procedure>
     3793<procedure>(display-mode-w display-mode) → integer</procedure>
    37943794<setter>(set! (display-mode-w display-mode) val)</setter>
    37953795<setter>(display-mode-w-set! display-mode val)</setter>
     
    37983798
    37993799
    3800 <procedure>(display-mode-h display-mode) → fixnum</procedure>
     3800<procedure>(display-mode-h display-mode) → integer</procedure>
    38013801<setter>(set! (display-mode-h display-mode) val)</setter>
    38023802<setter>(display-mode-h-set! display-mode val)</setter>
     
    38053805
    38063806
    3807 <procedure>(display-mode-refresh-rate display-mode) → fixnum</procedure>
     3807<procedure>(display-mode-refresh-rate display-mode) → integer</procedure>
    38083808<setter>(set! (display-mode-refresh-rate display-mode) val)</setter>
    38093809<setter>(display-mode-refresh-rate-set! display-mode val)</setter>
Note: See TracChangeset for help on using the changeset viewer.