Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (30 sloc) 1.47 kB
#ifndef RBX_HELPERS_HPP
#define RBX_HELPERS_HPP
namespace rubinius {
class CallFrame;
class Module;
class Class;
class Symbol;
class CompiledMethod;
class VM;
class Object;
class GlobalCacheEntry;
namespace Helpers {
void add_method(VM*, CallFrame* call_frame, Module* mod, Symbol* name, CompiledMethod* meth);
void attach_method(VM*, CallFrame* call_frame, Object* obj, Symbol* name, CompiledMethod* meth);
Object* const_get_under(VM*, Module* under, Symbol* name, bool* found);
Object* const_get(VM*, CallFrame* call_frame, Symbol* name, bool* found);
Object* const_missing_under(VM*, Module* under, Symbol* sym, CallFrame* call_frame);
Object* const_missing(VM*, Symbol* sym, CallFrame* call_frame);
void const_set(VM*, CallFrame* call_frame, Symbol* name, Object* val);
void const_set(VM*, Module* mod, Symbol* name, Object* val);
/** Locate method just as if sending. */
Object* locate_method_on(VM*, CallFrame* call_frame, Object* recv, Symbol* name, Object* priv);
Class* open_class(VM*, CallFrame* call_frame, Object* super, Symbol* name, bool* created);
Class* open_class(VM*, CallFrame* call_frame, Module* under, Object* super, Symbol* name, bool* created);
Module* open_module(VM*, CallFrame* call_frame, Symbol* name);
Module* open_module(VM*, CallFrame* call_frame, Module* under, Symbol* name);
void yield_debugger(VM*, CallFrame* call_frame);
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.