On Fri, 21 Sep 2012 11:41:35 +0100, andy pugh wrote: > On 21 September 2012 11:32, Dave Caroline > <[email protected]> wrote: >> I think this is what you want to read >> http://www.swig.org/Doc1.3/Varargs.html > > Which seems to say "It's too hard, without our particular library" > > So, back to plan A then (concatenating one format at a time)
varargs can be done, but it is rather tedious. So no, you do not have to have "[their] particular library". My suggestion is to count up how many places you want/need to do this in the LinuxCNC code, and get a sense how complicated the formatted strings are. That being said, concatenating one format at a time is a LOT easier and probably maintainable... YMMV EBo -- ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
