mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-30 03:26:12 -05:00
3b155bfe38
* Open discussion * Move annotations of header-implemented functions back to `.h` files * Adjust `README.md` * Relocate annotation * linter * Comment markers in headers only, rename script, update github actions * type hint compat * Rename github action, better argparse for linter * Type hints, working test for byname ignore * Move annotation * CI rename and enable warnfail, enforce mode always on * Two step linting * or one step * continue on error * two jobs instead * Fixes --------- Co-authored-by: disinvite <disinvite@users.noreply.github.com>
19 lines
431 B
C++
19 lines
431 B
C++
#include "mxstreamchunklist.h"
|
|
|
|
#include "mxstreamchunk.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxStreamChunkList, 0x18);
|
|
DECOMP_SIZE_ASSERT(MxStreamChunkListCursor, 0x10);
|
|
|
|
// FUNCTION: LEGO1 0x100b5900
|
|
MxS8 MxStreamChunkList::Compare(MxStreamChunk* p_a, MxStreamChunk* p_b)
|
|
{
|
|
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100b5920
|
|
void MxStreamChunkList::Destroy(MxStreamChunk* p_chunk)
|
|
{
|
|
if (p_chunk)
|
|
delete p_chunk;
|
|
}
|