mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(error): add error codes and fix macro accuracy
This commit is contained in:
parent
0854138653
commit
6397c2fa17
6 changed files with 165 additions and 54 deletions
|
|
@ -3,8 +3,9 @@
|
|||
#include <cstring>
|
||||
|
||||
void SARC4PrepareKey(const void* data, uint32_t len, SARC4Key* key) {
|
||||
STORM_ASSERT(data);
|
||||
STORM_VALIDATE(data, ERROR_INVALID_PARAMETER);
|
||||
STORM_VALIDATE_BEGIN;
|
||||
STORM_VALIDATE(data);
|
||||
STORM_VALIDATE_END_VOID;
|
||||
|
||||
key->x = 0;
|
||||
key->y = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue