view c/regexParser/bitVector.h @ 128:f827682d4687 pairPro

fix
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Tue, 01 Dec 2015 22:50:58 +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);