-
Notifications
You must be signed in to change notification settings - Fork 21
[SoM] Code generation failure with Any param #88
Comments
Here is some documentation about Swift has two opaque types, All other protocols are represented by an existential container (swift term) which is the following:
The payload is used to hold the data that subscribes to the protocol(s). The metadata is describes the type of the payload. Right now we represent
Which creates a problem. What happens when I have a C# What needs to happen is that All data should be a byte array that is allocated appropriately based on the size: Other notes: I'm debating whether or not there should be a public constructor for
Which can have pinvoke definitions like this:
and the implementations:
|
Output: https://gist.github.com/chamons/8854214c5e01d119763e73148cf27780
The text was updated successfully, but these errors were encountered: