mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 15:17:46 +00:00
16 lines
478 B
C++
16 lines
478 B
C++
![]() |
#include <chaiscript/chaiscript_stdlib.hpp>
|
||
|
#include <chaiscript/chaiscript.hpp>
|
||
|
#include "ChaiscriptStdLib.h"
|
||
|
#include <boost/make_shared.hpp>
|
||
|
|
||
|
std::shared_ptr< chaiscript::Module > Core::Scripting::create_chaiscript_stdlib()
|
||
|
{
|
||
|
return chaiscript::Std_Lib::library();
|
||
|
}
|
||
|
|
||
|
boost::shared_ptr< chaiscript::ChaiScript > Core::Scripting::create_chaiscript()
|
||
|
{
|
||
|
auto chai = boost::make_shared< chaiscript::ChaiScript >();
|
||
|
//create_chaiscript_bindings( chai );
|
||
|
return chai;
|
||
|
}
|