1
Fork 0

*** empty log message ***

This commit is contained in:
fc_botelho 2009-03-12 02:20:33 +00:00
parent 3d084cf7fa
commit 5e82267a5f
3 changed files with 6 additions and 5 deletions

View File

@ -2,7 +2,7 @@ bin_PROGRAMS = cmph
lib_LTLIBRARIES = libcmph.la lib_LTLIBRARIES = libcmph.la
include_HEADERS = cmph.h cmph_types.h include_HEADERS = cmph.h cmph_types.h
libcmph_la_SOURCES = debug.h\ libcmph_la_SOURCES = debug.h\
bitbool.h bitbool.c\ bitbool.h\
cmph_types.h\ cmph_types.h\
hash.h hash_state.h hash.c\ hash.h hash_state.h hash.c\
jenkins_hash.h jenkins_hash.c\ jenkins_hash.h jenkins_hash.c\

View File

@ -1,3 +0,0 @@
#include "bitbool.h"
const cmph_uint8 bitmask[] = { 1, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, 1 << 6, 1 << 7 };
const cmph_uint8 valuemask[] = { 0xfc, 0xf3, 0xcf, 0x3f};

View File

@ -1,7 +1,11 @@
#ifndef _CMPH_BITBOOL_H__ #ifndef _CMPH_BITBOOL_H__
#define _CMPH_BITBOOL_H__ #define _CMPH_BITBOOL_H__
#include "cmph_types.h" #include "cmph_types.h"
extern const cmph_uint8 bitmask[];
static const cmph_uint8 bitmask[] = { 1, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, 1 << 6, 1 << 7 };
static const cmph_uint8 valuemask[] = { 0xfc, 0xf3, 0xcf, 0x3f};
// extern const cmph_uint8 bitmask[];
/** \def GETBIT(array, i) /** \def GETBIT(array, i)