Objects Initial
This commit is contained in:
parent
0f639ba3b1
commit
94057d2a66
76 changed files with 7895 additions and 17 deletions
28
Objects/public/primitives/methodobject.h
Normal file
28
Objects/public/primitives/methodobject.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#pragma once
|
||||
|
||||
#include "primitives/stringobject.h"
|
||||
#include "interpreter/script.h"
|
||||
|
||||
namespace obj {
|
||||
|
||||
struct MethodObject : Object {
|
||||
|
||||
static ObjectType TypeData;
|
||||
|
||||
Script* mScript;
|
||||
|
||||
static void constructor(MethodObject* self);
|
||||
static void copy(MethodObject* self, MethodObject* in);
|
||||
static void destructor(MethodObject* self);
|
||||
static tp::alni save_size(MethodObject* self);
|
||||
static void save(MethodObject* self,Archiver& file_self);
|
||||
static void load(Archiver& file_self, obj::MethodObject* self);
|
||||
|
||||
static void Initialize();
|
||||
static void UnInitialize();
|
||||
|
||||
void compile();
|
||||
|
||||
static MethodObject* create(tp::String script);
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue