Initial import of libdpf.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ryan Henry 2026-09-24 14:08:32 -06:00
commit e4e666f459
4563 changed files with 1690372 additions and 0 deletions

20
thirdparty/hedley/test/require.c vendored Normal file
View file

@ -0,0 +1,20 @@
#include "../hedley.h"
#if defined(_MSC_VER)
HEDLEY_DIAGNOSTIC_PUSH
#pragma warning(disable:4668)
#include <limits.h>
HEDLEY_DIAGNOSTIC_POP
#else
#include <limits.h>
#endif
static int add(int a, int b)
HEDLEY_REQUIRE_MSG((a < b), "a must be less than b")
{
return a + b;
}
int main(void) {
return add(2, 3);
}