~ubuntu-branches/ubuntu/wily/parrot/wily-proposed

« back to all changes in this revision

Viewing changes to src/gc/string_gc.c

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont
  • Date: 2014-04-26 08:41:44 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20140426084144-ycocevtjth7nij5s
Tags: 6.3.0-1
ImportedĀ UpstreamĀ versionĀ 6.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
Copyright (C) 2010-2011, Parrot Foundation.
 
2
Copyright (C) 2010-2014, Parrot Foundation.
3
3
 
4
4
=head1 NAME
5
5
 
434
434
}
435
435
 
436
436
/*
 
437
 
437
438
=item C<void Parrot_gc_str_compact_pool(PARROT_INTERP, String_GC *gc)>
438
439
 
439
440
Compact string pool.
440
441
 
441
442
=cut
 
443
 
442
444
*/
443
445
void
444
446
Parrot_gc_str_compact_pool(PARROT_INTERP, ARGIN(String_GC *gc))
493
495
}
494
496
 
495
497
/*
 
498
 
496
499
=item C<static Variable_Size_Pool * new_memory_pool(size_t min_block, compact_f
497
500
compact)>
498
501
 
538
541
 
539
542
static void
540
543
alloc_new_block(PARROT_INTERP, ARGMOD(GC_Statistics *stats),
541
 
        size_t size, ARGMOD(Variable_Size_Pool *pool), ARGIN(const char *why))
 
544
                size_t size, ARGMOD(Variable_Size_Pool *pool),
 
545
                ARGIN(const char *why))
542
546
{
543
547
    ASSERT_ARGS(alloc_new_block)
544
548
    Memory_Block *new_block;
718
722
=item C<static void debug_print_buf(PARROT_INTERP, const Parrot_Buffer *b)>
719
723
 
720
724
Prints a debug statement with information about the given PObj C<b>.
 
725
 
721
726
=cut
722
727
 
723
728
*/
799
804
}
800
805
 
801
806
/*
 
807
 
802
808
=item C<static void move_buffer_callback(PARROT_INTERP, Parrot_Buffer *b, void
803
809
*data)>
804
810
 
805
811
Callback for live STRING/Buffer for compating.
806
812
 
807
813
=cut
 
814
 
808
815
*/
809
816
static void
810
817
move_buffer_callback(PARROT_INTERP, ARGIN(Parrot_Buffer *b), ARGIN(void *data))