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

15
thirdparty/hedley/test/cast.c vendored Normal file
View file

@ -0,0 +1,15 @@
#include "../hedley.h"
int main(void) {
int foo = 0;
long bar = HEDLEY_STATIC_CAST(long, foo);
const char* baz = "Hello, world!";
char* qux = HEDLEY_CONST_CAST(char*, baz);
if (bar != 0)
return 1;
if (baz != qux)
return 1;
return 0;
}