MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / main

Function main

unittests/multifile_test_main.cpp:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <chaiscript/chaiscript_basic.hpp>
5
6int main()
7{
8 Multi_Test_Chai chaitest;
9 Multi_Test_Module chaimodule;
10
11 std::shared_ptr<chaiscript::ChaiScript_Basic> chai = chaitest.get_chai();
12 chai->add(chaimodule.get_module());
13 return chai->eval<int>("get_module_value()");
14}

Callers

nothing calls this directly

Calls 3

get_chaiMethod · 0.80
get_moduleMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected