This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| feb91b43 » | evanphx | 2008-05-07 | 1 | #ifndef RBX_BUILTIN_EXECUTABLE_HPP | |
| 2 | #define RBX_BUILTIN_EXECUTABLE_HPP | ||||
| 3 | |||||
| 4 | namespace rubinius { | ||||
| 5 | |||||
| 6 | class MemoryPointer; | ||||
| 7 | |||||
| 8 | class Executable : public BuiltinType { | ||||
| 9 | public: | ||||
| 10 | const static size_t fields = 4; | ||||
| 11 | const static object_type type = ExecutableType; | ||||
| 12 | |||||
| 13 | OBJECT __ivars__; // slot | ||||
| 14 | SYMBOL primitive; // slot | ||||
| 15 | FIXNUM serial; // slot | ||||
| 16 | MemoryPointer* compiled; // slot readonly | ||||
| 17 | |||||
| 18 | class Info : public TypeInfo { | ||||
| 19 | public: | ||||
| 20 | Info(object_type type) : TypeInfo(type) { } | ||||
| 21 | virtual void set_field(STATE, OBJECT target, size_t index, OBJECT val); | ||||
| 22 | virtual OBJECT get_field(STATE, OBJECT target, size_t index); | ||||
| 23 | }; | ||||
| 24 | }; | ||||
| 25 | |||||
| 26 | } | ||||
| 27 | |||||
| 28 | |||||
| 29 | #endif | ||||







