scala-interop / slinc

Scala <-> C interop
GNU Affero General Public License v3.0
102 stars 5 forks source link

Add transitions for CUnion #176

Closed markehammons closed 1 year ago

markehammons commented 1 year ago

CUnion transition will involve reducing it to its MemorySegment representation and converting memory segments into CUnions. The return transition should use the reader to copy the CUnion out of the temporary scope into the implicit scope.