pike.git / src / post_modules / Unicode / split.c

version» Context lines:

pike.git/src/post_modules/Unicode/split.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.   */      #include "global.h"   #include "stralloc.h" - #include "global.h" +    #include "pike_macros.h"   #include "interpret.h"   #include "program.h"   #include "program_id.h"   #include "object.h"   #include "operators.h"   #include "module_support.h"      #include "config.h"   #include "buffer.h"
pike.git/src/post_modules/Unicode/split.c:33:    unsigned int start,    unsigned int len )   {    d = uc_words_mkspace( d,1 );    d->words[d->size].start = start;    d->words[d->size].size = len;    d->size++;    return d;   }    - struct words *uc_words_new( ) + struct words *uc_words_new( void )   {    struct words *s = malloc( sizeof( struct words ) + 31*8 );    s->allocated_size = 32;    s->size = 0;    return s;   }      void uc_words_free( struct words *w )   {    free( w );