<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 20, 2015 at 7:17 AM, David Lonie <span dir="ltr"><<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Thu, Mar 19, 2015 at 5:54 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><span>On Thu, Mar 19, 2015 at 2:28 PM, David Lonie <span dir="ltr"><<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>></span> wrote:<br></span><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">2) If so, how can I teach the wrappers about it?<br></div></blockquote></span></span><span><span><div><br></div></span><div>Adding things like this to Tcl is easier than for Java or Python, but it's more than an afternoon's work.</div></span></div></div></div></blockquote><div><br></div><div>One more thing:</div><div><br></div><div>If you know offhand, can you briefly outline the steps that are needed to do this? That might help clarify whether the maintenance burden is excessive or not. Would it be a one-time deal that would teach Tcl how to wrap all similar methods, or would it need to be repeated for every similar method that gets added?</div></div></div></div></blockquote><div><br></div><div>My brief outline is this: find the code in vtkWrapTcl.c that builds arrays to be used as return values, and then do something similar for this new kind of method signature, except have it assign a global name (whatever name was passed as a parameter) to the new array instead of returning it.  If it is done for this method, it should work for all similar methods.</div><div><br></div><div> - David</div></div></div></div>