git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
26 lines
698 B
Plaintext
26 lines
698 B
Plaintext
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: cocoa/ObjcRef.mm
|
|
// Purpose: wxObjcAutoRefBase implementation
|
|
// Author: David Elliott
|
|
// Modified by:
|
|
// Created: 2004/03/28
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) 2004 David Elliott <dfe@cox.net>
|
|
// Licence: wxWidgets licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "wx/cocoa/ObjcRef.h"
|
|
|
|
#include <Foundation/NSObject.h>
|
|
|
|
/*static*/ struct objc_object* wxObjcAutoRefBase::ObjcRetain(struct objc_object* obj)
|
|
{
|
|
return [obj retain];
|
|
}
|
|
|
|
/*static*/ void wxObjcAutoRefBase::ObjcRelease(struct objc_object* obj)
|
|
{
|
|
[obj release];
|
|
}
|
|
|