r/linux • u/rastermon • Aug 16 '14
Yet another C object model
https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/
52
Upvotes
r/linux • u/rastermon • Aug 16 '14
View all comments
Show parent comment
1
u/nialv7 Aug 16 '14 edited Aug 16 '14
As for defer, if you are using gcc, you could use:
__attribute__((cleanup(cleanup_function)))