celtic / rubyex

a Ruby VM/interpreter

This URL has Read+Write access

rubyex / vm / eval_hook.cxx
100644 9 lines (7 sloc) 0.226 kb
1
2
3
4
5
6
7
8
9
#include "eval_hook.h"
#include "rexception.h"
#include <iostream>
 
RubyValue eval_hook(linked_ptr<Binding> &_b, RubyValue, const std::string &)
{
  throw WorldException(_b, _b->environment.RuntimeError, "no eval() in VM");
}