pike.git / src / pike_search_engine.c

version» Context lines:

pike.git/src/pike_search_engine.c:1:   /*   || 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: pike_search_engine.c,v 1.11 2003/04/23 13:43:08 jhs Exp $ + || $Id: pike_search_engine.c,v 1.12 2004/09/18 20:19:41 per Exp $   */      /*    * Written by Fredrik Hubinette (hubbe@lysator.liu.se)    */      #define HSHIFT 0   #include "pike_search_engine2.c"   #undef HSHIFT   
pike.git/src/pike_search_engine.c:35:    switch(haystack.shift) \    { \    INTERCASE(NAME,0); \    INTERCASE(NAME,1); \    INTERCASE(NAME,2); \    } \    Pike_fatal("Illegal shift\n"); \    return haystack; /* NOT_REACHED */ \   } \    \ - static struct SearchMojtVtable PxC3(NAME,NSHIFT,_vtable) = { \ + static const struct SearchMojtVtable PxC3(NAME,NSHIFT,_vtable) = { \    (SearchMojtFunc0)PxC3(NAME,NSHIFT,0), \    (SearchMojtFunc1)PxC3(NAME,NSHIFT,1), \    (SearchMojtFunc2)PxC3(NAME,NSHIFT,2), \    (SearchMojtFuncN)PxC3(NAME,NSHIFT,N), \    PxC2(NAME,_free), \   };         INTERMEDIATE(memchr_search)   INTERMEDIATE(memchr_memcmp2)