From 36d1cfd3e5e31c7200dfbf5430dd5b51daa9c6e6 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 15 Oct 2009 22:08:16 -0500 Subject: [PATCH] alien.libraries: fix dlsym docs --- basis/alien/libraries/libraries-docs.factor | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/basis/alien/libraries/libraries-docs.factor b/basis/alien/libraries/libraries-docs.factor index bface7f45a..245565d9ed 100755 --- a/basis/alien/libraries/libraries-docs.factor +++ b/basis/alien/libraries/libraries-docs.factor @@ -31,9 +31,8 @@ HELP: dlopen ( path -- dll ) { $notes "This is the low-level facility used to implement " { $link load-library } ". Use the latter instead." } ; HELP: dlsym ( name dll -- alien ) -{ $values { "name" "a C symbol name" } { "dll" "a DLL handle" } { "alien" "an alien pointer" } } -{ $description "Looks up a symbol in a native library. If " { $snippet "dll" } " is " { $link f } " looks for the symbol in the runtime executable." } -{ $errors "Throws an error if the symbol could not be found." } ; +{ $values { "name" "a C symbol name" } { "dll" "a DLL handle" } { "alien" { $maybe alien } } } +{ $description "Looks up a symbol in a native library. If " { $snippet "dll" } " is " { $link f } " looks for the symbol in the runtime executable. If the symbol was not found, outputs " { $link f } "." } ; HELP: dlclose ( dll -- ) { $values { "dll" "a DLL handle" } }