Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
40 lines (29 sloc) 0.653 kb
#ifndef RBX_COMPILED_FILE_HPP
#define RBX_COMPILED_FILE_HPP
#include "prelude.hpp"
#include <string>
#include <istream>
namespace rubinius {
class Object;
class VM;
class CompiledFile {
public:
std::string magic;
uint64_t signature;
int version;
private:
std::istream* stream;
public:
CompiledFile(std::string magic, uint64_t signature, int version,
std::istream* stream)
: magic(magic)
, signature(signature)
, version(version)
, 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.