Peter Hosey committed a24bd35

Use NS_REQUIRES_NIL_TERMINATION here, enabling clients to get a warning when they don't fulfill that requirement.

Comments (0)

Files changed (1)

 //taskWithProgramNameAndArguments: passes the array to argumentsIncludingProgramName (see below).
 + (id) taskWithProgramNameAndArguments:(NSArray *)arguments;
 //Wraps taskWithProgramNameAndArguments:, enabling you to pass the name and arguments individually without rolling them into an array yourself first.
-+ (id) taskWithProgramName:(NSString *)name arguments:(id)arg1, ...;
++ (id) taskWithProgramName:(NSString *)name arguments:(id)arg1, ... NS_REQUIRES_NIL_TERMINATION;
 //init works, too.