alien.libraries: fix dlsym docs

db4
Slava Pestov 2009-10-15 22:08:16 -05:00
parent 6641c530d5
commit 36d1cfd3e5
1 changed files with 2 additions and 3 deletions

View File

@ -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" } }