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,15 @@
#include "../hedley.h"
#include <string.h>
static const char* foo = "bar\n";
HEDLEY_RETURNS_NON_NULL
static const char* get_string(void) {
return foo;
}
int main(void) {
const char* s = get_string();
return HEDLEY_STATIC_CAST(int, strlen(s));
}