alien.syntax: Fix docs for CALLBACK: (no semi)

db4
Doug Coleman 2016-03-01 12:42:17 -08:00
parent 4493e2175a
commit 72be6bf9b7
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ HELP: CALLBACK:
{ $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
{ $code
"CALLBACK: bool FakeCallback ( int message, void* payload ) ;"
"CALLBACK: bool FakeCallback ( int message, void* payload )"
": MyFakeCallback ( -- alien )"
" [| message payload |"
" \"message #\" write"