]> gitweb.factorcode.org Git - factor.git/commitdiff
factor: remove extra whitespace refactor-sequences 2669/head
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 26 Feb 2023 22:24:27 +0000 (16:24 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 26 Feb 2023 23:11:05 +0000 (17:11 -0600)
42 files changed:
basis/compiler/tests/redefine24.factor
basis/compression/gzip/gzip.factor
basis/compression/huffman/huffman.factor
basis/compression/inflate/inflate.factor
basis/cpu/arm/assembler/opcodes/opcodes.factor
basis/gobject-introspection/ffi/ffi.factor
basis/io/files/info/unix/unix.factor
basis/json/json.factor
basis/lists/lists.factor
basis/math/statistics/statistics.factor
basis/opengl/gl/gl.factor
basis/openssl/libcrypto/libcrypto.factor
basis/openssl/libssl/libssl.factor
basis/tools/test/test.factor
basis/ui/gadgets/menus/menus.factor
basis/unix/linux/inotify/inotify.factor
basis/windows/directx/d3d9/d3d9.factor
basis/windows/directx/d3dx10mesh/d3dx10mesh.factor
basis/windows/directx/d3dx9math/d3dx9math.factor
basis/windows/directx/xact3/xact3.factor
basis/windows/directx/xaudio2/xaudio2.factor
basis/windows/processes/processes.factor
extra/coroutines/coroutines.factor
extra/gamelib/board/board.factor
extra/glfw/ffi/ffi.factor
extra/io/files/acls/macosx/ffi/ffi.factor
extra/ldcache/ldcache.factor
extra/modern/html/html.factor
extra/mongodb/connection/connection.factor
extra/nehe/2/2.factor
extra/nehe/3/3.factor
extra/nehe/4/4.factor
extra/nehe/5/5.factor
extra/odbc/odbc.factor
extra/openal/openal.factor
extra/opencl/ffi/ffi.factor
extra/python/ffi/ffi.factor
extra/raylib/raylib.factor
extra/redis/command-writer/command-writer.factor
extra/redis/redis.factor
extra/roms/space-invaders/space-invaders.factor
extra/sequences/extras/extras.factor

index 0ac728815bc9504e87a7bc527efc13664a92c621..feff3d4ea7c60bdf8824a5e9f8dd5dfb39afef2d 100644 (file)
@@ -11,7 +11,7 @@ TYPEDEF: alien.c-types:int type-3
 
 TYPEDEF: alien.c-types:float type-2
 
-: indirect ( x y ptr -- z  )
+: indirect ( x y ptr -- z )
     type-3 { type-2 type-2 } cdecl alien-indirect ;
 
 { } [
index b9c32998b474b7588766c4effe93901d0e311f6b..2a432b64a6672ee85687c3a735d4d063b244b072 100644 (file)
@@ -8,7 +8,7 @@ IN: compression.gzip
 <PRIVATE
 
 SYMBOL: lit-dict
-SYMBOL: dist-dict 
+SYMBOL: dist-dict
 SYMBOL: lit-vec
 
 ! LZ77 compression
@@ -22,13 +22,13 @@ SYMBOL: lit-vec
 :: create-pair ( ind seq -- array )
     ind seq longest-prefix :> ( start end )
     end ind - :> n
-    n 3 < 
+    n 3 <
     [ ind seq nth ]
     [ n ind start - 2array ]
     if ;
 
 : sum-vec ( vec -- n )
-    [ dup array?  [ first  ] [ drop 1 ] if ] map-sum ;
+    [ dup array? [ first ] [ drop 1 ] if ] map-sum ;
 
 :: compress-lz77 ( seq -- vec )
     0 seq create-pair seq length <vector> ?push [ dup sum-vec seq length < ] [ dup sum-vec seq create-pair swap ?push ] while ;
@@ -66,20 +66,20 @@ SYMBOL: lit-vec
     { [ dup 4097 < ] [ [ 2049 - 1024 /i 22 + ] [ 2049 - 1024 mod  10 <bits> >bit-array  ] bi 2array ] }
     { [ dup 8193 < ] [ [ 4097 - 2048 /i 24 + ] [ 4097 - 2048 mod 11 <bits> >bit-array  ] bi 2array ] }
     { [ dup 16385 < ] [ [ 8193 - 4096 /i 26 + ] [ 8193 - 4096 mod 12 <bits> >bit-array  ] bi 2array ] }
-    [ [ 8193 - 4096 /i 28 + ] [ 8193 - 4096 mod  13 <bits> >bit-array  ] bi 2array ] 
+    [ [ 8193 - 4096 /i 28 + ] [ 8193 - 4096 mod  13 <bits> >bit-array  ] bi 2array ]
     }
     cond ;
+
  ! Words for transforming our vector of (length, distance) pairs and bytes into literals using above table
 : pair-to-code ( pr -- code )
     [ first length-to-code ]  [ second dist-to-code ] bi 2array ;
 
 : vec-to-lits ( vec -- vec )
-    [ dup array? [ pair-to-code ] [ ] if ] map ; 
+    [ dup array? [ pair-to-code ] [ ] if ] map ;
 
 ! Words for using the fixed Huffman code to map literals to bit arrays
 ! This is the table in section 3.2.6
-: (lit-to-bits) ( lit  -- bitarr  )
+: (lit-to-bits) ( lit -- bitarr )
     {
         { [ dup 144 <  ] [ 48 + 8 <bits> >bit-array reverse ] }
         { [ dup 256 <  ] [ 144 - 400 + 9 <bits> >bit-array reverse ] }
@@ -95,7 +95,7 @@ SYMBOL: lit-vec
 
 : lit-to-bits ( lit -- bits )
     dup array? [ [ first (lit-to-bits) ] [ second ] bi 2array ] [ (lit-to-bits) ] if  ;
+
 : pair-to-bits ( l,d -- bits )
     [ first lit-to-bits ] [ second dist-to-bits ] bi 2array ;
 
@@ -103,7 +103,7 @@ SYMBOL: lit-vec
     [ dup array? [ pair-to-bits ] [ (lit-to-bits) ] if ] map ;
 
 
-! fixed huffman compression function 
+! fixed huffman compression function
 : (compress-fixed) ( bytes -- bits )
     compress-lz77 vec-to-lits vec-to-bits ;
 
@@ -123,13 +123,13 @@ SYMBOL: lit-vec
 
 
 ! Use the given dictionary to replace the element with its code
-:: replace-one ( ele code-dict  --  new-ele )
+:: replace-one ( ele code-dict -- new-ele )
     ele array? [ ele first code-dict at ele second 2array ] [ ele code-dict at ] if ;
 
 ! replace both elements of a length distance pair with their codes
-: replace-pair (  pair  -- new-pair  )
+: replace-pair ( pair -- new-pair )
     [ first lit-dict get replace-one ]  [ second dist-dict get replace-one ] bi 2array ;
-  
+
 ! Replace all vector elements with their codes
 : vec-to-codes ( vec -- new-vec )
     [ dup array? [ replace-pair ] [ lit-dict get replace-one ] if ]  map ;
@@ -141,9 +141,9 @@ SYMBOL: lit-vec
 : dist-code-lens ( -- len-seq )
     31 [0..b] [ dist-dict get at length ] map [ zero? ] trim-tail ;
 
-:: replace-0-single ( m len-seq  -- new-len-seq )
+:: replace-0-single ( m len-seq -- new-len-seq )
     m 11 < [ len-seq m 0 <array> 17 m 3 - 3 <bits> >bit-array 2array 1array replace ]
-           [ len-seq m 0 <array> 18 m 11 - 7 <bits> >bit-array 2array 1array replace ]    
+           [ len-seq m 0 <array> 18 m 11 - 7 <bits> >bit-array 2array 1array replace ]
     if ;
 
 :: replace-0-range ( range len-seq -- new-len-seq )
@@ -153,9 +153,9 @@ SYMBOL: lit-vec
     2 139 (a..b) swap replace-0-range ;
 
 :: replace-runs ( n len-seq  -- new-len-seq )
-    len-seq 7 n <array> { n { 16 ?{ t t } } } replace  
-    6 n <array> { n { 16 ?{ f t } } } replace 
-    5 n <array> { n { 16 ?{ t f } } } replace 
+    len-seq 7 n <array> { n { 16 ?{ t t } } } replace
+    6 n <array> { n { 16 ?{ f t } } } replace
+    5 n <array> { n { 16 ?{ t f } } } replace
     4 n <array>  { n { 16 ?{ f f } } }  replace  ;
 
 :: replace-all-runs ( range len-seq  -- new-len-seq )
@@ -166,7 +166,7 @@ SYMBOL: lit-vec
 
 : run-free-dist ( -- len-seq )
     0 31 [a..b] dist-code-lens replace-0 replace-all-runs ;
-        
+
 : run-free-codes ( -- len-seq )
     run-free-lit run-free-dist append ;
 
@@ -183,7 +183,7 @@ CONSTANT: clen-shuffle { 16 17 18 0 8 7 9 6 10 5 11 4 12 3 13 2 14 1 15 }
 
 : clen-bits ( -- bit-arr )
     clen-seq [ 3 <bits> >bit-array  ] map  ;
+
 : h-lit ( -- bit-arr )
     lit-code-lens length 257 - 5 <bits> >bit-array ;
 
@@ -203,35 +203,35 @@ TUPLE: deflate-block
     { compressed-data vector } ;
 
 ! Compresses a block with dynamic huffman compression, outputting a nested array structure
-: (compress-dynamic) ( lit-seq -- bit-arr-seq  )
-    [   dup compress-lz77 vec-to-lits { 256 } append lit-vec set 
-        lit-vec get build-dicts  
-        dist-dict set 
+: (compress-dynamic) ( lit-seq -- bit-arr-seq )
+    [   dup compress-lz77 vec-to-lits { 256 } append lit-vec set
+        lit-vec get build-dicts
+        dist-dict set
         lit-dict set
-        lit-code-lens supremum 16 < clen-seq supremum 8 < and 
-        [ drop dynamic-headers clen-bits compressed-lens 
+        lit-code-lens supremum 16 < clen-seq supremum 8 < and
+        [ drop dynamic-headers clen-bits compressed-lens
         lit-vec get vec-to-codes deflate-block boa ]
-        [ halves [ (compress-dynamic) ] bi@ 2array ] if 
+        [ halves [ (compress-dynamic) ] bi@ 2array ] if
     ] with-scope ;
-   
+
 
 : flatten-single ( ele -- bits )
     dup array? [ concat ] when ;
 
 : flatten-lens ( compressed-lens -- bits )
-    [ flatten-single ] map concat ; 
+    [ flatten-single ] map concat ;
 
-: flatten-pair ( pair  -- bits )
-    dup array? [ [ first flatten-single ] [ second flatten-single ] bi append ] when ; 
+: flatten-pair ( pair -- bits )
+    dup array? [ [ first flatten-single ] [ second flatten-single ] bi append ] when ;
 
-: flatten-block ( bit-arr-seq  -- byte-array )
+: flatten-block ( bit-arr-seq -- byte-array )
     { [ headers>> ] [ clen>> concat ] [ compressed-lens>> flatten-lens ] [ compressed-data>> [ flatten-pair ] map concat ] } cleave 4array concat ;
 
-: flatten-blocks ( blocks  -- byte-array )
-    [ flatten-block ] map unclip-last [ [ ?{ f } prepend ] map ] dip ?{ t } prepend suffix concat ; 
+: flatten-blocks ( blocks -- byte-array )
+    [ flatten-block ] map unclip-last [ [ ?{ f } prepend ] map ] dip ?{ t } prepend suffix concat ;
 
 PRIVATE>
+
 : compress-dynamic ( byte-array -- byte-array )
     (compress-dynamic) [ deflate-block? ] deep-filter flatten-blocks underlying>> gzip-header prepend B{ 0 0 } append ;
 
index 6f7559ca49658b63d4089037144c94472367a11a..c36754b8d9698eebbfcef09ffee2b8577a9cafa8 100644 (file)
@@ -66,7 +66,7 @@ TUPLE: huffman-tree
 : gen-leaves ( lit-seq -- leaves )
     [ huffman-tree new swap >>code ] map ; 
 
-: build-leaf-table ( leaves --  )
+: build-leaf-table ( leaves -- )
     dup empty? [ drop ] [ dup first leaf-table get inc-at rest build-leaf-table ] if ;
  
 : insert-leaves ( -- ) leaf-table get unzip swap zip node-heap get heap-push-all  ;
index 41f248aef1bbe949713e3482039310d7fbfa3ed1..b0706c59490f781c50e64db2e896300016e87a13 100644 (file)
@@ -28,7 +28,7 @@ ERROR: bad-zlib-header ;
 : read-until-terminated ( data -- data ) 
     [ dup 8 swap bs:read 0 =  ] [  ]  until ;
 
-:: interpret-flag ( flg data  -- )
+:: interpret-flag ( flg data -- )
     27 data bs:seek 
     flg first 1 = [ 8 data bs:read data bs:seek  ] when
     flg second 1 = [ data read-until-terminated drop ] when
index 458a6f7e09b0563d8b933523e57f8bac2ec2aad4..2f2855d8ee5c60c6fd90cb8c96e1147a3d7de045 100644 (file)
@@ -821,10 +821,10 @@ ARM-INSTRUCTION: LDRr64-encode ( 11 111 0 00 01 1 Rm option3 S 1 0 Rn Rt -- )
 
 ! LDRAA, LDRAB: Load Register, with pointer authentication.
 ! ARMv8.3
-ARM-INSTRUCTION: LDRAAoff-encode ( 11 111 0 00 0 S 1 imm9 0 1 Rn Rt  -- )
-ARM-INSTRUCTION: LDRAApre-encode ( 11 111 0 00 0 S 1 imm9 1 1 Rn Rt  -- )
-ARM-INSTRUCTION: LDRABoff-encode ( 11 111 0 00 1 S 1 imm9 0 1 Rn Rt  -- )
-ARM-INSTRUCTION: LDRABpre-encode ( 11 111 0 00 1 S 1 imm9 1 1 Rn Rt  -- )
+ARM-INSTRUCTION: LDRAAoff-encode ( 11 111 0 00 0 S 1 imm9 0 1 Rn Rt -- )
+ARM-INSTRUCTION: LDRAApre-encode ( 11 111 0 00 0 S 1 imm9 1 1 Rn Rt -- )
+ARM-INSTRUCTION: LDRABoff-encode ( 11 111 0 00 1 S 1 imm9 0 1 Rn Rt -- )
+ARM-INSTRUCTION: LDRABpre-encode ( 11 111 0 00 1 S 1 imm9 1 1 Rn Rt -- )
 
 ! LDRB (immediate): Load Register Byte (immediate).
 ARM-INSTRUCTION: LDRBpost-encode ( 00 111 0 00 01 0 imm9 01 Rn Rt -- )
@@ -842,7 +842,7 @@ ARM-INSTRUCTION: LDRHpre-encode ( 01 111 0 00 01 0 imm9 11 Rn Rt -- )
 ARM-INSTRUCTION: LDRHuoff-encode ( 01 111 0 01 01 imm12 Rn Rt -- )
 
 ! LDRH (register): Load Register Halfword (register).
-ARM-INSTRUCTION: LDRHr-encode ( 01 111 0 00 01 1 Rm option3 S 10 Rn Rt  -- )
+ARM-INSTRUCTION: LDRHr-encode ( 01 111 0 00 01 1 Rm option3 S 10 Rn Rt -- )
 
 ! LDRSB (immediate): Load Register Signed Byte (immediate).
 ARM-INSTRUCTION: LDRSBpost32-encode ( 00 111 0 00 11 0 imm9 01 Rn Rt -- )
index 7d444f32bb05072735ed167ad99a87cecd891bb2..bef022af2dd6a700d60f8533e85181b883b7dbb3 100644 (file)
@@ -141,7 +141,7 @@ M: none-type return-type>c-type drop void ;
 : parameter-names&types ( callable -- names types )
     [ [ parameter-c-type ] map ] [ [ parameter-name ] map ] bi ;
 
-: def-function ( function --  )
+: def-function ( function -- )
     {
         [ return>> return-c-type ]
         [ identifier>> ]
@@ -173,7 +173,7 @@ M: type type>data-type
         [ drop "in" >>direction "none" >>transfer-ownership ]
     } cleave ;
 
-:: def-method ( method type --  )
+:: def-method ( method type -- )
     method {
         [ return>> return-c-type ]
         [ identifier>> ]
index 7d67342d9b7fc57c31297acd9c4f89888ec45c5e..a29cdda0a7aa689beb40361c2c39276e1db95abd 100644 (file)
@@ -14,7 +14,7 @@ blocks blocks-free blocks-available
 files files-free files-available
 name-max flags id ;
 
-HOOK: new-file-system-info os ( --  file-system-info )
+HOOK: new-file-system-info os ( -- file-system-info )
 
 M: unix new-file-system-info unix-file-system-info new ;
 
index 1e6bf5cb4ae956fcb5c2580af7adc268340f1cd3..4da7e9c88f25901df447c24acdbcc4cf150547a2 100644 (file)
@@ -134,7 +134,7 @@ DEFER: (read-json-string)
         { CHAR: t  [ "rue" pick json-expect t suffix! ] }
         { CHAR: f  [ "alse" pick json-expect f suffix! ] }
         { CHAR: n  [ "ull" pick json-expect json-null suffix! ] }
-        [ pick json-number [ suffix! ] dip [ scan ] when*  ]
+        [ pick json-number [ suffix! ] dip [ scan ] when* ]
     } case ;
 
 : json-read-input ( stream -- objects )
@@ -143,7 +143,7 @@ DEFER: (read-json-string)
         json-depth get zero? [ json-error ] unless
     ] with-variable ;
 
-: get-json ( objects  --  obj )
+: get-json ( objects -- obj )
     dup length 1 = [ first ] [ json-error ] if ;
 
 PRIVATE>
@@ -217,7 +217,7 @@ PRIVATE>
 M: string stream-json-print
     CHAR: \" over stream-write1 swap [
         {
-            { CHAR: \"  [ "\\\"" over stream-write ] }
+            { CHAR: \" [ "\\\"" over stream-write ] }
             { CHAR: \\ [ "\\\\" over stream-write ] }
             { CHAR: /  [
                 json-escape-slashes? get
index ed21b85df367ed8eb7ce5c045180f931592143dd..51a42189c3c6ec10c0ae19896fc40a1fbddfefc8 100644 (file)
@@ -8,7 +8,7 @@ IN: lists
 MIXIN: list
 GENERIC: car ( cons -- car )
 GENERIC: cdr ( cons -- cdr )
-GENERIC: nil? ( object -- ?   )
+GENERIC: nil? ( object -- ? )
 
 TUPLE: cons-state { car read-only } { cdr read-only } ;
 
index 68856813f460f89c6169b84db93169a6b7a58b6a..c8feaee00bceb45bbe50d99228a62e2981bb25e8 100644 (file)
@@ -77,7 +77,7 @@ M: ranges:range sum-of-quads
 
 <PRIVATE
 
-: trim-points ( p seq -- from to seq  )
+: trim-points ( p seq -- from to seq )
     [ length [ * >integer ] keep over - ] keep ;
 
 PRIVATE>
index a763deaa4ab8ecf5ace37e4f36c268d4c27cebbb..9c1d0feb08beed1380c07dd45fdf3591d5c05bec 100644 (file)
@@ -1600,7 +1600,7 @@ GL-FUNCTION: void glAttachShader { glAttachObjectARB } ( GLuint program, GLuint
 GL-FUNCTION: void glBindAttribLocation { glBindAttribLocationARB } ( GLuint program, GLuint index, GLstring name )
 GL-FUNCTION: void glBlendEquationSeparate { glBlendEquationSeparateEXT } ( GLenum modeRGB, GLenum modeAlpha )
 GL-FUNCTION: void glCompileShader { glCompileShaderARB } ( GLuint shader )
-GL-FUNCTION: GLuint glCreateProgram { glCreateProgramObjectARB } (  )
+GL-FUNCTION: GLuint glCreateProgram { glCreateProgramObjectARB } ( )
 GL-FUNCTION: GLuint glCreateShader { glCreateShaderObjectARB } ( GLenum type )
 GL-FUNCTION: void glDeleteProgram { glDeleteObjectARB } ( GLuint program )
 GL-FUNCTION: void glDeleteShader { glDeleteObjectARB } ( GLuint shader )
index 32847753337307d71780a4964937088a976ec88e..876c4d64cc3579e371bdcb630996d3f847ace93a 100644 (file)
@@ -111,13 +111,13 @@ FUNCTION: int BIO_write ( void* b, void* buf, int len )
 
 FUNCTION: int BIO_puts ( BIO* bio, c-string buf )
 
-FUNCTION: ulong ERR_get_error (  )
+FUNCTION: ulong ERR_get_error ( )
 
 FUNCTION: void ERR_clear_error ( )
 
 FUNCTION: c-string ERR_error_string ( ulong e, void* buf )
 
-FUNCTION: void* BIO_f_buffer (  )
+FUNCTION: void* BIO_f_buffer ( )
 
 ! ===============================================
 ! evp.h
@@ -144,14 +144,14 @@ FUNCTION: void EVP_MD_CTX_free ( EVP_MD_CTX* ctx )
 ! ------------------------------------------------------------------------------
 ! API < 1.1.0, removed in new versions
 ! ------------------------------------------------------------------------------
-FUNCTION: void OpenSSL_add_all_ciphers (  )
-FUNCTION: void OpenSSL_add_all_digests (  )
+FUNCTION: void OpenSSL_add_all_ciphers ( )
+FUNCTION: void OpenSSL_add_all_digests ( )
 FUNCTION: EVP_MD_CTX* EVP_MD_CTX_create ( )
 FUNCTION: void EVP_MD_CTX_destroy ( EVP_MD_CTX* ctx )
 ! ------------------------------------------------------------------------------
 
 ! Clean them up before exiting
-FUNCTION: void EVP_cleanup (  )
+FUNCTION: void EVP_cleanup ( )
 
 FUNCTION: EVP_MD* EVP_get_digestbyname ( c-string name )
 
index dd206b967f25476e0e96f6a2532bf2533df64999..9597703c616054b167ed5d5b10a8453a386fc046 100644 (file)
@@ -391,25 +391,25 @@ FUNCTION: int OPENSSL_init_ssl ( uint64_t opts, void* settings )
 ! API < 1.1.0, removed in new versions
 ! ------------------------------------------------------------------------------
 ! Initialization functions
-FUNCTION: int SSL_library_init (  )
+FUNCTION: int SSL_library_init ( )
 
 ! Maps OpenSSL errors to strings
-FUNCTION: void SSL_load_error_strings (  )
+FUNCTION: void SSL_load_error_strings ( )
 ! ------------------------------------------------------------------------------
 
 ! Sets the default SSL version
-FUNCTION: ssl-method SSLv2_client_method (  )
-FUNCTION: ssl-method SSLv23_client_method (  )
-FUNCTION: ssl-method SSLv23_server_method (  )
-FUNCTION: ssl-method SSLv23_method (  ) ! SSLv3 but can rollback to v2
-FUNCTION: ssl-method SSLv3_client_method (  )
-FUNCTION: ssl-method SSLv3_server_method (  )
-FUNCTION: ssl-method SSLv3_method (  )
-FUNCTION: ssl-method TLSv1_client_method (  )
-FUNCTION: ssl-method TLSv1_server_method (  )
-FUNCTION: ssl-method TLSv1_method (  )
-FUNCTION: ssl-method TLSv1_1_method (  )
-FUNCTION: ssl-method TLSv1_2_method (  )
+FUNCTION: ssl-method SSLv2_client_method ( )
+FUNCTION: ssl-method SSLv23_client_method ( )
+FUNCTION: ssl-method SSLv23_server_method ( )
+FUNCTION: ssl-method SSLv23_method ( ) ! SSLv3 but can rollback to v2
+FUNCTION: ssl-method SSLv3_client_method ( )
+FUNCTION: ssl-method SSLv3_server_method ( )
+FUNCTION: ssl-method SSLv3_method ( )
+FUNCTION: ssl-method TLSv1_client_method ( )
+FUNCTION: ssl-method TLSv1_server_method ( )
+FUNCTION: ssl-method TLSv1_method ( )
+FUNCTION: ssl-method TLSv1_1_method ( )
+FUNCTION: ssl-method TLSv1_2_method ( )
 
 CONSTANT: DTLS1_VERSION_MAJOR 0xfe
 CONSTANT: SSL3_VERSION_MAJOR 0x03
@@ -435,7 +435,7 @@ FUNCTION: int SSL_version ( SSL *ssl )
 
 FUNCTION: void SSL_SESSION_free ( SSL_SESSION* ses )
 FUNCTION: void RAND_seed ( void* buf, int num )
-FUNCTION: void* BIO_f_ssl (  )
+FUNCTION: void* BIO_f_ssl ( )
 
 ! ------------------------------------------------------------------------------
 ! SSL
index 91fb6457345756edc1af4593ce3268b808517238..c99470065813c01f5b28c85745de9d716acfd6e9 100644 (file)
@@ -232,7 +232,7 @@ M: test-failure error. ( error -- )
 
 : test-root ( root -- ) "" vocabs-to-load test-vocabs ;
 
-: refresh-and-test ( prefix --  ) to-refresh [ do-refresh ] keepdd test-vocabs ;
+: refresh-and-test ( prefix -- ) to-refresh [ do-refresh ] keepdd test-vocabs ;
 
 : refresh-and-test-all ( -- ) "" refresh-and-test ;
 
index baa4a21d2a21b3e798c160118639fcda53f4da0a..691cf8a7b597662e8dc2095386ca4767ab8326a6 100644 (file)
@@ -115,7 +115,7 @@ M: menu-button handle-gesture
 
 <PRIVATE
 
-:: next-item ( menu dir --  )
+:: next-item ( menu dir -- )
     menu [ items>> ] [ control-value ] bi :> ( items curr )
     curr [
         items length :> max
index 95b438cc0b3ebdf468be8c1119f146f78bd16ee1..52f7bb675fd5699290c95d43238703f9252d7645 100644 (file)
@@ -53,5 +53,5 @@ CONSTANT: IN_ALL_EVENTS
     }
 
 FUNCTION: int inotify_init ( )
-FUNCTION: int inotify_add_watch ( int fd, c-string name, uint mask  )
+FUNCTION: int inotify_add_watch ( int fd, c-string name, uint mask )
 FUNCTION: int inotify_rm_watch ( int fd, uint wd )
index 7c8239a82d9742d83e7449c9fd45412eff557124..bb7ef1ef8c6ef10c17954c7c1db5f152d449eab1 100644 (file)
@@ -161,7 +161,7 @@ COM-INTERFACE: IDirect3DDevice9 IUnknown {D0223B96-BF7A-43fd-92BD-A43B0D82B9EB}
     HRESULT GetVertexShaderConstantF ( UINT StartRegister, float* pConstantData, UINT Vector4fCount )
     HRESULT SetVertexShaderConstantI ( UINT StartRegister, int* pConstantData, UINT Vector4iCount )
     HRESULT GetVertexShaderConstantI ( UINT StartRegister, int* pConstantData, UINT Vector4iCount )
-    HRESULT SetVertexShaderConstantB ( UINT StartRegister, BOOL* pConstantData, UINT  BoolCount )
+    HRESULT SetVertexShaderConstantB ( UINT StartRegister, BOOL* pConstantData, UINT BoolCount )
     HRESULT GetVertexShaderConstantB ( UINT StartRegister, BOOL* pConstantData, UINT BoolCount )
     HRESULT SetStreamSource ( UINT StreamNumber, IDirect3DVertexBuffer9* pStreamData, UINT OffsetInBytes, UINT Stride )
     HRESULT GetStreamSource ( UINT StreamNumber, IDirect3DVertexBuffer9** ppStreamData, UINT* pOffsetInBytes, UINT* pStride )
@@ -176,7 +176,7 @@ COM-INTERFACE: IDirect3DDevice9 IUnknown {D0223B96-BF7A-43fd-92BD-A43B0D82B9EB}
     HRESULT GetPixelShaderConstantF ( UINT StartRegister, float* pConstantData, UINT Vector4fCount )
     HRESULT SetPixelShaderConstantI ( UINT StartRegister, int* pConstantData, UINT Vector4iCount )
     HRESULT GetPixelShaderConstantI ( UINT StartRegister, int* pConstantData, UINT Vector4iCount )
-    HRESULT SetPixelShaderConstantB ( UINT StartRegister, BOOL* pConstantData, UINT  BoolCount )
+    HRESULT SetPixelShaderConstantB ( UINT StartRegister, BOOL* pConstantData, UINT BoolCount )
     HRESULT GetPixelShaderConstantB ( UINT StartRegister, BOOL* pConstantData, UINT BoolCount )
     HRESULT DrawRectPatch ( UINT Handle, float* pNumSegs, D3DRECTPATCH_INFO* pRectPatchInfo )
     HRESULT DrawTriPatch ( UINT Handle, float* pNumSegs, D3DTRIPATCH_INFO* pTriPatchInfo )
@@ -410,7 +410,7 @@ CONSTANT: D3DERR_PRESENT_STATISTICS_DISJOINT      0x88760884
 FUNCTION: HRESULT Direct3DCreate9Ex ( UINT SDKVersion, IDirect3D9Ex** out )
 
 COM-INTERFACE: IDirect3D9Ex IDirect3D9 {02177241-69FC-400C-8FF1-93A44DF6861D}
-    UINT GetAdapterModeCountEx ( UINT Adapter, D3DDISPLAYMODEFILTER* pFilter  )
+    UINT GetAdapterModeCountEx ( UINT Adapter, D3DDISPLAYMODEFILTER* pFilter )
     HRESULT EnumAdapterModesEx ( UINT Adapter, D3DDISPLAYMODEFILTER* pFilter, UINT Mode, D3DDISPLAYMODEEX* pMode )
     HRESULT GetAdapterDisplayModeEx ( UINT Adapter, D3DDISPLAYMODEEX* pMode, D3DDISPLAYROTATION* pRotation )
     HRESULT CreateDeviceEx ( UINT Adapter, D3DDEVTYPE DeviceType, HWND hFocusWindow, DWORD BehaviorFlags, D3DPRESENT_PARAMETERS* pPresentationParameters, D3DDISPLAYMODEEX* pFullscreenDisplayMode, IDirect3DDevice9Ex** ppReturnedDeviceInterface )
index 4332d237168a70ea8b5242e62ad3a3410d14fe8a..2638e1728f7746d2d4e0308f54a1a15a52679808 100644 (file)
@@ -95,7 +95,7 @@ FUNCTION: HRESULT
         UINT                      VertexCount,
         UINT                      FaceCount,
         UINT                      Options,
-        ID3DX10Mesh**             ppMesh        )
+        ID3DX10Mesh**             ppMesh )
 
 CONSTANT: D3DX10_MESHOPT_COMPACT            0x01000000
 CONSTANT: D3DX10_MESHOPT_ATTR_SORT          0x02000000
@@ -118,7 +118,7 @@ COM-INTERFACE: ID3DX10SkinInfo IUnknown {420BD604-1C76-4a34-A466-E45D0658A32C}
     UINT GetNumVertices ( )
     UINT GetNumBones ( )
     UINT GetMaxBoneInfluences ( )
-    HRESULT AddVertices ( UINT  Count )
+    HRESULT AddVertices ( UINT Count )
     HRESULT RemapVertices ( UINT NewVertexCount, UINT* pVertexRemap )
     HRESULT AddBones ( UINT Count )
     HRESULT RemoveBone ( UINT Index )
index 5a07cf7c3530abd923bde0bfe9df4b5b523e320a..02d18ed8538cd9453bc16458f1149524d71c127b 100644 (file)
@@ -92,16 +92,16 @@ COM-INTERFACE: ID3DXMatrixStack IUnknown {C7885BA7-F990-4fe7-922D-8515E477DD85}
     HRESULT Pop ( )
     HRESULT Push ( )
     HRESULT LoadIdentity ( )
-    HRESULT LoadMatrix ( D3DXMATRIX* pM  )
-    HRESULT MultMatrix ( D3DXMATRIX* pM  )
-    HRESULT MultMatrixLocal ( D3DXMATRIX* pM  )
+    HRESULT LoadMatrix ( D3DXMATRIX* pM )
+    HRESULT MultMatrix ( D3DXMATRIX* pM )
+    HRESULT MultMatrixLocal ( D3DXMATRIX* pM )
     HRESULT RotateAxis ( D3DXVECTOR3* pV, FLOAT Angle )
     HRESULT RotateAxisLocal ( D3DXVECTOR3* pV, FLOAT Angle )
     HRESULT RotateYawPitchRoll ( FLOAT Yaw, FLOAT Pitch, FLOAT Roll )
     HRESULT RotateYawPitchRollLocal ( FLOAT Yaw, FLOAT Pitch, FLOAT Roll )
     HRESULT Scale ( FLOAT x, FLOAT y, FLOAT z )
     HRESULT ScaleLocal ( FLOAT x, FLOAT y, FLOAT z )
-    HRESULT Translate ( FLOAT x, FLOAT y, FLOAT z  )
+    HRESULT Translate ( FLOAT x, FLOAT y, FLOAT z )
     HRESULT TranslateLocal ( FLOAT x, FLOAT y, FLOAT z )
     D3DXMATRIX* GetTop ( ) ;
 
index a83a75f85fe00ca848bb5c769bfac1ba91092696..5f5b62af459fb772081d0c1fb9ba45c0eb9d8425 100644 (file)
@@ -377,10 +377,10 @@ COM-INTERFACE: IXACT3Wave f {00000000-0000-0000-0000-000000000000}
 : XACT_CUESTATE_PAUSED            ( -- z ) XACT_STATE_PAUSED ; inline
 
 COM-INTERFACE: IXACT3Cue f {00000000-0000-0000-0000-000000000000}
-    HRESULT Play (  )
+    HRESULT Play ( )
     HRESULT Stop ( DWORD dwFlags )
     HRESULT GetState ( DWORD* pdwState )
-    HRESULT Destroy (  )
+    HRESULT Destroy ( )
     HRESULT SetMatrixCoefficients ( UINT32 uSrcChannelCount, UINT32 uDstChannelCount,  float* pMatrixCoefficients )
     XACTVARIABLEINDEX GetVariableIndex ( PCSTR szFriendlyName )
     HRESULT SetVariable ( XACTVARIABLEINDEX nIndex, XACTVARIABLEVALUE nValue )
@@ -408,8 +408,8 @@ COM-INTERFACE: IXACT3Engine IUnknown {b1ee676a-d9cd-4d2a-89a8-fa53eb9e480b}
     HRESULT GetRendererDetails ( XACTINDEX nRendererIndex, LPXACT_RENDERER_DETAILS pRendererDetails )
     HRESULT GetFinalMixFormat ( WAVEFORMATEXTENSIBLE* pFinalMixFormat )
     HRESULT Initialize ( XACT_RUNTIME_PARAMETERS* pParams )
-    HRESULT ShutDown (  )
-    HRESULT DoWork (  )
+    HRESULT ShutDown ( )
+    HRESULT DoWork ( )
     HRESULT CreateSoundBank ( void* pvBuffer, DWORD dwSize, DWORD dwFlags, DWORD dwAllocAttributes, IXACT3SoundBank** ppSoundBank )
     HRESULT CreateInMemoryWaveBank ( void* pvBuffer, DWORD dwSize, DWORD dwFlags, DWORD dwAllocAttributes, IXACT3WaveBank** ppWaveBank )
     HRESULT CreateStreamingWaveBank ( XACT_WAVEBANK_STREAMING_PARAMETERS* pParms, IXACT3WaveBank** ppWaveBank )
index cd9a3901c0b233985a176ad9bc117c9f336866c9..449e63277e3d4e1e6a4a8cb7f02e5bf5112684aa 100644 (file)
@@ -235,8 +235,8 @@ COM-INTERFACE: IXAudio2 IUnknown {8bcf1f58-9fe7-4583-8ac6-e2adc465c8bb}
         UINT32                   Flags
         UINT32                   DeviceIndex,
         XAUDIO2_EFFECT_CHAIN*    pEffectChain )
-    HRESULT StartEngine (   )
-    void StopEngine (   )
+    HRESULT StartEngine ( )
+    void StopEngine ( )
     HRESULT CommitChanges ( UINT32 OperationSet )
     void GetPerformanceData ( XAUDIO2_PERFORMANCE_DATA* pPerfData )
     void SetDebugConfiguration ( XAUDIO2_DEBUG_CONFIGURATION* pDebugConfiguration, void* pReserved ) ;
@@ -276,13 +276,13 @@ COM-INTERFACE: IXAudio2Voice f {00000000-0000-0000-0000-000000000000}
         UINT32         SourceChannels,
         UINT32         DestinationChannels,
         FLOAT*         pLevelMatrix,
-        UINT32         OperationSet    )
+        UINT32         OperationSet )
     void GetOutputMatrix (
         IXAudio2Voice* pDestinationVoice,
         UINT32         SourceChannels,
         UINT32         DestinationChannels,
         FLOAT*         pLevelMatrix )
-    void DestroyVoice (  ) ;
+    void DestroyVoice ( ) ;
 
 COM-INTERFACE: IXAudio2SourceVoice IXAudio2Voice {00000000-0000-0000-0000-000000000000}
     HRESULT Start ( UINT32 Flags, UINT32 OperationSet )
@@ -300,14 +300,14 @@ COM-INTERFACE: IXAudio2SubmixVoice IXAudio2Voice {00000000-0000-0000-0000-000000
 COM-INTERFACE: IXAudio2MasteringVoice IXAudio2Voice {00000000-0000-0000-0000-000000000000} ;
 
 COM-INTERFACE: IXAudio2EngineCallback f {00000000-0000-0000-0000-000000000000}
-    void OnProcessingPassStart (   )
-    void OnProcessingPassEnd (   )
+    void OnProcessingPassStart ( )
+    void OnProcessingPassEnd ( )
     void OnCriticalError ( HRESULT Error ) ;
 
 COM-INTERFACE: IXAudio2VoiceCallback f {00000000-0000-0000-0000-000000000000}
     void OnVoiceProcessingPassStart ( UINT32 BytesRequired )
-    void OnVoiceProcessingPassEnd (   )
-    void OnStreamEnd (   )
+    void OnVoiceProcessingPassEnd ( )
+    void OnStreamEnd ( )
     void OnBufferStart ( void* pBufferContext )
     void OnBufferEnd ( void* pBufferContext )
     void OnLoopEnd ( void* pBufferContext )
index ff02c1de286c8fd4861e841bc0af05b7ab4e0e29..ec6950c24eeb163079486ab3026d45c95cbac37c 100644 (file)
@@ -6,7 +6,7 @@ strings windows windows.errors windows.handles windows.kernel32
 windows.types ;
 IN: windows.processes
 
-: with-open-process ( access 1/0 processid quot --  )
+: with-open-process ( access 1/0 processid quot -- )
     [ OpenProcess dup win32-error=0/f ] dip
     '[ _ <win32-handle> &dispose @ ] with-destructors ; inline
 
index 5bb318a13c0462724ab8110294896c0bb75970bd..811aa497bc4053f281c0ead87f5e289793a4c014 100644 (file)
@@ -45,7 +45,7 @@ TUPLE: coroutine resumecc exitcc originalcc ;
     [ ] >>resumecc
     exitcc>> continue-with ;
 
-: coreset ( v --  )
+: coreset ( v -- )
     current-coro get dup
     originalcc>> >>resumecc
     exitcc>> continue-with ;
index 03f2521bd3ea2963397f9a3ab849ddd67bf9e300..34aa790e31b613a06872a03e85c5696072c6aeb6 100644 (file)
@@ -221,7 +221,7 @@ CONSTANT: LEFT { -1 0 }
 :: find-all-rows ( board quot -- index row )
     board cells>> [ quot find swap drop ] find-all ; inline
 
-: is-empty? ( cell -- ?  )
+: is-empty? ( cell -- ? )
     { } = ;
 
 : cell-contains? ( cell object -- ? )
index 7fa0277e1d9e78dbf1041af8ab5c74fb82ddf07a..be7a1944d74aeec0fabea73d22da6b40d0201b2c 100644 (file)
@@ -12,5 +12,5 @@ IN: glfw.ffi
 
 LIBRARY: glfw
 
-FUNCTION: void* glfwGetCurrentContext (  )
+FUNCTION: void* glfwGetCurrentContext ( )
 FUNCTION: void glfwMakeContextCurrent ( void* window )
index 96f75af48791ee735a9933b05536e98fa59d47d4..f9383eb22566f91d54dea321d0b2e4f6e75201fd 100644 (file)
@@ -184,4 +184,4 @@ FUNCTION: int mbr_uuid_to_sid ( uuid_t uu, nt_sid_t *sid )
 
 TYPEDEF: char[37] uuid_string_t
 
-FUNCTION: int mbr_uuid_to_string (  uuid_t uu, c-string string )
+FUNCTION: int mbr_uuid_to_string ( uuid_t uu, c-string string )
index 891a9a146a36af11eae08830e7d03132066a5dd0..391972d4927f7f1a92e6d483941c4ad8af48ea22 100644 (file)
@@ -73,7 +73,7 @@ STRUCT: EntryNew
     [ key>> make-string ]
     [ value>> make-string ] 2tri ldcache-entry boa ;
 
-: parse ( -- entries  )
+: parse ( -- entries )
     ! Read the old header and jump past it.
     HeaderOld read-struct
     [
index 04c6957c08941cc5aee44f3bde9170459a502b17..4fa21011a8bd0bbe416ceac53d2b7f792c1b3794 100644 (file)
@@ -201,7 +201,7 @@ ERROR: unmatched-closing-tag-error stack tag ;
         stack name unmatched-closing-tag-error
     ] if* ;
 
-: lex-html ( stack n string -- stack n' string  )
+: lex-html ( stack n string -- stack n' string )
     "<" slice-til-either {
         { CHAR: < [
             1 split-slice-back [ >string f like [ reach push ] when* ] dip
index f48a13139b431567feb23de762c737446d8b6086..57972b141f6c98a291d8f3a4e4b7d1744601eaca 100644 (file)
@@ -90,7 +90,7 @@ CONSTRUCTOR: <mdb-connection> mdb-connection ( instance -- mdb-connection ) ;
     get-nonce [ "nonce" set-cmd-opt ] [ ] bi
     calculate-key-digest "key" set-cmd-opt ; inline
 
-: perform-authentication ( --  )
+: perform-authentication ( -- )
     authenticate-cmd make-cmd
     build-auth-cmd send-cmd
     check-ok [ drop ] [ throw ] if ; inline
@@ -121,7 +121,7 @@ CONSTRUCTOR: <mdb-connection> mdb-connection ( instance -- mdb-connection ) ;
         [ split-host-str <inet> f <mdb-node> >>remote ] when* drop
     ] 2bi ;
 
-: check-node ( mdb node --  )
+: check-node ( mdb node -- )
     [ <mdb-connection> &dispose ] dip
     [ [ open-connection ] [ 3drop f ] recover ] keep swap
     [ [ get-ismaster eval-ismaster-result ] with-connection ] [ drop ] if* ;
index a257cc2424fd39591c5e353122bde7d0f2926085..0f09d909ee42865eeeef6a53dfaacdb10d81cb45 100644 (file)
@@ -7,7 +7,7 @@ TUPLE: nehe2-gadget < gadget ;
 CONSTANT: width 256
 CONSTANT: height 256
 
-: <nehe2-gadget> (  -- gadget )
+: <nehe2-gadget> ( -- gadget )
     nehe2-gadget new ;
 
 M: nehe2-gadget draw-gadget* ( gadget -- )
index d6dbe4b438aa043cce72615f3f45bfb09c451e35..a05f6326ca8f7871471142e05b92eab060f9af6d 100644 (file)
@@ -7,7 +7,7 @@ TUPLE: nehe3-gadget < gadget ;
 CONSTANT: width 256
 CONSTANT: height 256
 
-: <nehe3-gadget> (  -- gadget )
+: <nehe3-gadget> ( -- gadget )
   nehe3-gadget new ;
 
 M: nehe3-gadget draw-gadget* ( gadget -- )
index 0eecd2bc1a2a4d1a7b58047469bcdd72c103aed3..16f260c7b9aeeeb91f6bfd000a7f00f124eea99f 100644 (file)
@@ -9,7 +9,7 @@ CONSTANT: width 256
 CONSTANT: height 256
 : redraw-interval ( -- dt ) 10 milliseconds ;
 
-: <nehe4-gadget> (  -- gadget )
+: <nehe4-gadget> ( -- gadget )
     nehe4-gadget new
     0.0 >>rtri
     0.0 >>rquad ;
index 190312f4d1444e7912484eefcfb64fb9f0847ce8..041d6210834facdd34a2a977900223d5680cffbf 100644 (file)
@@ -8,7 +8,7 @@ CONSTANT: width 256
 CONSTANT: height 256
 : redraw-interval ( -- dt ) 10 milliseconds ;
 
-: <nehe5-gadget> (  -- gadget )
+: <nehe5-gadget> ( -- gadget )
     nehe5-gadget new
     0.0 >>rtri
     0.0 >>rquad ;
index 53799773e2413dd105d307e94700bce02788ea9f..734ce8de7945fa3c6b0308b2613bf24c62c4aba1 100644 (file)
@@ -176,7 +176,7 @@ PRIVATE>
     SQL-HANDLE-STMT swap SQLFreeHandle
     succeeded? [ "odbc-free-statement failed" throw ] unless ;
 
-: odbc-execute ( statement --  )
+: odbc-execute ( statement -- )
     SQLExecute succeeded? [ "odbc-execute failed" throw ] unless ;
 
 : odbc-next-row ( statement -- bool )
index 619de3af4823e146540c0b2f248bcbc8c470735f..07a814225f5cfe513725a02c5c460e2587c4027d 100644 (file)
@@ -115,7 +115,7 @@ FUNCTION: ALboolean alGetBoolean ( ALenum param )
 FUNCTION: ALint alGetInteger ( ALenum param )
 FUNCTION: ALfloat alGetFloat ( ALenum param )
 FUNCTION: ALdouble alGetDouble ( ALenum param )
-FUNCTION: ALenum alGetError (  )
+FUNCTION: ALenum alGetError ( )
 FUNCTION: ALboolean alIsExtensionPresent ( ALchar* extname )
 FUNCTION: void* alGetProcAddress ( ALchar* fname )
 FUNCTION: ALenum alGetEnumValue ( ALchar* ename )
index 7a00e2e2dfe8bc1fc6301b5cbf62827ddb7fcebb..2ea5ef65ba1847f49a129d9b3d244861127adb25 100644 (file)
@@ -415,7 +415,7 @@ FUNCTION: cl_int clGetPlatformInfo ( cl_platform_id platform, cl_platform_info p
 FUNCTION: cl_int clGetDeviceIDs ( cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id* devices, cl_uint* num_devices )
 FUNCTION: cl_int clGetDeviceInfo ( cl_device_id device, cl_device_info param_name, size_t param_value_size, void* param_value, size_t* param_value_size_ret )
 CALLBACK: void cl_create_context_cb ( char* a, void* b, size_t s, void* c )
-FUNCTION: cl_context clCreateContext ( cl_context_properties*  properties, cl_uint num_devices, cl_device_id* devices, cl_create_context_cb pfn_notify, void* user_data, cl_int* errcode_ret )
+FUNCTION: cl_context clCreateContext ( cl_context_properties* properties, cl_uint num_devices, cl_device_id* devices, cl_create_context_cb pfn_notify, void* user_data, cl_int* errcode_ret )
 FUNCTION: cl_context clCreateContextFromType ( cl_context_properties* properties, cl_device_type device_type, cl_create_context_cb pfn_notify, void* user_data, cl_int* errcode_ret )
 FUNCTION: cl_int clRetainContext ( cl_context context )
 FUNCTION: cl_int clReleaseContext ( cl_context context )
@@ -439,8 +439,8 @@ FUNCTION: cl_int clReleaseSampler ( cl_sampler sampler )
 FUNCTION: cl_int clGetSamplerInfo ( cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void* param_value, size_t* param_value_size_ret )
 FUNCTION: cl_program clCreateProgramWithSource ( cl_context context, cl_uint count, char** strings, size_t* lengths, cl_int* errcode_ret )
 FUNCTION: cl_program clCreateProgramWithBinary ( cl_context context, cl_uint num_devices, cl_device_id* device_list, size_t* lengths, char** binaries, cl_int* binary_status, cl_int* errcode_ret )
-FUNCTION: cl_int clRetainProgram ( cl_program  program )
-FUNCTION: cl_int clReleaseProgram ( cl_program  program )
+FUNCTION: cl_int clRetainProgram ( cl_program program )
+FUNCTION: cl_int clReleaseProgram ( cl_program program )
 CALLBACK: void cl_build_program_cb ( cl_program program, void* user_data )
 FUNCTION: cl_int clBuildProgram ( cl_program program, cl_uint num_devices, cl_device_id* device_list, char* options, cl_build_program_cb pfn_notify, void* user_data )
 FUNCTION: cl_int clUnloadCompiler ( )
@@ -455,8 +455,8 @@ FUNCTION: cl_int clGetKernelInfo ( cl_kernel kernel, cl_kernel_info param_name,
 FUNCTION: cl_int clGetKernelWorkGroupInfo ( cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void* param_value, size_t* param_value_size_ret )
 FUNCTION: cl_int clWaitForEvents ( cl_uint num_events, cl_event* event_list )
 FUNCTION: cl_int clGetEventInfo ( cl_event event, cl_event_info param_name, size_t param_value_size, void* param_value, size_t* param_value_size_ret )
-FUNCTION: cl_int clRetainEvent ( cl_event  event )
-FUNCTION: cl_int clReleaseEvent ( cl_event  event )
+FUNCTION: cl_int clRetainEvent ( cl_event event )
+FUNCTION: cl_int clReleaseEvent ( cl_event event )
 FUNCTION: cl_int clGetEventProfilingInfo ( cl_event event, cl_profiling_info param_name, size_t param_value_size, void* param_value, size_t* param_value_size_ret )
 FUNCTION: cl_int clFlush ( cl_command_queue command_queue )
 FUNCTION: cl_int clFinish ( cl_command_queue command_queue )
@@ -467,11 +467,11 @@ FUNCTION: cl_int clEnqueueReadImage ( cl_command_queue command_queue, cl_mem ima
 FUNCTION: cl_int clEnqueueWriteImage ( cl_command_queue command_queue, cl_mem image, cl_bool blocking_write, size_t** origin, size_t** region, size_t input_row_pitch, size_t input_slice_pitch, void* ptr, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
 FUNCTION: cl_int clEnqueueCopyImage ( cl_command_queue command_queue, cl_mem src_image, cl_mem dst_image, size_t** src_origin, size_t** dst_origin, size_t** region, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
 FUNCTION: cl_int clEnqueueCopyImageToBuffer ( cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer, size_t** src_origin, size_t** region, size_t dst_offset, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
-FUNCTION: cl_int clEnqueueCopyBufferToImage ( cl_command_queue  command_queue, cl_mem src_buffer, cl_mem dst_image, size_t src_offset, size_t** dst_origin, size_t** region, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
-FUNCTION: void* clEnqueueMapBuffer ( cl_command_queue  command_queue, cl_mem buffer, cl_bool blocking_map, cl_map_flags map_flags, size_t offset, size_t cb, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event, cl_int* errcode_ret )
+FUNCTION: cl_int clEnqueueCopyBufferToImage ( cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_image, size_t src_offset, size_t** dst_origin, size_t** region, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
+FUNCTION: void* clEnqueueMapBuffer ( cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map, cl_map_flags map_flags, size_t offset, size_t cb, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event, cl_int* errcode_ret )
 FUNCTION: void* clEnqueueMapImage ( cl_command_queue command_queue, cl_mem image, cl_bool blocking_map, cl_map_flags map_flags, size_t** origin, size_t** region, size_t* image_row_pitch, size_t* image_slice_pitch, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event, cl_int* errcode_ret )
-FUNCTION: cl_int clEnqueueUnmapMemObject ( cl_command_queue  command_queue, cl_mem memobj, void* mapped_ptr, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
-FUNCTION: cl_int clEnqueueNDRangeKernel ( cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim, size_t* global_work_offset, size_t* global_work_size, size_t* local_work_size, cl_uint num_events_in_wait_list, cl_event*  event_wait_list, cl_event* event )
+FUNCTION: cl_int clEnqueueUnmapMemObject ( cl_command_queue command_queue, cl_mem memobj, void* mapped_ptr, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
+FUNCTION: cl_int clEnqueueNDRangeKernel ( cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim, size_t* global_work_offset, size_t* global_work_size, size_t* local_work_size, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
 CALLBACK: void cl_enqueue_task_cb ( void* args )
 FUNCTION: cl_int clEnqueueTask ( cl_command_queue command_queue, cl_kernel kernel, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
 FUNCTION: cl_int clEnqueueNativeKernel ( cl_command_queue command_queue, cl_enqueue_task_cb user_func, void* args, size_t cb_args, cl_uint num_mem_objects, cl_mem* mem_list, void** args_mem_loc, cl_uint num_events_in_wait_list, cl_event* event_wait_list, cl_event* event )
index 0fd140426b50e12a0eec1d976015e983677cbd61..e7d4e3a612aa6cb148c5c8221f1ca712185ed17f 100644 (file)
@@ -197,11 +197,11 @@ FUNCTION: PyObject* PyNumber_ToBase ( PyObject* o1, int base )
 
 ! Bytes
 FUNCTION: c-string PyBytes_AsString ( PyObject* string )
-FUNCTION: PyObject* PyBytes_FromStringAndSize ( c-string v, Py_ssize_t size  )
+FUNCTION: PyObject* PyBytes_FromStringAndSize ( c-string v, Py_ssize_t size )
 
 ! Strings
 FUNCTION: c-string PyUnicode_AsUTF8 ( PyObject* unicode )
-FUNCTION: PyObject* PyUnicode_FromStringAndSize ( c-string v, Py_ssize_t size  )
+FUNCTION: PyObject* PyUnicode_FromStringAndSize ( c-string v, Py_ssize_t size )
 FUNCTION: PyObject* PyUnicode_FromString ( c-string v )
 
 ! Ints
index 752f79cc7a90af544a1a2642a8ff40a216f12abd..14dc8e9471e0e401c8e770e10047e9f868407143 100644 (file)
@@ -828,12 +828,12 @@ FUNCTION-ALIAS: get-frame-time float GetFrameTime ( )
 FUNCTION-ALIAS: get-time double GetTime ( )                                              ! Get elapsed time in seconds since InitWindow()
 
 ! Misc. functions
-FUNCTION-ALIAS: get-random-value int GetRandomValue  ( int min, int max )                ! Get a random value between min and max (both included)
+FUNCTION-ALIAS: get-random-value int GetRandomValue ( int min, int max )                 ! Get a random value between min and max (both included)
 FUNCTION-ALIAS: set-random-seed void SetRandomSeed ( uint seed )                         ! Set the seed for the random number generator
-FUNCTION-ALIAS: take-screenshot void TakeScreenshot ( c-string  fileName )               ! Takes a screenshot of current screen (filename extension defines format)
+FUNCTION-ALIAS: take-screenshot void TakeScreenshot ( c-string fileName )                ! Takes a screenshot of current screen (filename extension defines format)
 FUNCTION-ALIAS: set-config-flags void SetConfigFlags ( uint flags )                      ! Setup init configuration flags (view FLAGS)
 
-! FUNCTION: void TraceLog  ( int logLevel, c-string text, ... )                            ! Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)
+! FUNCTION: void TraceLog ( int logLevel, c-string text, ... )                           ! Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)
 FUNCTION-ALIAS: set-trace-log-level void SetTraceLogLevel ( int logLevel )               ! Set the current threshold (minimum) log level
 FUNCTION-ALIAS: mem-alloc void* MemAlloc ( int size )                                    ! Internal memory allocator
 FUNCTION-ALIAS: mem-realloc void* MemRealloc ( void* ptr, int size )                     ! Internal memory reallocator
index 04a2870595c8af393dcda464f32e65cdab2cd2df..0e61a5043075b1d4cee0b62953c9dc208ff327bb 100644 (file)
@@ -99,11 +99,11 @@ PRIVATE>
 : hgetall ( key -- ) 1array "HGETALL" write-command ;
 : hincrby ( integer field key -- )
     3array "HINCRBY" write-command ;
-: hincrbyfloat (  float field key -- )
+: hincrbyfloat ( float field key -- )
     3array "HINCRBYFLOAT" write-command ;
 : hkeys ( key -- ) 1array "HKEYS" write-command ;
 : hlen ( key -- ) 1array "HLEN" write-command ;
-: hmget ( seq key  -- ) prefix reverse "HMGET" write-command ;
+: hmget ( seq key -- ) prefix reverse "HMGET" write-command ;
 : hmset ( assoc key -- )
     [
         >alist concat reverse
index 702345c6bd384443a26803bbd60ccee224e5db47..6088b7bf016dd7d3466bfdea13eff02ee83c7251 100644 (file)
@@ -63,7 +63,7 @@ IN: redis
 : redis-hget ( field key -- response ) hget flush read-response ;
 : redis-hgetall ( key -- response ) hgetall flush read-response ;
 : redis-hincrby ( integer field key -- response ) hincrby flush read-response ;
-: redis-hincrbyfloat (  float field key -- response ) hincrbyfloat flush read-response ;
+: redis-hincrbyfloat ( float field key -- response ) hincrbyfloat flush read-response ;
 : redis-hkeys ( key -- response ) hkeys flush read-response ;
 : redis-hlen ( key -- response ) hlen flush read-response ;
 : redis-hmget ( seq key  -- response ) hmget flush read-response ;
index 30815a91110fd2d79e72104c2090d7a7015bbe7d..ef84e7b14f0a591b4b91d493f8f1e54c42d02344 100644 (file)
@@ -48,7 +48,7 @@ CONSTANT: SOUND-WALK3        6
 CONSTANT: SOUND-WALK4        7
 CONSTANT: SOUND-UFO-HIT      8
 
-: init-sound ( index cpu filename  -- )
+: init-sound ( index cpu filename -- )
     absolute-path swapd [ sounds>> nth AL_BUFFER ] dip
     create-buffer-from-wav set-source-param ;
 
@@ -224,7 +224,7 @@ M: space-invaders reset
 : coin-down ( cpu -- )
     [ 1 bitor ] change-port1 drop ;
 
-: coin-up ( cpu --  )
+: coin-up ( cpu -- )
     [ 255 1 - bitand ] change-port1 drop ;
 
 : player1-down ( cpu -- )
index 6408dd5796aa58e51ef5fe86b243bb85531cd5f6..389718aea668d630e76a38385d3109484d73c460 100644 (file)
@@ -261,7 +261,7 @@ PRIVATE>
 : (collect-with-previous) ( quot into -- quot' )
     [ [ keep ] dip [ set-nth-unsafe ] keepdd ] 2curry ; inline
 
-: collect-with-previous ( n quot into --  )
+: collect-with-previous ( n quot into -- )
     (collect-with-previous) each-integer-with-previous ; inline
 
 : map-integers-with ( ... len quot: ( ... prev i -- ... elt ) exemplar -- ... newseq )