|
27 | 27 | - getOutputSoFar, getOutputSizeSoFar, getCurrentLineNumberInOutput |
28 | 28 | - outputValue, outputLua, outputLuaTemplate |
29 | 29 | - startInterceptingOutput, stopInterceptingOutput |
30 | | - Macros (search for 'PredefinedMacros'): |
| 30 | + Macros: |
31 | 31 | - ASSERT |
32 | 32 | - LOG |
33 | | - Search this file for 'EnvironmentTable' for more info. |
| 33 | + Search this file for 'EnvironmentTable' and 'PredefinedMacros' for more info. |
34 | 34 |
|
35 | 35 | Exported stuff from the library: |
36 | 36 | - (all the functions above) |
|
127 | 127 |
|
128 | 128 |
|
129 | 129 |
|
130 | | -local PP_VERSION = "1.16.0-dev" |
| 130 | +local PP_VERSION = "1.17.0" |
131 | 131 |
|
132 | 132 | local MAX_DUPLICATE_FILE_INSERTS = 1000 -- @Incomplete: Make this a parameter for processFile()/processString(). |
133 | 133 |
|
@@ -1873,8 +1873,8 @@ end |
1873 | 1873 |
|
1874 | 1874 | -- ASSERT() |
1875 | 1875 | -- @@ASSERT( condition [, message=auto ] ) |
1876 | | --- Macro. Does nothing if params.release is set, otherwise calls error() if |
1877 | | --- the condition fails. The message is only evaluated if the condition fails. |
| 1876 | +-- Macro. Does nothing if params.release is set, otherwise calls error() if the |
| 1877 | +-- condition fails. The message argument is only evaluated if the condition fails. |
1878 | 1878 | function metaFuncs.ASSERT(conditionCode, messageCode) |
1879 | 1879 | errorIfNotRunningMeta(2) |
1880 | 1880 | if not conditionCode then error("missing argument #1 to 'ASSERT'", 2) end |
@@ -1903,8 +1903,8 @@ end |
1903 | 1903 | -- Macro. Does nothing if logLevel is lower than params.logLevel, |
1904 | 1904 | -- otherwise prints a value[1] or a formatted message[2]. |
1905 | 1905 | -- |
1906 | | --- logLevel can be "error" (level 1), "warning" (level 2), |
1907 | | --- "info" (level 3), "debug" (level 4) or "trace" (level 5). |
| 1906 | +-- logLevel can be "error", "warning", "info", "debug" or "trace" |
| 1907 | +-- (from highest to lowest priority). |
1908 | 1908 | -- |
1909 | 1909 | function metaFuncs.LOG(logLevelCode, valueOrFormatCode, ...) |
1910 | 1910 | errorIfNotRunningMeta(2) |
|
0 commit comments