Fix array pop for C++ pointer types

This commit is contained in:
2025-11-08 20:45:41 +00:00
parent 0a00721c10
commit 1bdc1ad955
3 changed files with 28 additions and 11 deletions

View File

@@ -0,0 +1,4 @@
(ARRAY_PTR != NULL && (ARRAY_PTR)->count > 0 ? \
*_{Tlower}_array_pop(ARRAY_PTR) : \
({T})(0) \
)