summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-05-04 10:48:46 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-05-04 10:48:46 -0700
commit95571be5036ac760e82ee86f4faf2418a5a23a32 (patch)
treebf03459c90085884eceba6327c698838665780dc
parent14f761950d20a38b13ea330baf9e800b64faae90 (diff)
downloadabc-95571be5036ac760e82ee86f4faf2418a5a23a32.tar.gz
abc-95571be5036ac760e82ee86f4faf2418a5a23a32.tar.bz2
abc-95571be5036ac760e82ee86f4faf2418a5a23a32.zip
Changes to the ABC data-structures to allow for larger designs.
-rw-r--r--src/base/ver/verStream.c8
-rw-r--r--src/misc/nm/nmInt.h4
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