pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:246:       if(!s->size_shift)    STR0(s)[pos]=value;    else if(s->size_shift == 1)    STR1(s)[pos]=value;    else    STR2(s)[pos]=value;   }      #ifdef PIKE_DEBUG - PMOD_EXPORT struct pike_string *debug_check_size_shift(struct pike_string *a, + PMOD_EXPORT struct pike_string *debug_check_size_shift(const struct pike_string *a,    int shift)   {    if(a->size_shift != shift)    Pike_fatal("Wrong STRX macro used!\n");    return a;   }   #endif      #define CONVERT(FROM,TO) \    void PIKE_CONCAT4(convert_,FROM,_to_,TO) (PIKE_CONCAT(p_wchar,TO) *to, \