Added CommandLine data accessors.

This commit is contained in:
Branimir Karadžić
2017-09-25 17:50:40 -07:00
parent d75a95aa4f
commit 0aba6a7ba7
2 changed files with 16 additions and 0 deletions

View File

@@ -319,4 +319,14 @@ namespace bx
return NULL;
}
int32_t CommandLine::getNum() const
{
return m_argc;
}
char const* CommandLine::get(int32_t _idx) const
{
return m_argv[_idx];
}
} // namespace bx