GC.clrAttr

Clears the specified bits for the memory references by p. If p references memory not originally allocated by this garbage collector, points to the interior of a memory block, or if p is null, no action will be performed.

  1. uint clrAttr(void* p, uint a)
    struct GC
    extern (D) static nothrow
    uint
    clrAttr
    (
    const scope void* p
    ,
    uint a
    )
  2. uint clrAttr(void* p, uint a)

Parameters

p void*

A pointer to the root of a valid memory block or to null.

a uint

A bit field containing any bits to clear for this memory block.

Return Value

Type: uint

The result of a call to getAttr after the specified bits have been cleared.

Meta