diff --git a/basis/alien/c-types/c-types-docs.factor b/basis/alien/c-types/c-types-docs.factor index e73ce556b5..0bcb7b9401 100644 --- a/basis/alien/c-types/c-types-docs.factor +++ b/basis/alien/c-types/c-types-docs.factor @@ -103,7 +103,7 @@ HELP: ulonglong HELP: void { $description "This symbol is not a valid C type, but it can be used as the return type for a " { $link POSTPONE: FUNCTION: } " or " { $link POSTPONE: CALLBACK: } " definition or for an " { $link alien-invoke } " or " { $link alien-callback } " call." } ; HELP: void* -{ $description "This C type represents a generic pointer to C memory. See " { $link pointer } " for information on pointer C types." } +{ $description "This C type represents a generic pointer to C memory. See " { $link pointer } " for information on pointer C types." } ; HELP: c-string { $description "This C type represents a pointer to a C string. See " { $link "c-strings" } " for details about using strings with the FFI." } ; HELP: float diff --git a/core/alien/alien-docs.factor b/core/alien/alien-docs.factor index 0b4976fcbe..9389b24227 100644 --- a/core/alien/alien-docs.factor +++ b/core/alien/alien-docs.factor @@ -136,7 +136,7 @@ ARTICLE: "aliens" "Alien addresses" } "Anywhere that a " { $link alien } " instance is accepted, the " { $link f } " singleton may be passed in to denote a null pointer." $nl -"Usually alien objects do not have to created and dereferenced directly; instead declaring C function parameters and return values as having a " pointer type such as " { $snippet "void*" } " takes care of the details." +"Usually alien objects do not have to created and dereferenced directly; instead declaring C function parameters and return values as having a " { $link pointer } " type such as " { $snippet "void*" } " takes care of the details." { $subsections "syntax-aliens" "alien-expiry"