Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1:/tmp/cvs-serv19195/src
Modified Files: z_strings.c Log Message: use a macro STATIC_INLINE since i cannot convince vc6 to compile inline functions
Index: z_strings.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/z_strings.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** z_strings.c 5 Aug 2003 14:27:57 -0000 1.5 --- z_strings.c 30 Dec 2003 12:07:09 -0000 1.6 *************** *** 6,10 **** #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) ! #define sqrtf sqrt #endif
--- 6,13 ---- #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) ! #define sqrtf sqrt ! #define STATIC_INLINE ! #else ! #define STATIC_INLINE static #endif
*************** *** 286,290 **** }
! static inline void string2atom(t_atom *ap, char* cp, int clen){ char *buffer=getbytes(sizeof(char)*(clen+1)); char *endptr[1]; --- 289,293 ---- }
! STATIC_INLINE void string2atom(t_atom *ap, char* cp, int clen){ char *buffer=getbytes(sizeof(char)*(clen+1)); char *endptr[1];