common.h File Reference


Detailed Description

A maximal set of system-independent prototypes and definitions widely useful to all of the BeBOP library's sub-modules.

#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.


Define Documentation

#define INT_CEIL_DIV a,
 )     ((a) / (b)) + (((a) % (b)) > 0)
 

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.


Generated on Wed Sep 19 16:41:21 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6