8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 20:43:03 +01:00
firebird-mirror/src/jrd/jrd_blks.cpp

33 lines
567 B
C++

#include "../jrd/all.h"
plb::alloc_info jrd_alloc_info =
{
jrd_blk_t.type_MIN,
jrd_blk_t.type_MAX,
{
{0, 0},
#define BLKDEF(type, root, tail) { sizeof (struct root), tail },
#include "../jrd/blk.h"
#undef BLKDEF
{0, 0}
},
{
"type_MIN",
#define BLKDEF(type, root, tail) #type,
#include "../jrd/blk.h"
#undef BLKDEF
"type_MAX"
}
#ifdef SUPERSERVER
,
#define BLKDEF(type, root, tail) 0,
{
#include "../jrd/blk.h"
0
#undef BLKDEF
},
sizeof(jrd_alloc_info.all_block_type_count)
#endif
};