BFLibCPP
0.1
CPP Library
Loading...
Searching...
No Matches
Macros
release.hpp File Reference
#include "
object.hpp
"
Include dependency graph for release.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros
#define
BFRelease
(x)
Macro Definition Documentation
◆
BFRelease
#define BFRelease
(
x
)
Value:
if
(x != 0) {\
BF::Object
* obj = (
BF::Object
*) x;\
int
rc =
BF::Object::retainCount
(obj);\
BF::Object::release(obj);\
if (rc == 1) x = 0;\
}\
BF::Object
Definition
object.hpp:21
BF::Object::retainCount
static int retainCount(Object *obj)
Definition
object.cpp:51
author: brando date: 2/2/24
libs
bflibcpp
src
release.hpp
Generated by
1.11.0