Change to AEArrayEnumerate; may cause "Too many arguments provided to function-like macro invocation
Hey guys - if you're using AEArrayEnumerate and seeing "Too many arguments provided to function-like macro invocation" with the latest commits of TAAE2, you need to adjust your usage. I had to change the enumeration macro because it turned out to be a nightmare for debugging, as the compiler didn't encode the correct line number information.
So, the old usage was:
AEArrayEnumeratePointers(array, MyType *, item, {
foo(item);
});
Now it's:
AEArrayEnumeratePointers(array, MyType *, item) {
foo(item);
}
Comments
Thanks for the update!