MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / set_environment

Function set_environment

extlibs/sol3/include/sol/sol.hpp:23781–23783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23779
23780 template <typename T, typename E>
23781 void set_environment(const basic_environment<E>& env, const T& target) {
23782 env.set_on(target);
23783 }
23784
23785 template <typename E = reference, typename T>
23786 basic_environment<E> get_environment(const T& target) {

Callers 5

do_readerMethod · 0.85
do_stringMethod · 0.85
do_fileMethod · 0.85
unsafe_scriptMethod · 0.85
unsafe_script_fileMethod · 0.85

Calls 1

set_onMethod · 0.80

Tested by

no test coverage detected