Changeset 1b5c81ed for src/examples/gc_no_raii/src/vector.c
- Timestamp:
- Jun 30, 2016, 4:20:53 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f80e0218
- Parents:
- 34b76a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/gc_no_raii/src/vector.c
r34b76a8 r1b5c81ed 64 64 inline void realloc(heap_allocator(T) *const this, size_t size) 65 65 { 66 static const size_t GROWTH_RATE = 2;66 enum { GROWTH_RATE = 2 }; 67 67 if(size > this->capacity) 68 68 {
Note: See TracChangeset
for help on using the changeset viewer.