factor/basis/alien/libraries/finder/finder-docs.factor

25 lines
674 B
Factor
Raw Normal View History

USING: help.markup help.syntax ;
IN: alien.libraries.finder
2014-06-08 21:08:26 -04:00
HELP: find-library*
{ $values
{ "name" "a shared library name" }
2015-12-11 20:05:45 -05:00
{ "path/f" { $maybe "filesystem path" } }
}
{ $description
"Returns a filesystem path for a plain shared library name, or f if no library can be found."
2014-06-08 21:08:26 -04:00
} ;
HELP: find-library
{ $values
{ "name" "a shared library name" }
{ "path/library-not-found" "a filesystem path or " { $snippet "name" } }
}
2014-06-08 21:08:26 -04:00
{ $description
"Used to load libraries whose exact filenames is not known in advance:"
{ $code
"<< \"sqlite\" \"sqlite3\" find-library cdecl add-library >>"
}
"Note the parse time evaluation with " { $link POSTPONE: << } "."
} ;