#include <stdlib.h>
#include <oski/malloc.h>
#include <oski/memcpy.h>
#include <oski/sprintf.h>
#include <oski/error.h>
#include <oski/debug.h>
#include <oski/userconst.h>
#include <oski/scalinfo.h>
#include <oski/kerinfo.h>
#include <oski/mattypes.h>
#include <oski/init.h>
#include <oski/structhint.h>
#include <oski/timer.h>
#include <oski/heur.h>
Go to the source code of this file.
Defines | |
#define | INC_OSKI_COMMON_H |
oski/common.h has been included. | |
#define | DECL_C_BEGIN |
Start of a region of C symbols. | |
#define | DECL_C_END |
End of a region of C symbols. | |
#define | MAKE_STRING(x) #x |
"Stringify" argument | |
#define | MACRO_TO_STRING(x) MAKE_STRING(x) |
Expand argument macro, then stringify. | |
#define | OSKI_MIN(a, b) ((a) < (b) ? (a) : (b)) |
Min of a pair of arguments. | |
#define | INVALID_ID ((oski_id_t)0) |
Invalid id number. | |
#define | OSKI_MAKENAME_FUNCPT(name) oski_ ## name ## _funcpt |
Make a function pointer type name of the form, oski_[name]_funcpt. | |
#define | INT_CEIL_DIV(a, b) ((a) / (b)) + (((a) % (b)) > 0) |
Returns the ceiling of a / b, where a and b are integer types. | |
Typedefs | |
typedef size_t | oski_id_t |
Integer identification number type. |
|
Returns the ceiling of a / b, where a and b are integer types. This macro doesn't work if a and b are not integers. |