RosettaCodeData/Task/Documentation/Objective-C/documentation.m

12 lines
213 B
Objective-C

/*!
@function add
@abstract Adds two numbers
@discussion Use add to sum two numbers.
@param a an integer.
@param b another integer.
@return the sum of a and b
*/
int add(int a, int b) {
return a + b;
}