mirror of
https://github.com/corda/corda.git
synced 2025-06-18 23:28:21 +00:00
factor system.cpp and class-finder.cpp out of main.cpp
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
|
||||
|
||||
#include "stdint.h"
|
||||
#include "stdlib.h"
|
||||
#include "stdarg.h"
|
||||
@ -27,6 +29,8 @@
|
||||
|
||||
inline void* operator new(size_t, void* p) throw() { return p; }
|
||||
|
||||
|
||||
|
||||
namespace vm {
|
||||
|
||||
typedef void* object;
|
||||
@ -127,6 +131,6 @@ mask(T* p)
|
||||
return reinterpret_cast<T*>(reinterpret_cast<uintptr_t>(p) & PointerMask);
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace vm
|
||||
|
||||
#endif//COMMON_H
|
||||
|
Reference in New Issue
Block a user