Update codegen to support accepting JSON file as input

This commit is contained in:
2025-08-31 20:56:49 +01:00
parent 1e224702a3
commit 26fd329caa
6 changed files with 252 additions and 28 deletions

View File

@@ -0,0 +1,29 @@
{
"dbl_list_data": {
"CustomType": {
"node_typename": "CustomTypeNode",
"list_typename": "CustomTypeList",
"hdr_decl_types": [
{
"name": "custom_type",
"cargs": [],
"typedef_name": "CustomType"
}
],
"src_decl_types": []
}
},
"array_data": {
"CustomType": {
"array_typename": "CustomTypeArray",
"hdr_decl_types": [
{
"name": "custom_type",
"cargs": [],
"typedef_name": "CustomType"
}
],
"src_decl_types": []
}
}
}