Simplify struct header generation by merging the internal _build_struct_header_internal function into build_struct_header

PiperOrigin-RevId: 830878041
Change-Id: I6867984ac6ec091daaf2172fbde0e6ac6f38d1f3
This commit is contained in:
Matias Manevi
2025-11-11 06:02:20 -08:00
committed by Copybara-Service
parent 1b2206fc50
commit 75774b2a35
2 changed files with 68 additions and 101 deletions
+1 -1
View File
@@ -782,7 +782,7 @@ emscripten::val buffer() const {
'.property("element", &MjsTexture::element, reference())',
)
self.assertEqual(
wrapped_field_data.initialization,
wrapped_field_data.ptr_initialization,
", element(ptr_->element)",
)