-
-
Save firegurafiku/cb05eba90ffbadb9a408 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct rfdtd_error_info | |
| function(T arg1, T arg2) { | |
| struct rfdtd_error_info error = RFDTD_NO_ERROR; | |
| CHECK(function(arg1, &arg2)); | |
| CHECK(another_function()); | |
| CHECK(one_more_of_them()); | |
| CHECK(rfdtd_new(&ptr)); | |
| ON_ERROR(function) | |
| goto failure; | |
| NEW(ptr); | |
| f(ptr); | |
| failure: | |
| FREE(ptr); | |
| return error; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment