correcting doc

This commit is contained in:
Stefan Csomor
2018-07-28 15:28:45 +02:00
parent 52d0462aa5
commit d08033292c

View File

@@ -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.