Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
gc Class Reference

#include <gc_cpp.h>

Inheritance diagram for gc:
Inheritance graph

List of all members.

Public Member Functions

voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
void operator delete (void *obj)

Detailed Description

Definition at line 143 of file gc_cpp.h.

Member Function Documentation

void gc::operator delete ( void obj) [inline]

Definition at line 221 of file gc_cpp.h.

    GC_FREE( obj );}
void * gc::operator new ( size_t  size) [inline]

Definition at line 210 of file gc_cpp.h.

    return GC_MALLOC( size );}
void * gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline]

Definition at line 213 of file gc_cpp.h.

    if (gcp == GC) 
        return GC_MALLOC( size );
    else if (gcp == PointerFreeGC)
       return GC_MALLOC_ATOMIC( size );
        return GC_MALLOC_UNCOLLECTABLE( size );}

The documentation for this class was generated from the following file: