fastest 3D software for linux

Linux 3D
interactive ray-tracing
[Introduction] [Overview] [Core reference] [3D reference] [GUI]

Index

 ELst_StructInsert
 ELst_PointerRemoveA

ELst_StructInsert

Add one struct to a dynamically allocated array at a given position
one 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
void* ELst_StructInsert(void* PListP, EIndex* PCountP, const ESize PStructSize, EIndex PWhere)

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_PointerRemoveA

Remove a pointer from a dynamically allocated array

Syntax
EIndex ELst_PointerRemoveA(void* PListP, EIndex* PCountP, EIndex* PCountAllocatedP, const void* PThePtr)

Arguments
PListP Pointer to the list PCountP The number of pointers in use PCountAllocatedP The number of pointers allocated PThePtr The value to look for
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
© 1996-2025 By Gabor Nagy