diff --git a/SQLClient.h b/SQLClient.h index 6a3bd4f..1aeed95 100644 --- a/SQLClient.h +++ b/SQLClient.h @@ -490,7 +490,7 @@ SQLCLIENT_PRIVATE * or -cache:simpleQuery:recordType:listType: methods. *
*/ -- (NSString*) buildQuery: (NSString*)stmt,...; +- (NSString*) buildQuery: (NSString*)stmt, ... NS_REQUIRES_NIL_TERMINATION; /** * Takes the query statement and substitutes in values from @@ -588,7 +588,7 @@ SQLCLIENT_PRIVATE * the number of rows to which the operation applied. Otherwise this * returns -1. */ -- (NSInteger) execute: (NSString*)stmt,...; +- (NSInteger) execute: (NSString*)stmt, ... NS_REQUIRES_NIL_TERMINATION; /** * Takes the statement and substitutes in values from @@ -703,7 +703,7 @@ SQLCLIENT_PRIVATE *Date and timestamp field items are returned as NSDate objects. *
*/ -- (NSMutableArray*) query: (NSString*)stmt,...; +- (NSMutableArray*) query: (NSString*)stmt, ... NS_REQUIRES_NIL_TERMINATION; /** * Takes the query statement and substitutes in values from @@ -744,7 +744,7 @@ SQLCLIENT_PRIVATE /** * Produce a quoted string from the supplied arguments (printf style). */ -- (NSString*) quotef: (NSString*)fmt, ...; +- (NSString*) quotef: (NSString*)fmt, ... NS_FORMAT_FUNCTION(1,2); /** * Convert a big (64 bit) integer to a string suitable for use in an SQL query. @@ -1158,7 +1158,7 @@ SQLCLIENT_PRIVATE * (raising an exception if the query did not contain a single record) * and returns the resulting record. */ -- (SQLRecord*) queryRecord: (NSString*)stmt,...; +- (SQLRecord*) queryRecord: (NSString*)stmt, ... NS_REQUIRES_NIL_TERMINATION; /** * Executes a query (like the -query:,... method) and checks the result.