GNOME Bugzilla – Bug 720046
Document inline objective-C blocks
Last modified: 2013-12-24 19:00:02 UTC
In this file: . . . http://www.typhoonframework.org/docs/latest/api/interface_typhoon_patcher.html the method parameters containing inline blocks don't show up correctly. Is there a way to fix this? Do typedef'd blocks work? Here's is the source for the file being documented: https://github.com/jasperblues/Typhoon/blob/master/Source/Test/TyphoonTestUtils.h
With typedef it should already work. You can associate the typedef's with the interface using @relates, i.e. /** @relates TyphoonTestUtils */ typedef BOOL (^TyphoonAsynchConditionBlock)(); /** @relates TyphoonTestUtils */ typedef void (^TyphoonTestAssertionsBlock)(); An alternative to document globals is using @file.
Yes, confirmed that it works with typedef. Updated the StackOverflow issue to recommend work-around: http://stackoverflow.com/questions/20441528/doxygen-document-method-taking-in-line-block
Using block types inline should be fixed in the next GIT update.
Great! Just a quick question: How do git updates relate to version numbers . . I think we need a tag do publish a spec to MacPorts, Homebrew, etc? (I usually install Doxygen via MacPorts, given I'm on OSX most of the time lately).
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.6. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferrably in the form of a self-contained example).