src/necsus/compiletime/common

Search:
Group by:

The variable used to reference the initial size of any structsThe variable holding the app state instanceThe variable holding a pointer to the app stateProperty that stores the current lifecycle of the appThe variable for identifying the local worldA variable that represents the time that the current tick startedA variable that represents the time that execution started

Lets

appStateIdent {.compileTime.} = ident("appState")
appStatePtr {.compileTime.} = ident("appStatePtr")
confIdent {.compileTime.} = ident("config")
lifecycle {.compileTime.} = ident("lifecycle")
startTime {.compileTime.} = ident("startTime")
thisTime {.compileTime.} = ident("thisTime")
worldIdent {.compileTime.} = ident("world")

Templates

template isFastCompileMode(title: untyped): bool
Returns whether the compiler should elide complicated function content that tends to slow down compilation. This is useful, for example, to speed up IDE integration