Branch: Tag:

2004-03-19

2004-03-19 16:11:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Exported symbols may not be inline.

Rev: src/stralloc.c:1.163
Rev: src/stralloc.h:1.80

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: stralloc.c,v 1.162 2004/03/19 16:02:03 grubba Exp $ + || $Id: stralloc.c,v 1.163 2004/03/19 16:11:02 grubba Exp $   */      #include "global.h"
24:   #include <ctype.h>   #include <math.h>    - RCSID("$Id: stralloc.c,v 1.162 2004/03/19 16:02:03 grubba Exp $"); + RCSID("$Id: stralloc.c,v 1.163 2004/03/19 16:11:02 grubba Exp $");      /* #define STRALLOC_USE_PRIMES */   
218:   #endif      #define CONVERT(FROM,TO) \ - INLINE void PIKE_CONCAT4(convert_,FROM,_to_,TO)(PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, ptrdiff_t len) \ + void PIKE_CONCAT4(convert_,FROM,_to_,TO)(PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, ptrdiff_t len) \   { while(--len>=0) *(to++)=*(from++); } \ - INLINE INT32 PIKE_CONCAT4(compare_,FROM,_to_,TO)(const PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, ptrdiff_t len) \ + INT32 PIKE_CONCAT4(compare_,FROM,_to_,TO)(const PIKE_CONCAT(p_wchar,TO) *to, const PIKE_CONCAT(p_wchar,FROM) *from, ptrdiff_t len) \   { int tmp; while(--len>=0) if((tmp=*(to++)-*(from++))) return tmp; return 0; }      
294:    }   }    - PMOD_EXPORT INLINE void pike_string_cpy(PCHARP to, -  struct pike_string *from) + PMOD_EXPORT void pike_string_cpy(PCHARP to, struct pike_string *from)   {    generic_memcpy(to,MKPCHARP_STR(from),from->len);   }