Repository navigation
Commit 3f76054
Generate typed C++ protocol records for the DuckDB extension
vgi.codegen.cpp_records emits vgi_protocol_records.hpp (one plain struct per
protocol record, one enum class per protocol enum, Arrow only forward-
declared) and vgi_protocol_records.cpp (ToBatch/FromBatch per record over the
extension's vgi_wire_codec runtime). Records, names and enums are the ones
csharp_types derives; each record's ARROW_SCHEMA is the authority.
regen_generated.py gains the two targets and a VGI_EXTENSION_ROOT override so
an extension worktree can be regenerated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent de27b93 commit 3f76054
2 files changed
Lines changed: 575 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| 95 | + | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
0 commit comments