Refactor array to avoid having to include external types
This commit is contained in:
4
codegen/array/snippets/array_pop_macro
Normal file
4
codegen/array/snippets/array_pop_macro
Normal file
@@ -0,0 +1,4 @@
|
||||
(ARRAY_PTR != NULL && (ARRAY_PTR)->count > 0 ? \
|
||||
*_{Tlower}_array_pop(ARRAY_PTR) : \
|
||||
({T}){{0}} \
|
||||
)
|
Reference in New Issue
Block a user