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

13
thirdparty/hedley/test/flags.c vendored Normal file
View file

@ -0,0 +1,13 @@
#include "../hedley.h"
enum Foo {
FOO_BAR = 1 << 0,
FOO_BAZ = 1 << 1,
FOO_QUX = 1 << 2
} HEDLEY_FLAGS;
int main(void) {
const enum Foo foo = HEDLEY_FLAGS_CAST(enum Foo, FOO_BAR | FOO_BAZ);
return HEDLEY_STATIC_CAST(int, foo);
}