Fix array pop for C++ pointer types

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

No files matched your search

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