mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Clean up OS-specific initialization
This commit is contained in:
parent
ad5e9aa5e3
commit
93c2aff2cf
5 changed files with 84 additions and 98 deletions
|
@ -301,6 +301,9 @@ inline const char *getPlatformName()
|
|||
|
||||
bool secure_rand_fill_buf(void *buf, size_t len);
|
||||
|
||||
// Call once near beginning of main function.
|
||||
void osSpecificInit();
|
||||
|
||||
// This attaches to the parents process console, or creates a new one if it doesnt exist.
|
||||
void attachOrCreateConsole();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue