Public Member Functions

js::ContextAllocPolicy Class Reference

#include <jscntxt.h>

Collaboration diagram for js::ContextAllocPolicy:

List of all members.

Public Member Functions

 ContextAllocPolicy (JSContext *cx)
JSContextcontext () const
void * malloc (size_t bytes)
void free (void *p)
void * realloc (void *p, size_t bytes)
void reportAllocOverflow () const

Constructor & Destructor Documentation

js::ContextAllocPolicy::ContextAllocPolicy ( JSContext cx  )  [inline]

Member Function Documentation

JSContext* js::ContextAllocPolicy::context (  )  const [inline]
void js::ContextAllocPolicy::free ( void *  p  )  [inline]
void* js::ContextAllocPolicy::malloc ( size_t  bytes  )  [inline]
void* js::ContextAllocPolicy::realloc ( void *  p,
size_t  bytes 
) [inline]
void js::ContextAllocPolicy::reportAllocOverflow (  )  const [inline]

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