builder: provide wrapper for randomized function init name
authorDaniel Kochmański <daniel@turtleware.eu>
Fri, 2 Oct 2015 10:51:22 +0000 (12:51 +0200)
committerDaniel Kochmański <daniel@turtleware.eu>
Fri, 2 Oct 2015 11:01:04 +0000 (13:01 +0200)
commit68fa3985c6619926dd8cebf7fcde3c44a750e010
tree9bd5ee1a6a3358e3d402d59edad470be4f312163
parent4548ed7c4cd9a428d95695b6528e55d6d80cb11c
builder: provide wrapper for randomized function init name

Randomized init funciton name is used internally and prevents symbol
clashes which lead to bugs when loading systems of the same name
(bundles for instance).

On the other hand wrapper provides a way to initialize library from
the C code. In this case it is programmer responsibility to name his
system uniquely. It will initialize it's submodules fine.

Fixes #74. Fixes #177.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
src/cmp/cmpmain.lsp
src/cmp/cmpname.lsp