Commit c26cd472ef88b107de56bb2c845d3df9bfb6be8c
Update comment on engine/variables:clear_variables
Seems to have been wrong from the start, "internal" variables are
builtin variables and they are cleared.
Author: xaizek
Author date (UTC): 2026-08-05 14:20
Committer name: xaizek
Committer date (UTC): 2026-08-05 14:20
Parent(s): 31bcd6aa384a15465f86d5c86c348d3fa2c0b136
Signing key: 99DC5E4DB05F6BE2
Tree: 2c773bd67999ccee77ea062cc86f4049e95aed43
| File src/engine/variables.h changed (mode: 100644) (index 9f9695573..ed9c7809a) |
| ... |
... |
var_t getvar(const char varname[]); |
| 50 |
50 |
int setvar(const char varname[], var_t var); |
int setvar(const char varname[], var_t var); |
| 51 |
51 |
|
|
| 52 |
52 |
/* Removes all variables and resets environment variables to their initial |
/* Removes all variables and resets environment variables to their initial |
| 53 |
|
* values. Doesn't remove builtin variables. */ |
|
|
53 |
|
* values. */ |
| 54 |
54 |
void clear_variables(void); |
void clear_variables(void); |
| 55 |
55 |
|
|
| 56 |
56 |
/* Removes all defined environment variables and resets environment variables to |
/* Removes all defined environment variables and resets environment variables to |