From 95571be5036ac760e82ee86f4faf2418a5a23a32 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 4 May 2013 10:48:46 -0700 Subject: Changes to the ABC data-structures to allow for larger designs. --- src/base/ver/verStream.c | 8 ++++---- src/misc/nm/nmInt.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/base/ver/verStream.c b/src/base/ver/verStream.c index 2cfef1d5..0d16e74d 100644 --- a/src/base/ver/verStream.c +++ b/src/base/ver/verStream.c @@ -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 diff --git a/src/misc/nm/nmInt.h b/src/misc/nm/nmInt.h index 19d688f1..ad914850 100644 --- a/src/misc/nm/nmInt.h +++ b/src/misc/nm/nmInt.h @@ -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 -- cgit v1.2.3