comparison c/regexParser/bitVectorNode.cc @ 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
comparison
equal deleted inserted replaced
116:66c633575b53 117:166136236891
1 #include <stdio.h> 1 #include <stdio.h>
2 #include <stdlib.h> 2 #include <stdlib.h>
3 #include <ctype.h> 3 #include <ctype.h>
4 #include "bitVector.h" 4 #include "bitVectorNode.h"
5
6 extern BitVectorPtr bitSet(int);
7 BitVectorListPtr allocateBitVectorList();
8 BitVectorListPtr initBitVector();
9 5
10 BitVectorListPtr allocateBitVectorList() { 6 BitVectorListPtr allocateBitVectorList() {
11 BitVectorListPtr bvl = (BitVectorListPtr)malloc(sizeof(BitVectorList)); 7 BitVectorListPtr bvl = (BitVectorListPtr)malloc(sizeof(BitVectorList));
12 if (bvl == NULL) { 8 if (bvl == NULL) {
13 fprintf(stderr, "Failed to allocate memory.\n"); 9 fprintf(stderr, "Failed to allocate memory.\n");