Add a static kType field to all objects

This commit is contained in:
Dr. Chat
2015-11-12 19:01:55 -06:00
parent b970b970f0
commit 7fc22f1987
9 changed files with 18 additions and 0 deletions

View File

@@ -57,6 +57,8 @@ class XModule : public XObject {
kUserModule = 1,
};
static const Type kType = kTypeModule;
XModule(KernelState* kernel_state, ModuleType module_type,
const std::string& path);
virtual ~XModule();