Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (25 sloc) 0.603 kB
#ifndef RBX_COMPILED_FILE_HPP
#define RBX_COMPILED_FILE_HPP
#include <string>
#include "prelude.hpp"
namespace rubinius {
class Object;
class VM;
class CompiledFile {
public:
std::string magic;
long version;
std::string sum;
private:
std::istream* stream;
public:
CompiledFile(std::string magic, long version, std::string sum,
std::istream* stream) :
magic(magic), version(version), sum(sum),
stream(stream) { }
static CompiledFile* load(std::istream& stream);
Object* body(STATE);
bool execute(STATE);
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.