|
From: <and...@us...> - 2006-04-12 21:53:32
|
Revision: 1258 Author: andreradke Date: 2006-04-12 14:53:22 -0700 (Wed, 12 Apr 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1258&view=rev Log Message: ----------- Move definition of BIGSTRING macro, introduced in revision 1254, from frontierdefs.h to standard.h, next to where the other macros dealing with pascal strings are defined. Because frontierdefs.h is included by resource definition files but standard.h is not, this will also hide the macro from resource compilers, some of whom have complained in the past if a macro is too complex. ViewCVS Links: ------------- http://svn.sourceforge.net/frontierkernel/?rev=1254&view=rev Modified Paths: -------------- Frontier/trunk/Common/SystemHeaders/standard.h Frontier/trunk/Common/headers/frontierdefs.h Modified: Frontier/trunk/Common/SystemHeaders/standard.h =================================================================== --- Frontier/trunk/Common/SystemHeaders/standard.h 2006-04-12 21:47:59 UTC (rev 1257) +++ Frontier/trunk/Common/SystemHeaders/standard.h 2006-04-12 21:53:22 UTC (rev 1258) @@ -326,6 +326,8 @@ #define lastchar(bs) (bs [stringlength (bs)-1]) #endif +#define BIGSTRING(s) ((unsigned char *)(s)) + #define setemptystring(bs) (setstringlength(bs,0)) #define isemptystring(bs) (stringlength(bs)==0) Modified: Frontier/trunk/Common/headers/frontierdefs.h =================================================================== --- Frontier/trunk/Common/headers/frontierdefs.h 2006-04-12 21:47:59 UTC (rev 1257) +++ Frontier/trunk/Common/headers/frontierdefs.h 2006-04-12 21:53:22 UTC (rev 1258) @@ -84,9 +84,6 @@ #undef fltracklocaladdresses /*2004-12-08 aradke: disable [buggy] code for tracking deleted local addresses*/ -#define BIGSTRING( s ) ( (unsigned char *)( s ) ) - - #ifdef MACVERSION #define macBirdRuntime 1 #undef appRunsCards /*for Applet Toolkit, Iowa Runtime is baked in*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |