On Thursday 19 November 2009, David Manura wrote: > On Wed, Nov 18, 2009 at 4:58 PM, Alexander Neundorf wrote: > > On Wednesday 18 November 2009, David Manura wrote: > >> That would be better than nothing, though it does have a limitation in > >> that you cannot wrap a function more than once. > > > > Not sure. Have you tried ? > > function(test) > message("1") > endfunction(test) > test() > > function(test) > message("2") > _test() > endfunction(test) > test() # ok > > function(test) > message("3") > _test() > endfunction(test) > test() # infinite loop
Yes, I mean it doesn't automatically change the invocation of _test() to __test(). Does calling __test() call test 1 actually ? (that's what I meant) Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake