mirror of
https://github.com/paboyle/Grid.git
synced 2025-12-18 03:34:40 +00:00
Hadrons: everything is broken, repairing while implementing the new memory model
This commit is contained in:
@@ -88,6 +88,12 @@ static ns##mod##ModuleRegistrar ns##mod##ModuleRegistrarInstance;
|
||||
|
||||
#define ARG(...) __VA_ARGS__
|
||||
|
||||
#define mCreateObj(type, name, Ls, ...)\
|
||||
env().template createObject<type>(name, Ls, __VA_ARGS__)
|
||||
|
||||
#define mGetObj(type, name)\
|
||||
*env().template getObject<type>(name)
|
||||
|
||||
/******************************************************************************
|
||||
* Module class *
|
||||
******************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user