add ability to override entry point type

This commit is contained in:
Nikita Smith
2024-11-07 11:54:25 -08:00
parent ce9d43a92e
commit 0dd05169ee
5 changed files with 28 additions and 9 deletions
+4
View File
@@ -342,7 +342,11 @@ internal OS_Guid os_make_guid(void);
// into the standard codebase program entry points, named "entry_point".
#if BUILD_ENTRY_DEFINING_UNIT
# if BASE_ENTRY_POINT_ARGCV
internal void entry_point(int argc, char **argv);
# else
internal void entry_point(CmdLine *cmdline);
#endif
#endif
#endif // OS_CORE_H