moved inline func out of instantiate ifdef
This commit is contained in:
@@ -799,6 +799,28 @@ inline const char * stringId::resourceName () const
|
||||
return this->pStr;
|
||||
}
|
||||
|
||||
//
|
||||
// const unsigned stringId::minIndexBitWidth ()
|
||||
//
|
||||
// this limit is based on limitations in the hash
|
||||
// function below
|
||||
//
|
||||
inline const unsigned stringId::minIndexBitWidth ()
|
||||
{
|
||||
return 8;
|
||||
}
|
||||
|
||||
//
|
||||
// const unsigned stringId::maxIndexBitWidth ()
|
||||
//
|
||||
// see comments related to this limit in the hash
|
||||
// function below
|
||||
//
|
||||
inline const unsigned stringId::maxIndexBitWidth ()
|
||||
{
|
||||
return 16;
|
||||
}
|
||||
|
||||
#ifdef instantiateRecourceLib
|
||||
|
||||
//
|
||||
@@ -823,28 +845,6 @@ stringId::stringId (const char * idIn, allocationType typeIn) :
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// const unsigned stringId::minIndexBitWidth ()
|
||||
//
|
||||
// this limit is based on limitations in the hash
|
||||
// function below
|
||||
//
|
||||
inline const unsigned stringId::minIndexBitWidth ()
|
||||
{
|
||||
return 8;
|
||||
}
|
||||
|
||||
//
|
||||
// const unsigned stringId::maxIndexBitWidth ()
|
||||
//
|
||||
// see comments related to this limit in the hash
|
||||
// function below
|
||||
//
|
||||
inline const unsigned stringId::maxIndexBitWidth ()
|
||||
{
|
||||
return 16;
|
||||
}
|
||||
|
||||
//
|
||||
// stringId::show ()
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user