Loading...
Searching...
No Matches
JSRetainPtr.h File Reference

Classes

class  JSRetainPtr< T >
 

Functions

void JSRetain (JSClassRef context)
 
void JSRelease (JSClassRef context)
 
void JSRetain (JSGlobalContextRef context)
 
void JSRelease (JSGlobalContextRef context)
 
void JSRetain (JSStringRef string)
 
void JSRelease (JSStringRef string)
 
JSRetainPtr< JSClassRefadopt (JSClassRef)
 
JSRetainPtr< JSStringRefadopt (JSStringRef o)
 
JSRetainPtr< JSGlobalContextRefadopt (JSGlobalContextRef o)
 
template<typename T >
void swap (JSRetainPtr< T > &a, JSRetainPtr< T > &b)
 
template<typename T , typename U >
bool operator== (const JSRetainPtr< T > &a, const JSRetainPtr< U > &b)
 
template<typename T , typename U >
bool operator== (const JSRetainPtr< T > &a, U *b)
 
template<typename T , typename U >
bool operator== (T *a, const JSRetainPtr< U > &b)
 
template<typename T , typename U >
bool operator!= (const JSRetainPtr< T > &a, const JSRetainPtr< U > &b)
 
template<typename T , typename U >
bool operator!= (const JSRetainPtr< T > &a, U *b)
 
template<typename T , typename U >
bool operator!= (T *a, const JSRetainPtr< U > &b)
 

Macros

#define WARN_UNUSED_RETURN
 

Enumerations

enum  AdoptTag { Adopt }
 

Function Documentation

◆ adopt() [1/3]

JSRetainPtr< JSClassRef > adopt ( JSClassRef o)
inline

◆ adopt() [2/3]

◆ adopt() [3/3]

JSRetainPtr< JSStringRef > adopt ( JSStringRef o)
inline

◆ JSRelease() [1/3]

void JSRelease ( JSClassRef context)
inline

◆ JSRelease() [2/3]

void JSRelease ( JSGlobalContextRef context)
inline

◆ JSRelease() [3/3]

void JSRelease ( JSStringRef string)
inline

◆ JSRetain() [1/3]

void JSRetain ( JSClassRef context)
inline

◆ JSRetain() [2/3]

void JSRetain ( JSGlobalContextRef context)
inline

◆ JSRetain() [3/3]

void JSRetain ( JSStringRef string)
inline

◆ operator!=() [1/3]

template<typename T , typename U >
bool operator!= ( const JSRetainPtr< T > & a,
const JSRetainPtr< U > & b )
inline

◆ operator!=() [2/3]

template<typename T , typename U >
bool operator!= ( const JSRetainPtr< T > & a,
U * b )
inline

◆ operator!=() [3/3]

template<typename T , typename U >
bool operator!= ( T * a,
const JSRetainPtr< U > & b )
inline

◆ operator==() [1/3]

template<typename T , typename U >
bool operator== ( const JSRetainPtr< T > & a,
const JSRetainPtr< U > & b )
inline

◆ operator==() [2/3]

template<typename T , typename U >
bool operator== ( const JSRetainPtr< T > & a,
U * b )
inline

◆ operator==() [3/3]

template<typename T , typename U >
bool operator== ( T * a,
const JSRetainPtr< U > & b )
inline

◆ swap()

template<typename T >
void swap ( JSRetainPtr< T > & a,
JSRetainPtr< T > & b )
inline

Macro Definition Documentation

◆ WARN_UNUSED_RETURN

#define WARN_UNUSED_RETURN

Enumeration Type Documentation

◆ AdoptTag

enum AdoptTag
Enumerator
Adopt 

Go to the source code of this file.