Generate using declarations for anonymous structs in WASM bindings.
PiperOrigin-RevId: 832359379 Change-Id: Ie5913c584c5605f512dbe423524a829043179b6f
This commit is contained in:
committed by
Copybara-Service
parent
999344c998
commit
53e254b715
@@ -105,13 +105,12 @@ std::vector<WrapperType> InitWrapperArray(ArrayType* array, SizeType size) {
|
||||
return result;
|
||||
}
|
||||
|
||||
// Create the types for anonymous structs
|
||||
using mjVisualGlobal = decltype(::mjVisual::global);
|
||||
using mjVisualQuality = decltype(::mjVisual::quality);
|
||||
using mjVisualHeadlight = decltype(::mjVisual::headlight);
|
||||
using mjVisualMap = decltype(::mjVisual::map);
|
||||
using mjVisualScale = decltype(::mjVisual::scale);
|
||||
using mjVisualQuality = decltype(::mjVisual::quality);
|
||||
using mjVisualRgba = decltype(::mjVisual::rgba);
|
||||
using mjVisualScale = decltype(::mjVisual::scale);
|
||||
|
||||
struct MjContact {
|
||||
explicit MjContact(mjContact *ptr);
|
||||
|
||||
Reference in New Issue
Block a user