| 300 | } |
| 301 | |
| 302 | inline void Context::registerFunction (const std::string& name, NativeFunction fn) |
| 303 | { |
| 304 | CHOC_ASSERT (pimpl != nullptr); // cannot call this on a moved-from context! |
| 305 | pimpl->registerFunction (name, std::move (fn)); |
| 306 | } |
| 307 | |
| 308 | inline choc::value::Value Context::evaluateExpression (const std::string& javascriptCode) |
| 309 | { |
no outgoing calls