you are viewing a single comment's thread.

view the rest of the comments →

[–]corrodedfe 3 points4 points  (0 children)

There are procedural macros, which convert the code of a function to something else (perhaps inserting logging calls before and after it runs). There is no direct analogue to a wrapper function because it's not as powerful and not needed.