This is an experiment to find out if we can use "standard" opaque structs in place of our usual marshaling.
This is in preparation for (hopefully) the runtime providing the ability to directly marshal value types of up to 4 machine words (swift ABI) instead of being limited to 2.
Using opaque structs is more elegant and less heavy handed than what we do in most cases, although it is still heavy handed.
In the process, I added a few goodies to Dynamo to generate the code that I wanted in C# more easily.
This is an experiment to find out if we can use "standard" opaque structs in place of our usual marshaling. This is in preparation for (hopefully) the runtime providing the ability to directly marshal value types of up to 4 machine words (swift ABI) instead of being limited to 2.
Using opaque structs is more elegant and less heavy handed than what we do in most cases, although it is still heavy handed.
In the process, I added a few goodies to Dynamo to generate the code that I wanted in C# more easily.
All tests pass.