checktype
while (checktype(&spcl, TS_CLRI) == GOOD ||
checktype(&spcl, TS_BITS) == GOOD)
if (checktype(&spcl, TS_END) == GOOD) {
if ((readhdr(&spcl) == GOOD) && (checktype(&spcl, TS_ADDR) == GOOD)) {
if (checktype(header, TS_ADDR) == GOOD) {
if (checktype(header, TS_INODE) == GOOD) {
if (checktype(header, TS_END) == GOOD) {
if (checktype(header, TS_CLRI) == GOOD) {
if (checktype(header, TS_BITS) == GOOD) {
if (checktype(&spcl, TS_CLRI) == FAIL) {
if (checktype(&spcl, TS_BITS) == FAIL) {
checktype(&spcl, TS_END) == GOOD) {
static int checktype(struct s_spcl *, int);
#define ttisstring(o) checktype((o), LUA_TSTRING)
#define ttisfunction(o) checktype(o, LUA_TFUNCTION)