File SharedPtr.c
FileList > core > SharedPtr.c
Go to the source code of this file
#include "SharedPtr.h"#include <stdlib.h>#include "IntTypes.h"#include "PlatformDefs.h"
Classes
| Type | Name |
|---|---|
| struct | SharedPtrHeader |
Public Functions
| Type | Name |
|---|---|
| void | Sptr_AddRef (void * pointer) |
| i64 | Sptr_GetRefCount (void * pointer) |
| void * | Sptr_New (size_t size, SharedPtrDestuctorFn dtor) |
| void | Sptr_RemoveRef (void * pointer) |
Public Functions Documentation
function Sptr_AddRef
void Sptr_AddRef (
void * pointer
)
function Sptr_GetRefCount
i64 Sptr_GetRefCount (
void * pointer
)
function Sptr_New
void * Sptr_New (
size_t size,
SharedPtrDestuctorFn dtor
)
function Sptr_RemoveRef
void Sptr_RemoveRef (
void * pointer
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/core/SharedPtr.c