alien.libraries.finder: fix docs.

db4
John Benediktsson 2014-06-08 18:08:26 -07:00
parent 445c7f299a
commit de12140505
1 changed files with 9 additions and 3 deletions

View File

@ -1,16 +1,22 @@
USING: help.markup help.syntax ;
IN: alien.libraries.finder
HELP: find-library
HELP: find-library*
{ $values
{ "name" "a shared library name" }
{ "path/f" "a filesystem path or f" }
}
{ $description
"Returns a filesystem path for a plain shared library name, or f if no library can be found."
} ;
HELP: find-library
{ $values
{ "name" "a shared library name" }
{ "path/library-not-found" "a filesystem path or " { $snippet "name" } }
}
{ $examples
"Use " { $link find-library } " to load libraries whose exact filenames is not known in advance:"
{ $description
"Used to load libraries whose exact filenames is not known in advance:"
{ $code
"<< \"sqlite\" \"sqlite3\" find-library cdecl add-library >>"
}