<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/6664">View Change</a></p><p>Patch set 2:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p style="white-space: pre-wrap; word-wrap: break-word;">Ah the classic shortcoming of macros.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Minor nit about terminology.</p><p>(2 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/6664/2/include/asterisk/vector.h">File include/asterisk/vector.h:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/6664/2/include/asterisk/vector.h@307">Patch Set #2, Line 307:</a> <code style="font-family:monospace,monospace"> * \param elem Element to insert. MUST BE SCALAR or cast to a scalar.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">A struct works but is not a scalar.  The Element type must be assignable which arrays are not.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Remember vector members don't have to be integers or pointers.  They can be structs.  Some vectors have actually used structs in v15.</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/6664/2/include/asterisk/vector.h@314">Patch Set #2, Line 314:</a> <code style="font-family:monospace,monospace"> * \warning 'elem' must be scalar so passing 'x' where 'x' is defined as 'char x[4]'</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">same</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/6664">change 6664</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6664"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ib960d7f5576f9e1a3c478ecb48995582a574e06d </div>
<div style="display:none"> Gerrit-Change-Number: 6664 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 06 Oct 2017 15:46:56 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>