![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
![]() [Introduction] [Overview] [Core reference] [3D reference] [GUI] IndexELst_StructInsert ELst_PointerRemoveA ELst_StructInsertAdd one struct to a dynamically allocated array at a given positionone struct to a dynamically allocated array at a given position e struct to a dynamically allocated array at a given position truct to a dynamically allocated array at a given position ct to a dynamically allocated array at a given position to a dynamically allocated array at a given position a dynamically allocated array at a given position ynamically allocated array at a given position mically allocated array at a given position ally allocated array at a given position y allocated array at a given position llocated array at a given position cated array at a given position ed array at a given position array at a given position ay at a given position at a given position a given position iven position n position osition tion n / PWhere Insert before this index Syntax Arguments None. Description If PWhere is negative, or greater than the number of elements in the list, add the new struct after the last one. This is equivalent to calling ELst_StructAdd. Return value None. ELst_PointerRemoveARemove a pointer from a dynamically allocated arraySyntax Arguments Description This function looks for PThePtr in the array PList. If it finds that, it removes it by possibly reallocating the memory for the array and updating PCountP and PCountAllocatedP. The number of pointers allocated might be different from the number of pointers in use. Return value Pointer to the new array and PCountP PCountAllocatedP |