Update codegen to support accepting JSON file as input
This commit is contained in:
29
codegen_custom_data_example.json
Normal file
29
codegen_custom_data_example.json
Normal 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": []
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user