-
Notifications
You must be signed in to change notification settings - Fork 258
[.NET binding] Suggestions about .NET binding #20
Comments
Thanks a lot Yusuke! These are great feedback. Can I ask you to open separate Issues on github for each of this so we can Again, thanks a lot, Angelo Ribeiro. On Fri, Aug 12, 2016 at 1:44 AM, Yusuke Fujiwara notifications@github.com
Angelo Ribeiro |
@aribeironovaes Sure! I separated above four issues into individual issues. So, I'll close this issue. |
Thanks a lot again Yusuke! Get Outlook
From: Yusuke Fujiwara notifications@github.com @aribeironovaes Sure! I separated above four issues into individual issues. So, I'll close this issue. — |
Hi, thank you for great work!
I know this is still beta, but I found some improvements about .NET binding.
coreclr_create_delegate
API.IGatewayModule
is interface now, it has following problems:SensorModule
sample code is good example for it. Base class with nop virtual methods can solve this.byte*
based APIs to avoid redundant copies of arrays.IntPtr
instead oflong
for pointer or handle types in managed code in general.String
in managed code (namely,configuration
parameter ofIGatewayModule.Create
). The string invariant_t
will be considered as ANSI encoded string, so unexpected behavior will be caused. I think it is easier to passing string as a byte array and decode it in managed code. This is repro code:The text was updated successfully, but these errors were encountered: