Added charsmax() define, as a less typo-prone utility for sizeof(array)-1.

Added any: syntax to all variable args that need it, added proper {Float,_}: tags to some that didn't have it but should have.
This commit is contained in:
Steve Dudenhoeffer
2007-05-18 15:20:34 +00:00
parent 65748001f0
commit 66feed1d2b
7 changed files with 14 additions and 12 deletions

View File

@@ -11,6 +11,8 @@
#endif
#define _string_included
#define charsmax(%1) (sizeof(%1)-1)
/* Checks if source contains string. On success function
* returns position in source, on failure returns -1. */
native contain(const source[],const string[]);