Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/WorldAction/SetWorldTimeAction.def

    raa04ae r6ba9ba  
    99
    1010
     11#include "Parameters/Validators/DummyValidator.hpp"
     12
    1113// i.e. there is an integer with variable name Z that can be found in
    1214// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    14 #define paramtypes (int)
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
     16#define paramtypes (unsigned int)
    1517#define paramtokens ("set-world-time")
    1618#define paramdescriptions ("new time step")
    17 #define paramdefaults ("0")
     19#define paramdefaults (PARAM_DEFAULT(0))
    1820#define paramreferences (newtime)
     21#define paramvalids \
     22(DummyValidator< unsigned int >())
    1923
    20 #define statetypes (int)
     24#define statetypes (unsigned int)
    2125#define statereferences (oldtime)
    2226
Note: See TracChangeset for help on using the changeset viewer.