view c/regexParser/bitVector.h @ 117:166136236891 pairPro

add header files
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Wed, 25 Nov 2015 14:58:03 +0900
parents 66c633575b53
children c292c67b3100
line wrap: on
line source

#include "regexParser.h"

#define BITBLOCK (sizeof(unsigned long) * 8)
typedef struct bitVector {
    int arrayNum;
    unsigned long *bitContainer;
}BitVector,*BitVectorPtr;

typedef struct bitVectorList {
    bitVectorList *self;
    BitVectorPtr bi;
    bitVectorList* initBvl;
    bitVectorList* next[256];
    bool isLoopAnker;
    bool isLoop;
}BitVectorList, *BitVectorListPtr;

BitVectorListPtr createBitVector(NodePtr,BitVectorListPtr);
BitVectorPtr bitSet(int);
void bitPrint(BitVectorPtr);