1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00
Files
OpenRCT2/src/openrct2/interface
Tom Lankhorst 01a52d236c Use vector<string> in InteractiveConsole
Issue #8597 shows Valgrind result indicating a memory leak in
InteractiveConsole. This is fixed in #8619 by ensuring that free() is
called appropriately.
This commit takes that a step further by removing all manual memory
management in favour of using vector<string>.

- argc is now gone in favour of argv.empty()/argv.size()
- argv_t is a vector of strings of utf8's
- console_command_func's signature is changed accordingly
2019-01-24 16:12:49 +01:00
..
2018-07-23 16:00:04 +02:00
2018-07-23 16:00:04 +02:00
2018-12-20 22:29:16 +01:00
2018-07-23 16:00:04 +02:00
2018-07-23 16:00:04 +02:00
2018-07-23 16:00:23 +02:00
2018-07-23 16:00:22 +02:00
2018-07-23 16:00:23 +02:00
2018-07-23 16:00:04 +02:00
2018-07-23 16:00:04 +02:00
2018-07-23 16:00:04 +02:00
2019-01-22 19:45:56 +01:00
2019-01-22 19:45:56 +01:00
2018-07-23 16:00:22 +02:00
2018-07-23 16:00:04 +02:00
2019-01-12 10:11:55 +00:00