<p>Err, for a newly added API this seems rather strange:</p>

<ul>
<li>* Expand macro into buffer.</li>
<li>* <a href="https://github.com/deprecated" class="user-mention">@deprecated</a> Use rpmExpand().</li>
<li>* <a href="https://github.com/todo" class="user-mention">@todo</a> Eliminate from API.</li>
<li>* <a href="https://github.com/param" class="user-mention">@param</a> spec         cookie (unused)</li>
</ul>

<p>Also all new exported symbols should be namespaced, expandBuffer() is an ancient artifact from the early days of rpm when such things were not given much consideration. I'd also suggest dropping the unused spec argument, I dont think it was ever used by expandBuffer() either, and perhaps add a flags argument instead as a room for expansion.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/rpm-software-management/rpm/pull/32#issuecomment-158876132">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb808QKP-Tw8LGC2wCn0_3Xbt54HC0Xks5pIsYWgaJpZM4GkCmC.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/32#issuecomment-158876132"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>