Move to using the new constructor that searched for the stdlib
to improve compile time.
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
#include <chaiscript/utility/utility.hpp>
|
||||
|
||||
#include <chaiscript/chaiscript_stdlib.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
chaiscript::ChaiScript chai(chaiscript::Std_Lib::library());
|
||||
chaiscript::ChaiScript chai;
|
||||
|
||||
chai.eval("def func() { print(\"Hello World\"); } ");
|
||||
|
||||
|
Reference in New Issue
Block a user