Simplified struct code generation for WASM bindings
PiperOrigin-RevId: 827878780 Change-Id: I97ab732eb11c63a6aaf7fa95add0b51bc0a56525
This commit is contained in:
committed by
Copybara-Service
parent
c22d94e470
commit
3d59b20b65
@@ -59,17 +59,3 @@ class WrappedStructData:
|
||||
# Whether to use shallow copy for this struct
|
||||
use_shallow_copy: bool = True
|
||||
|
||||
|
||||
def create_wrapped_structs_set_up_data(
|
||||
struct_names: List[str],
|
||||
) -> Dict[str, WrappedStructData]:
|
||||
"""Creates a dictionary of WrappedStructData for the given struct names."""
|
||||
return {
|
||||
name: WrappedStructData(
|
||||
wrap_name=common.uppercase_first_letter(name),
|
||||
wrapped_fields=[],
|
||||
wrapped_header="",
|
||||
wrapped_source="",
|
||||
)
|
||||
for name in struct_names
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user