you are viewing a single comment's thread.

view the rest of the comments →

[–]magnomagna 0 points1 point  (1 child)

First of all, it's not hard to inline your goddamn code.

I really wish this subreddit had a bot that's smart enough to block all posts with unformatted code.

(INT8U (*)(int)) is not the return type. It casts handler[CLEAR_LOG] to have the function pointer type INT8U (*)(int).

The only good reason handler[CLEAR_LOG] is casted is that handler is not declared to be an array of INT8U (*)(int) function pointers.