Commit 0c24cf1f authored by Jim Fulton's avatar Jim Fulton

Added macro for automating cast.

parent dd32c9e3
...@@ -94,6 +94,8 @@ typedef struct { ...@@ -94,6 +94,8 @@ typedef struct {
char kind; char kind;
} BTreeItems; } BTreeItems;
#define ITEMS(O)((BTreeItems*)(O))
static PyObject * static PyObject *
newBTreeItems(char kind, newBTreeItems(char kind,
Bucket *lowbucket, int lowoffset, Bucket *lowbucket, int lowoffset,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment