[Include] Linked list implementation in PAWN
#5

Код:
MEM_zero(UnmanagedPointer:MEM_get_addr(value[0]), sizeof value);
which should be
Код:
MEM_UM_zero(UnmanagedPointer:MEM_UM_get_addr(value[0]), sizeof value);
ensures, that "value" has been set to zero at all cells, because "m_v_sz" can be "v_sz" or "sizeof value", where "v_sz" is not always "sizeof value".

Documentation should be fixed now, thank you.
Reply


Messages In This Thread
Linked list implementation in PAWN - by BigETI - 22.11.2017, 10:27
Re: Linked list implementation in PAWN - by ball - 03.05.2018, 12:15
Re: Linked list implementation in PAWN - by BigETI - 03.05.2018, 13:37
Re: Linked list implementation in PAWN - by ball - 03.05.2018, 14:18
Re: Linked list implementation in PAWN - by BigETI - 03.05.2018, 15:16
Re: Linked list implementation in PAWN - by ball - 03.05.2018, 17:30
Re: Linked list implementation in PAWN - by BigETI - 03.05.2018, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)