]> gitweb.factorcode.org Git - factor.git/commitdiff
fix typos in alien docs
authorJoe Groff <arcata@gmail.com>
Tue, 23 Feb 2010 19:56:10 +0000 (11:56 -0800)
committerJoe Groff <arcata@gmail.com>
Tue, 23 Feb 2010 19:56:10 +0000 (11:56 -0800)
basis/alien/c-types/c-types-docs.factor
core/alien/alien-docs.factor

index e73ce556b5d5d14ba83cbdf7912eee9a9564a5e5..0bcb7b9401817157f495f6b0cdd750ba64847ca5 100644 (file)
@@ -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
index 0b4976fcbe08bc11421d08c9173377593b725e02..9389b242279d195ff14dafb858431b957ba0c5c1 100644 (file)
@@ -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"