blob: 352a61b914d02fcc58f279d16cfbe1587846eb78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef __ASURA_ENGINE_OBJECT_H__
#define __ASURA_ENGINE_OBJECT_H__
#include "Type.h"
///
/// 룬ʵҪüеļصĶluaɡObjectֻΪʹá
/// //ࡣΪ˱֤nativeͷŵʱᵼԼָ뱻ͷţҪһülua
/// //ͷʱǷͷnativenativeָ롣
/// //Object࣬ǴڶϵģӦͨObject::Releaseֶͷš
/// Objectָ뱾Ϊlight userdataΪweak tablekeyobjectsʹַһЩͳơ
///
class Object
{
public:
Object();
virtual ~Object();
static void Retain(Object* obj);
static void Release(Object* obj);
void Retain();
void Release();
private:
unsigned int mRC; // ü
};
#endif
|