<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>+1!</div><div><br></div><div>1. I assume that attributes are allowed prior to function parameters... from the spec it was not immediately obvious. For example, what about this method:</div><div><br></div><div>VTK_SIZEHINT(sz) double* findOrAddEntries(</div><div>    int key, int sz, VTK_SIZEHINT(sz) double* vals);</div><div><br></div><div>that both accepts and returns a variable-length array (of length sz, one of the other parameters)?</div><div><br></div><div>2. Would you put them in the declaration or implementation? I have a mild preference for the implementation so that the declaration is short and easy to skim.</div><div><br></div><div>    David</div><div><br></div><blockquote type="cite"><div><div dir="ltr"><div>I've put a proposal on the wiki for adding wrapping hints to the</div><div>method declarations in the header files:</div><div><br></div><a href="http://www.vtk.org/Wiki/VTK/Wrapping_hints">http://www.vtk.org/Wiki/VTK/Wrapping_hints</a><br><div><br></div><div>In this proposal, hinting would be done like this:</div><div><br></div><div><div>    VTK_SIZEHINT(3) double* GetPoint();</div></div><div><br></div><div>and we could get rid of the "hints" file.</div><div><br></div><div> - David</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Powered by <a href="http://www.kitware.com">www.kitware.com</a></span><br><span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers">http://markmail.org/search/?q=vtk-developers</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://public.kitware.com/mailman/listinfo/vtk-developers">http://public.kitware.com/mailman/listinfo/vtk-developers</a></span><br><span></span><br></div></blockquote></body></html>