back
, popBack
, popFront
methods
=> 68a311c24604aec8c483725bde92ce1c43f071e2
[1mdiff --git a/include/the_Foundation/ptrarray.h b/include/the_Foundation/ptrarray.h[m [1mindex 9ecb0f6..ab6a2ee 100644[m [1m--- a/include/the_Foundation/ptrarray.h[m [1m+++ b/include/the_Foundation/ptrarray.h[m [36m@@ -40,6 +40,8 @@[m [miPtrArray * newPointers_PtrArray (void *ptr, ...); // NULL-terminated[m #define copy_PtrArray(d) copy_Array(d)[m #define isEmpty_PtrArray(d) isEmpty_Array(d)[m #define size_PtrArray(d) size_Array(d)[m [32m+[m[32m#define popFront_PtrArray(d) popFront_Array(d)[m [32m+[m[32m#define popBack_PtrArray(d) popBack_Array(d)[m [m void ** data_PtrArray (iPtrArray *);[m const void ** constData_PtrArray (const iPtrArray *);[m [36m@@ -52,6 +54,7 @@[m [mvoid pushBack_PtrArray (iPtrArray *, const void *ptr);[m void pushFront_PtrArray (iPtrArray *, const void *ptr);[m [m iLocalDef void *front_PtrArray (iPtrArray *d) { return !isEmpty_PtrArray(d) ? at_PtrArray(d, 0) : NULL; }[m [32m+[m[32miLocalDef void *back_PtrArray (iPtrArray *d) { return !isEmpty_PtrArray(d) ? at_PtrArray(d, size_PtrArray(d) - 1) : NULL; }[m [m iLocalDef const void *constFront_PtrArray(const iPtrArray *d) {[m return !isEmpty_PtrArray(d) ? constAt_PtrArray(d, 0) : NULL;[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).