correcting doc
This commit is contained in:
@@ -34,10 +34,9 @@ public:
|
|||||||
typedef wxCFRef<CFDataRef> super_type;
|
typedef wxCFRef<CFDataRef> super_type;
|
||||||
|
|
||||||
/*! @method wxCFDataRef
|
/*! @method wxCFDataRef
|
||||||
@abstract Assumes ownership of p and creates a reference to it.
|
@abstract Assumes ownership of r and creates a reference to it.
|
||||||
@templatefield otherType Any type.
|
@param r The data reference to assume ownership of. May be NULL.
|
||||||
@param p The raw pointer to assume ownership of. May be NULL.
|
@discussion Like shared_ptr, it is assumed that the caller has a strong reference to r and intends
|
||||||
@discussion Like shared_ptr, it is assumed that the caller has a strong reference to p and intends
|
|
||||||
to transfer ownership of that reference to this ref holder. If the object comes from
|
to transfer ownership of that reference to this ref holder. If the object comes from
|
||||||
a Create or Copy method then this is the correct behaviour. If the object comes from
|
a Create or Copy method then this is the correct behaviour. If the object comes from
|
||||||
a Get method then you must CFRetain it yourself before passing it to this constructor.
|
a Get method then you must CFRetain it yourself before passing it to this constructor.
|
||||||
|
Reference in New Issue
Block a user