dont preview by default, Vault::delete_file

This commit is contained in:
2025-11-02 21:44:10 +01:00
parent 3e33504e22
commit cf1ac6d556
10 changed files with 110 additions and 68 deletions

View File

@@ -5,11 +5,14 @@
#include <string>
#define ASSERT(cond) \
if (!(cond)) { \
std::cerr << "ASSERTION FAILED at " << __FILE__ << ":" << __LINE__ << "\n" \
<< #cond << std::endl; \
abort(); \
}
do { \
if (!(cond)) { \
std::cerr << "ASSERTION FAILED at " << __FILE__ << ":" << __LINE__ \
<< "\n" \
<< #cond << std::endl; \
abort(); \
} \
} while (0)
using u8 = unsigned char;
using i16 = int16_t;