projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f19e1d
)
Added isc_type, isc_block macros.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Oct 1996 16:44:42 +0000
(16:44 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Oct 1996 16:44:42 +0000
(16:44 +0000)
include/isamc.h
patch
|
blob
|
history
diff --git
a/include/isamc.h
b/include/isamc.h
index
8aa911b
..
c977938
100644
(file)
--- a/
include/isamc.h
+++ b/
include/isamc.h
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: isamc.h,v $
- * Revision 1.1 1996-10-29 13:40:37 adam
+ * Revision 1.2 1996-10-29 16:44:42 adam
+ * Added isc_type, isc_block macros.
+ *
+ * Revision 1.1 1996/10/29 13:40:37 adam
* First work.
*
*/
@@
-54,4
+57,7
@@
int isc_read_item (ISAMC_PP pp, char **dst);
int isc_read_key (ISAMC_PP pp, void *buf);
int isc_numkeys (ISAMC_PP pp);
+#define isc_type(x) ((x) & 7)
+#define isc_block(x) ((x) >> 3)
+
#endif