From e7372dcf5f78bbd7c5fb93d35229c25818215c32 Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Wed, 12 Apr 2017 08:44:58 +0800 Subject: [PATCH] Add Implements of GetArgc and GetArgv --- MiniEngine.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/MiniEngine.cpp b/MiniEngine.cpp index 85dbc05..0523f20 100644 --- a/MiniEngine.cpp +++ b/MiniEngine.cpp @@ -1346,3 +1346,13 @@ int main(int argc, char* argv[]) MiniEngine::SDLSystem::Quit(); return ret; } + +int GetArgc() +{ + return _miniengine_argc; +} + +char** GetArgv() +{ + return _miniengine_argv; +}