diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 13:14:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 13:14:57 +0400 |
commit | 905c8168348bc67664dd90e45d2b0104fb3cfc2e (patch) | |
tree | 17587866156658c50fc77444c475204577365185 /source | |
parent | 8d1b289b78be3fc781aacfc55688a83425f1720e (diff) |
Doxy comment for main()
Diffstat (limited to 'source')
-rw-r--r-- | source/creator/creator.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 6cf86c42eaf..249b18e050e 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -1478,12 +1478,21 @@ char **environ = NULL; # endif #endif - +/** + * Blender's main function responsabilities are: + * - setup subsystems. + * - handle arguments. + * - run WM_main() event loop, + * or exit when running in background mode. + */ +int main( + int argc, #ifdef WIN32 -int main(int argc, const char **UNUSED(argv_c)) /* Do not mess with const */ + const char **UNUSED(argv_c) #else -int main(int argc, const char **argv) + const char **argv #endif + ) { bContext *C; SYS_SystemHandle syshandle; |