Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 1.446 kb
#ifndef RBX_HELPERS_HPP
#define RBX_HELPERS_HPP
namespace rubinius {
struct CallFrame;
class Module;
class Class;
class Symbol;
class CompiledCode;
class State;
class Object;
class GlobalCacheEntry;
class Tuple;
namespace Helpers {
Object* const_get_under(State*, Module* under, Symbol* name, bool* found, Object* filter = NULL);
Object* const_get(State*, CallFrame* call_frame, Symbol* name, bool* found, Object* filter = NULL);
Object* const_missing_under(State*, Module* under, Symbol* sym, CallFrame* call_frame);
Object* const_missing(State*, Symbol* sym, CallFrame* call_frame);
void const_set(State*, CallFrame* call_frame, Symbol* name, Object* val);
void const_set(State*, Module* mod, Symbol* name, Object* val);
/** Locate method just as if sending. */
Tuple* locate_method_on(State*, CallFrame* call_frame, Object* recv, Symbol* name, Object* priv);
Class* open_class(State*, GCToken gct, CallFrame* call_frame, Object* super, Symbol* name, bool* created);
Class* open_class(State*, GCToken gct, CallFrame* call_frame, Module* under, Object* super, Symbol* name, bool* created);
Module* open_module(State*, GCToken gct, CallFrame* call_frame, Symbol* name);
Module* open_module(State*, GCToken gct, CallFrame* call_frame, Module* under, Symbol* name);
bool yield_debugger(State*, GCToken gct, CallFrame* call_frame, Object* bp);
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.