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

View file

@ -0,0 +1,26 @@
#include "../hedley.h"
#include <stdio.h>
#if defined(__cplusplus)
# if __cplusplus >= 201103L
# define UNPREDICTABLE \
HEDLEY_DIAGNOSTIC_PUSH \
HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES \
HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[unpredictable]]) \
HEDLEY_DIAGNOSTIC_POP
# endif
#endif
#if !defined(UNPREDICTABLE)
# define UNPREDICTABLE
#endif
int main(int argc, char* argv[]) {
HEDLEY_STATIC_CAST(void, argv);
if (argc == 1) UNPREDICTABLE {
return -1;
}
return 0;
}