mirror of
https://github.com/corda/corda.git
synced 2025-06-18 23:28:21 +00:00
more work on boot image creation
This commit is contained in:
@ -293,6 +293,15 @@ difference(void* a, void* b)
|
||||
return reinterpret_cast<intptr_t>(a) - reinterpret_cast<intptr_t>(b);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline void*
|
||||
voidPointer(T function)
|
||||
{
|
||||
void* p;
|
||||
memcpy(&p, &function, sizeof(void*));
|
||||
return p;
|
||||
}
|
||||
|
||||
class Machine;
|
||||
class Thread;
|
||||
|
||||
|
Reference in New Issue
Block a user