mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
789 B
35 lines
789 B
////////////////////////////////////////////////////////////////////////////////
|
|
// Inline utility functions.
|
|
|
|
inline BOOL DBI1::packProcRefToGS (PSYM psym, IMOD imod, OFF off, OFF *poff)
|
|
{
|
|
return pgsiGS->packProcRef(psym, imod, off, poff);
|
|
}
|
|
|
|
inline BOOL DBI1::packSymToGS (PSYM psym, OFF *poff)
|
|
{
|
|
return pgsiGS->packSym(psym, poff);
|
|
}
|
|
|
|
|
|
inline BOOL DBI1::packSymToPS (PSYM psym)
|
|
{
|
|
return pgsiPS->packSym(psym);
|
|
}
|
|
|
|
inline BOOL DBI1::decRefCntGS (OFF off)
|
|
{
|
|
return pgsiGS->decRefCnt(off);
|
|
}
|
|
|
|
|
|
inline BOOL DBI1::fAddSym(PSYM psymIn, OUT PSYM* psymOut)
|
|
{
|
|
expect(fAlign(cbForSym(psymIn)));
|
|
return bufSymRecs.Append((PB)psymIn, cbForSym(psymIn), (PB*)psymOut);
|
|
}
|
|
|
|
inline BOOL Mod1::addFileInfo(IFILE ifile, SZ_CONST szFile)
|
|
{
|
|
return pdbi1->addFileInfo(imod, ifile, stForSz(szFile));
|
|
}
|