fetch_ml/cli/src/assets/sqlite/sqlite_constants.c
Jeremie Fraeys a3b957dcc0
refactor(cli): Update build system and core infrastructure
- Makefile: Update build targets for native library integration
- build.zig: Add SQLite linking and native hash library support
- scripts/build_rsync.sh: Update rsync embedded binary build process
- scripts/build_sqlite.sh: Add SQLite constants generation script
- src/assets/README.md: Document embedded asset structure
- src/utils/rsync_embedded_binary.zig: Update for new build layout
2026-02-20 21:39:51 -05:00

9 lines
352 B
C

// sqlite_constants.c - Simple C wrapper to export SQLITE_TRANSIENT
// This works around Zig 0.15's C translation issue with SQLITE_TRANSIENT
#include <sqlite3.h>
// Export SQLITE_TRANSIENT as a function that returns the value
// This avoids the comptime C translation issue
const void* fetchml_sqlite_transient(void) {
return SQLITE_TRANSIENT;
}