Ignore:
Timestamp:
Jan 19, 2016, 4:07:06 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
08a40fd
Parents:
a2b2761
Message:

gcpointers.c compiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/gc_no_raii/src/internal/collector.h

    ra2b2761 r6be0cf9  
    2020}
    2121
    22 inline struct gc_object_header* gc_get_object_ptr(void* ptr)
     22inline gc_object_header* gc_get_object_ptr(void* ptr)
    2323{
    2424        void* clean = gc_get_aligned_ptr(ptr);
    25         return ((struct gc_object_header*)clean) - 1;
     25        return ((gc_object_header*)clean) - 1;
    2626}
    2727
    28 inline struct gc_memory_pool* pool_of(void* address)
     28inline gc_memory_pool* pool_of(void* address)
    2929{
    3030        return (struct gc_memory_pool*)(((intptr_t)address) & POOL_PTR_MASK);
Note: See TracChangeset for help on using the changeset viewer.