base: harmonize implementation/headers
heim_retain() should both accept and return a heim_object_t; harmonize this across header and implementation
This commit is contained in:
@@ -83,8 +83,8 @@ struct heim_auto_release {
|
||||
* @return the same object as passed in
|
||||
*/
|
||||
|
||||
void *
|
||||
heim_retain(void *ptr)
|
||||
heim_object_t
|
||||
heim_retain(heim_object_t ptr)
|
||||
{
|
||||
struct heim_base *p = PTR2BASE(ptr);
|
||||
|
||||
|
@@ -168,7 +168,7 @@ typedef long heim_base_once_t; /* XXX arch dependant */
|
||||
#endif
|
||||
|
||||
|
||||
void * heim_retain(heim_object_t);
|
||||
heim_object_t heim_retain(heim_object_t);
|
||||
void heim_release(heim_object_t);
|
||||
|
||||
void heim_show(heim_object_t);
|
||||
|
Reference in New Issue
Block a user