Global: adds some always_inline

This commit is contained in:
李通洲
2026-06-06 22:52:55 +08:00
parent e24e3b6b29
commit c706201282
3 changed files with 30 additions and 25 deletions
+2
View File
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <assert.h>
#include "common/attributes.h"
#if FF_HAVE_MALLOC_USABLE_SIZE || FF_HAVE_MSVC_MSIZE
#if __has_include(<malloc.h>)
@@ -13,6 +14,7 @@
#include <malloc/malloc.h>
#endif
FF_A_ALWAYS_INLINE FF_A_NONNULL(1)
static inline void ffWrapFree(const void* pPtr) {
assert(pPtr);
if (*(void**) pPtr) {