alien.libraries.finder: fix docs.
parent
445c7f299a
commit
de12140505
|
@ -1,16 +1,22 @@
|
||||||
USING: help.markup help.syntax ;
|
USING: help.markup help.syntax ;
|
||||||
IN: alien.libraries.finder
|
IN: alien.libraries.finder
|
||||||
|
|
||||||
HELP: find-library
|
HELP: find-library*
|
||||||
{ $values
|
{ $values
|
||||||
{ "name" "a shared library name" }
|
{ "name" "a shared library name" }
|
||||||
{ "path/f" "a filesystem path or f" }
|
{ "path/f" "a filesystem path or f" }
|
||||||
}
|
}
|
||||||
{ $description
|
{ $description
|
||||||
"Returns a filesystem path for a plain shared library name, or f if no library can be found."
|
"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
|
{ $description
|
||||||
"Use " { $link find-library } " to load libraries whose exact filenames is not known in advance:"
|
"Used to load libraries whose exact filenames is not known in advance:"
|
||||||
{ $code
|
{ $code
|
||||||
"<< \"sqlite\" \"sqlite3\" find-library cdecl add-library >>"
|
"<< \"sqlite\" \"sqlite3\" find-library cdecl add-library >>"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue