]> gitweb.factorcode.org Git - factor.git/commitdiff
Documentation fixes for bootstrap
authorslava <slava@factorcode.org>
Sun, 5 Nov 2006 01:53:24 +0000 (01:53 +0000)
committerslava <slava@factorcode.org>
Sun, 5 Nov 2006 01:53:24 +0000 (01:53 +0000)
TODO.FACTOR.txt
doc/handbook/alien.facts
library/compiler/alien/aliens.facts
library/compiler/alien/c-types.facts
library/tools/debugger.facts

index fa1d246337088439cbb1a0881bbf47a1f90d7e90..93f012a69f86308e06dabbeb6e0c29497b2595af 100644 (file)
@@ -2,7 +2,6 @@
 
 - inline float allocation needs a gc check
 - docs: don't pass volatile aliens to callbacks
-- some instability remains
 
 + ui:
 
index cb5af7c9439d18b690580bf9bc03b640b8cd7629..f6b524687b0cc7e52808e807a6bc6ea78bcd7066 100644 (file)
@@ -253,12 +253,12 @@ $terpri
 { $subsection alien-invoke }
 "Sometimes it is necessary to invoke a C function pointer, rather than a named C function:"
 { $subsection alien-indirect }
-"There are some details concerning the conversion of Factor objects to C values, and vice versa. See " { $link "c-types" } "." ;
+"There are some details concerning the conversion of Factor objects to C values, and vice versa. See " { $link "c-data" } "." ;
 
 ARTICLE: "alien-callback" "Calling Factor from C"
 "Callbacks can be defined and passed to C code as function pointers; the C code can then invoke the callback and run Factor code:"
 { $subsection alien-callback }
-"There are some details concerning the conversion of Factor objects to C values, and vice versa. See " { $link "c-types" } "."
+"There are some details concerning the conversion of Factor objects to C values, and vice versa. See " { $link "c-data" } "."
 { $subsection "alien-callback-gc" } ;
 
 ARTICLE: "alien-callback-gc" "Callbacks and code GC"
index a9ca242f05d5f16933e1470dbcd4337df78410d7..595ae0143bb749f0454b0fc4a52d3cab9e848ffb 100644 (file)
@@ -2,10 +2,10 @@ IN: alien
 USING: arrays help ;
 
 HELP: alien
-{ $class-description "The class of alien pointers. See " { $link "syntax-aliens" } " for syntax and " { $link "c-objects" } " for general information." } ;
+{ $class-description "The class of alien pointers. See " { $link "syntax-aliens" } " for syntax and " { $link "c-data" } " for general information." } ;
 
 HELP: dll
-{ $class-description "The class of native library handles. See " { $link "dll-internals" } " for syntax and " { $link "c-objects" } " for general information." } ;
+{ $class-description "The class of native library handles. See " { $link "syntax-aliens" } " for syntax and " { $link "dll-internals" } " for general information." } ;
 
 HELP: expired? ( c-ptr -- ? )
 { $values { "c-ptr" "an alien, byte array, or " { $link f } } { "?" "a boolean" } }
index 6908098c6d1589f7efdbdcb8f2b101826c307460..e9d2ac818b29bf752cfe3a4c0dd150c85c94ad98 100644 (file)
@@ -1,9 +1,9 @@
 IN: alien
-USING: help libc ;
+USING: help libc kernel-internals ;
 
 HELP: <c-type>
 { $values { "type" "a hashtable" } }
-{ $description "Creates a prototypical C type. User code should use higher-level facilities to define C types; see " { $link "c-types" } "." } ;
+{ $description "Creates a prototypical C type. User code should use higher-level facilities to define C types; see " { $link "c-data" } "." } ;
 
 HELP: no-c-type
 { $values { "type" "a string" } }
index e9966d82cf7097faef0c6eb0525548667d132151..e7bffe13a95b942cf9a894ace03554ed98d866ee 100644 (file)
@@ -71,7 +71,7 @@ HELP: negative-array-size-error.
 { $error-description "Thrown by " { $link <array> } ", " { $link <string> } ", " { $link <vector> } " and " { $link <sbuf> } " if a negative capacity is specified." } ;
 
 HELP: c-string-error.
-{ $error-description "Thrown by " { $link alien-invoke } " and various primitives if a string containing null bytes, or characters with values higher than 255 is passed in where a C string is expected.See " { $link "c-types-strings" } "." } ;
+{ $error-description "Thrown by " { $link alien-invoke } " and various primitives if a string containing null bytes, or characters with values higher than 255 is passed in where a C string is expected. See " { $link "c-strings" } "." } ;
 
 HELP: ffi-error.
 { $error-description "Thrown by " { $link dlopen } " and " { $link dlsym } " if a problem occurs while loading a native library or looking up a symbol. See " { $link "alien" } "." } ;