From 72be6bf9b7fdfeb4c7c0bab280df7c2a6fba718f Mon Sep 17 00:00:00 2001 From: Doug Coleman <doug.coleman@gmail.com> Date: Tue, 1 Mar 2016 12:42:17 -0800 Subject: [PATCH] alien.syntax: Fix docs for CALLBACK: (no semi) --- basis/alien/syntax/syntax-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/alien/syntax/syntax-docs.factor b/basis/alien/syntax/syntax-docs.factor index 80f258f08a..517c691b41 100644 --- a/basis/alien/syntax/syntax-docs.factor +++ b/basis/alien/syntax/syntax-docs.factor @@ -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"