Changes to the ABC data-structures to allow for larger designs.

This commit is contained in:
Alan Mishchenko 2013-05-04 10:48:46 -07:00
parent 14f761950d
commit 95571be503
2 changed files with 6 additions and 6 deletions

View File

@ -38,12 +38,12 @@ struct Ver_Stream_t_
// the input file
char * pFileName; // the input file name
FILE * pFile; // the input file pointer
int nFileSize; // the total number of bytes in the file
int nFileRead; // the number of bytes currently read from file
int nLineCounter; // the counter of lines processed
iword nFileSize; // the total number of bytes in the file
iword nFileRead; // the number of bytes currently read from file
iword nLineCounter; // the counter of lines processed
// temporary storage for data
iword nBufferSize; // the size of the buffer
char * pBuffer; // the buffer
int nBufferSize; // the size of the buffer
char * pBufferCur; // the current reading position
char * pBufferEnd; // the first position not used by currently loaded data
char * pBufferStop; // the position where loading new data will be done

View File

@ -46,8 +46,8 @@ ABC_NAMESPACE_HEADER_START
typedef struct Nm_Entry_t_ Nm_Entry_t;
struct Nm_Entry_t_
{
unsigned Type : 4; // object type
unsigned ObjId : 28; // object ID
unsigned Type; // object type
unsigned ObjId; // object ID
Nm_Entry_t * pNextI2N; // the next entry in the ID hash table
Nm_Entry_t * pNextN2I; // the next entry in the name hash table
Nm_Entry_t * pNameSake; // the next entry with the same name