|
@ -1,4 +1,6 @@ |
|
|
#pragma once |
|
|
#ifndef ORCA_BASE_H |
|
|
|
|
|
#define ORCA_BASE_H |
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
#include <stdio.h> |
|
|
#include <assert.h> |
|
|
#include <assert.h> |
|
|
#include <limits.h> |
|
|
#include <limits.h> |
|
@ -60,6 +62,10 @@ |
|
|
|
|
|
|
|
|
#define staticni ORCA_NOINLINE static |
|
|
#define staticni ORCA_NOINLINE static |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
extern "C" { |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
// Types
|
|
|
// Types
|
|
@ -90,8 +96,6 @@ enum |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
// Utils
|
|
|
// Utils
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
//----------------------------------------------------------------------------------------
|
|
@ -172,3 +176,9 @@ staticni bool read_nxn_or_n(char const *str, int *out_a, int *out_b) |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
}; |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif //ORCA_BASE_H
|
|
|