BlinkenArea - GitList
Repositories
Blog
Wiki
BlinkenLib
Code
Commits
Branches
Tags
Search
Tree:
bad3255
Branches
Tags
master
v0.1
v0.2
v0.3
v0.3.1
v0.4
v0.4.1
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.10
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.8.0
v0.8.1
BlinkenLib
Tools.h
BlinkenLib v.0.5.4 (2008-01-10)
Christian Heimke
commited
bad3255
at 2011-07-15 09:05:43
Tools.h
Blame
History
Raw
/* BlinkenLib * version 0.5.4 date 2008-01-10 * Copyright 2004-2008 Stefan Schuermans <stefan@schuermans.info> * Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html * a blinkenarea.org project */ #ifndef INC_Tools #define INC_Tools #ifndef maxi #define maxi( a, b ) ((a) > (b) ? (a) : (b)) #endif #ifndef mini #define mini( a, b ) ((a) < (b) ? (a) : (b)) #endif #ifndef arr_cnt #define arr_cnt( arr ) (sizeof( (arr) ) / sizeof( (arr)[0] )) #endif void * malloc1D( int count1, int size ); void * * malloc2D( int count1, int count2, int size ); #endif //#ifndef INC_Tools