summaryrefslogtreecommitdiff
path: root/orc/orcutils.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-05-28 18:04:06 -0700
committerDavid Schleef <ds@schleef.org>2009-05-28 18:04:06 -0700
commitfe983ac3b41c6e66698b60447b098d9312931cde (patch)
tree35146bba5ccbf7182dc5cc505409808a71187820 /orc/orcutils.h
parent00bd494c150b88ec7889a1e77aaecd1557e3dc30 (diff)
downloadorc-fe983ac3b41c6e66698b60447b098d9312931cde.tar.gz
Fix up documentation
Diffstat (limited to 'orc/orcutils.h')
-rw-r--r--orc/orcutils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/orc/orcutils.h b/orc/orcutils.h
index 31b685e..79ad8e1 100644
--- a/orc/orcutils.h
+++ b/orc/orcutils.h
@@ -42,7 +42,6 @@ typedef unsigned int orc_bool;
#ifdef ORC_ENABLE_UNSTABLE_API
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
-#define DIVIDE_ROUND_UP(a,b) (((a) + (b) - 1)/(b))
#ifndef MIN
#define MIN(a,b) ((a)<(b) ? (a) : (b))
#endif
@@ -53,12 +52,6 @@ typedef unsigned int orc_bool;
#define ORC_CLAMP(x,a,b) ((x)<(a) ? (a) : ((x)>(b) ? (b) : (x)))
#endif
#define ORC_PTR_TO_INT(x) ((int)(long)(x))
-#define ROUND_UP_SHIFT(x,y) (((x) + (1<<(y)) - 1)>>(y))
-#define ROUND_UP_POW2(x,y) (((x) + (1<<(y)) - 1)&((~0)<<(y)))
-#define ROUND_UP_2(x) ROUND_UP_POW2(x,1)
-#define ROUND_UP_4(x) ROUND_UP_POW2(x,2)
-#define ROUND_UP_8(x) ROUND_UP_POW2(x,3)
-#define ROUND_SHIFT(x,y) (((x) + (1<<((y)-1)))>>(y))
#define ORC_READ_UINT32_LE(ptr) \
((uint32_t)( \