|
|
Choosing A Webhost: |
rev 227 - in trunk: include/prothon src: msg#00095lang.prothon.cvs
Author: bcollins Date: 2004-03-31 10:07:37 -0500 (Wed, 31 Mar 2004) New Revision: 227 Modified: trunk/include/prothon/prothon.h trunk/src/parser.h Log: Move min/max defaines to prothon.h Modified: trunk/include/prothon/prothon.h =================================================================== --- trunk/include/prothon/prothon.h 2004-03-31 13:11:30 UTC (rev 226) +++ trunk/include/prothon/prothon.h 2004-03-31 15:07:37 UTC (rev 227) @@ -122,6 +122,13 @@ typedef i32_t attr_key_t; typedef struct obj_s* obj_p; +#ifndef min +# define min(a,b) (((a)<(b)) ? (a) : (b)) +#endif /* min */ +#ifndef max +# define max(a,b) (((a)<(b)) ? (b) : (a)) +#endif /* max */ + // neg key value means entry is deleted #define ENTRY_DELETED -1 Modified: trunk/src/parser.h =================================================================== --- trunk/src/parser.h 2004-03-31 13:11:30 UTC (rev 226) +++ trunk/src/parser.h 2004-03-31 15:07:37 UTC (rev 227) @@ -61,13 +61,6 @@ #include "bytecodes.h" #include <stdio.h> -#ifndef min -# define min(a,b) (((a)<(b)) ? (a) : (b)) -#endif /* min */ -#ifndef max -# define max(a,b) (((a)<(b)) ? (b) : (a)) -#endif /* max */ - typedef struct { long param : 24; opcode_t opcode: 8;
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | rev 226 - trunk/src, SVN User |
|---|---|
| Next by Date: | rev 228 - trunk/src, SVN User |
| Previous by Thread: | rev 226 - trunk/src, SVN User |
| Next by Thread: | rev 228 - trunk/src, SVN User |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |