Improve starting of the game and reduce persistent memory usage

This commit is contained in:
2023-04-17 20:21:32 +02:00
parent e6042808ee
commit e833b758cc
6 changed files with 25 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
#ifndef __JABYENGINE__HPP__
#define __JABYENGINE__HPP__
#include "../stdint.h"
#include "jabyengine_defines.h"
namespace JabyEngine {
typedef void (*MainRoutine)();

View File

@@ -6,6 +6,7 @@
#define __used __attribute__((used))
#define __no_align __attribute__((packed))
#define __no_inline __attribute__((noinline))
#define __no_return __attribute__((noreturn))
#define __always_inline __attribute__((always_inline))
#define __section(name) __attribute__((section(name)))
#define __collect(...) __VA_ARGS__