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
This commit is contained in:
Tom Lankhorst authored and Michael Steenbeek committed 2019-01-24 16:12:49 +01:00
1 parent 247e89eb53
commit 01a52d236c
1 file changed
+194 -213
File diff suppressed because it is too large. Load diff