acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
main.h
1
// Created by camilo on 2025-07-31 14:17 <3ThomasBorregaardSørensen!!
2
#pragma once
3
4
5
#include "acme/_operating_system.h"
6
#include "acme/platform/system_setup.h"
7
8
9
10
11
#define APPLICATION_NAMESPACE_MAIN(function) IDENTIFIER_CONCATENATE(IDENTIFIER_CONCATENATE(IDENTIFIER_CONCATENATE(APPLICATION_NAMESPACE, _main), _), function)
12
13
14
#include "acme/inline/_include_user_and_system.h"
15
16
17
#if defined(WINDOWS)
18
#define APPLICATION_NAMESPACE_MAIN_EXPORT CLASS_DECL_APPLICATION_NAMESPACE
19
#else
20
#define APPLICATION_NAMESPACE_MAIN_EXPORT extern "C"
21
#endif
22
23
24
APPLICATION_NAMESPACE_MAIN_EXPORT
void
APPLICATION_NAMESPACE_MAIN(create_system)();
25
26
27
#if defined(WINDOWS)
28
APPLICATION_NAMESPACE_MAIN_EXPORT
void
APPLICATION_NAMESPACE_MAIN(initialize_system)(HINSTANCE hinstanceThis, HINSTANCE hinstancePrev, WCHAR* pCmdLine, ::i32 nCmdShow);
29
APPLICATION_NAMESPACE_MAIN_EXPORT
void
APPLICATION_NAMESPACE_MAIN(initialize_console_system)(::i32 argc, char_pointer argv[], char_pointer envp[]);
30
#elif defined(__ANDROID__)
31
APPLICATION_NAMESPACE_MAIN_EXPORT
void
APPLICATION_NAMESPACE_MAIN(initialize_system)(::i32 argc, char_pointer argv[], char_pointer envp[], const_char_pointer p1, const_char_pointer p2);
32
#else
33
APPLICATION_NAMESPACE_MAIN_EXPORT
void
APPLICATION_NAMESPACE_MAIN(initialize_system)(::i32 argc, char_pointer argv[], char_pointer envp[], const_char_pointer p1, const_char_pointer p2);
34
#endif
35
36
37
APPLICATION_NAMESPACE_MAIN_EXPORT ::i32 APPLICATION_NAMESPACE_MAIN(
main
)();
38
39
40
41
main
Definition
aaa_acme.h:15
inline
application
main.h
Generated by
1.17.0