You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structFoo{}structBar{// Foo* field1; // C# and P/Invoke can't handle native pointer on the structure.IntPtrfield1;// And formal way is manually marshaling...}
If IL2C/Invoke can handle directly it, very easier in the situation.
We discussed how to implement this way for first inspirations:
For example, C# with P/Invoke way:
If IL2C/Invoke can handle directly it, very easier in the situation.
We discussed how to implement this way for first inspirations:
In Roslyn, the code fragment understands the bar will copy instance into foo.field1.
But IL2C will wirte the bar variable is the pointer:
We have to think more deep things:
@chameleonhead Thanks discussed and suggested at Center CLR Try development meetup No.6.
The text was updated successfully, but these errors were encountered: