Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/memutil/intern/MEM_RefCountedC-Api.cpp')
-rw-r--r--intern/memutil/intern/MEM_RefCountedC-Api.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/intern/memutil/intern/MEM_RefCountedC-Api.cpp b/intern/memutil/intern/MEM_RefCountedC-Api.cpp
index 27195e25f82..c319d6321f4 100644
--- a/intern/memutil/intern/MEM_RefCountedC-Api.cpp
+++ b/intern/memutil/intern/MEM_RefCountedC-Api.cpp
@@ -21,25 +21,20 @@
* \ingroup memutil
*/
-
#include "MEM_RefCountedC-Api.h"
#include "MEM_RefCounted.h"
-
-
int MEM_RefCountedGetRef(MEM_TRefCountedObjectPtr shared)
{
- return shared ? ((MEM_RefCounted*)shared)->getRef() : 0;
+ return shared ? ((MEM_RefCounted *)shared)->getRef() : 0;
}
-
int MEM_RefCountedIncRef(MEM_TRefCountedObjectPtr shared)
{
- return shared ? ((MEM_RefCounted*)shared)->incRef() : 0;
+ return shared ? ((MEM_RefCounted *)shared)->incRef() : 0;
}
-
int MEM_RefCountedDecRef(MEM_TRefCountedObjectPtr shared)
{
- return shared ? ((MEM_RefCounted*)shared)->decRef() : 0;
+ return shared ? ((MEM_RefCounted *)shared)->decRef() : 0;
}