doxygen/tests/upstream-test-suite/011_category.m
Petr Šabata 32cf374a4b RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/doxygen#6b0c5db74b337b843ad543bf84325b6e1ef5d040
2020-10-14 23:50:45 +02:00

31 lines
566 B
Objective-C

// objective: test the \interface and \category command
// check: category_integer_07_arithmetic_08.xml
// check: interface_integer.xml
# import <objc/Object.h>
@interface Integer : Object {
/** data member */
int integer;
}
/** getter */
- (int) integer;
/** setter */
- (id) integer: (int) _integer;
@end
@interface Integer (Arithmetic)
/** add operation */
- (id) add: (Integer *) addend;
/** subtract operation */
- (id) sub: (Integer *) subtrahend;
@end
/** \interface Integer
* An interface
*/
/** \category Integer(Arithmetic)
* A category
*/