ex_libinit

This example shows how to prepare SC environment to work. SC is linked as a static library.

In this example you can see how to initialize the environment. After initialization you must create a virtual machine that will handle scripts. There is also exported one function that prints a null terminated string in the console. This function will be used , of course, to write "Hello world!" from the script.