]> gitweb.factorcode.org Git - factor.git/commitdiff
alien.syntax: Fix CALLBACK: syntax again in another place
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 1 Mar 2016 21:07:37 +0000 (13:07 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 1 Mar 2016 21:07:37 +0000 (13:07 -0800)
basis/alien/syntax/syntax-docs.factor

index 517c691b41aa75154509f6d521e7c04bbda1671c..923b31a5f5c6ef8849d2e1b42c1eaf7b4276c4fe 100644 (file)
@@ -86,7 +86,7 @@ STRUCT: forward { x backward* } ;" } }
 { $notes "Primitive C types are displayed using " { $snippet "C-TYPE:" } " syntax when they are " { $link see } "n." } ;
 
 HELP: CALLBACK:
-{ $syntax "CALLBACK: return type ( parameters ) ;" }
+{ $syntax "CALLBACK: return type ( parameters )" }
 { $values { "return" "a C return type" } { "type" "a type name" } { "parameters" "a comma-separated sequence of type/name pairs; " { $snippet "type1 arg1, type2 arg2, ..." } } }
 { $description "Defines a new function pointer C type word " { $snippet "type" } ". The newly defined word works both as a C type and as a wrapper for " { $link alien-callback } " for callbacks that accept the given return type and parameters. The ABI of the callback is decided from the ABI of the active " { $link POSTPONE: LIBRARY: } " declaration." }
 { $examples