begenning the refactor

This commit is contained in:
2024-03-27 23:03:54 +01:00
parent e5ff232065
commit 6bbf1e196d
131 changed files with 2135 additions and 1192 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/10 08:49:17 by maldavid #+# #+# */
/* Updated: 2024/01/03 15:33:35 by maldavid ### ########.fr */
/* Updated: 2024/03/27 18:25:59 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -138,6 +138,16 @@
#endif
#endif
#if !defined(MLX_FORCEINLINE)
#if defined(MLX_COMPILER_CLANG) || defined(MLX_COMPILER_GCC)
#define MLX_FORCEINLINE __attribute__((always_inline)) inline
#elif defined(MLX_COMPILER_MSVC)
#define MLX_FORCEINLINE __forceinline
#else
#define MLX_FORCEINLINE inline
#endif
#endif
// Checking common assumptions
#ifdef __cplusplus
#include <climits>