Added preprocess only mode (/[SAFE]PPO switch)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6495 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d91176ba49
commit
0bffaecea3
9 changed files with 99 additions and 38 deletions
|
@ -98,3 +98,12 @@ void GrowBuf::resize(int newlen)
|
|||
|
||||
int GrowBuf::getlen() const { return m_used; }
|
||||
void *GrowBuf::get() const { return m_s; }
|
||||
|
||||
void GrowBuf::swap(GrowBuf&other)
|
||||
{
|
||||
std::swap(m_s, other.m_s);
|
||||
std::swap(m_alloc, other.m_alloc);
|
||||
std::swap(m_used, other.m_used);
|
||||
std::swap(m_zero, other.m_zero);
|
||||
std::swap(m_bs, other.m_bs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue