You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, EASY_END_BLOCK calls cannot use function syntax. For example the following fails to compile:
EASY_BLOCK("Foo");
Foo();
EASY_END_BLOCK();
Currently, the following is required instead:
EASY_BLOCK("Foo");
Foo();
EASY_END_BLOCK;
This differs from other macros such as EASY_FUNCTION(); which allows being called with empty parenthesis. For ease of use, EASY_END_BLOCK should support being called with empty parenthesis.
The text was updated successfully, but these errors were encountered:
The macro EASY_FUNCTION() has parenthesis because it has optional input args. EASY_END_BLOCK does not since it has no input args at all.
However, it is not very good idea to change API which is currently in use. We could create additional macro with parenthesis, but I think it would be better if you will do it on your own by defining/redefing this macro for your project individually.
Currently,
EASY_END_BLOCK
calls cannot use function syntax. For example the following fails to compile:Currently, the following is required instead:
This differs from other macros such as
EASY_FUNCTION();
which allows being called with empty parenthesis. For ease of use,EASY_END_BLOCK
should support being called with empty parenthesis.The text was updated successfully, but these errors were encountered: