You can use a glue library to normalise the API signatures, or have a bunch of conditional checks on your pinvokes
Sent from my Sony Xperia™ smartphone ---- [email protected] wrote ---- >Send Mono-devel-list mailing list submissions to > [email protected] > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.ximian.com/mailman/listinfo/mono-devel-list >or, via email, send a message with subject or body 'help' to > [email protected] > >You can reach the person managing the list at > [email protected] > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Mono-devel-list digest..." > > >Today's Topics: > > 1. Multiplatform support with P/Invoke (Jason Curl) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Wed, 30 Dec 2015 21:28:10 +1030 >From: Jason Curl <[email protected]> >To: [email protected] >Subject: [Mono-dev] Multiplatform support with P/Invoke >Message-ID: <[email protected]> >Content-Type: text/plain; charset=utf-8; format=flowed > >Hello, > >I'm investigating the best way on how to support multiplatform software >especially when using P/Invokes, but have not found any reasonable >advice on the Wiki. > >Can someone point to me on how to handle different architectures, >especially when the underlying libc might use different structures or >API signatures? > >Thanks, >Jason. > > >------------------------------ > >_______________________________________________ >Mono-devel-list mailing list >[email protected] >http://lists.ximian.com/mailman/listinfo/mono-devel-list > > >End of Mono-devel-list Digest, Vol 128, Issue 11 >************************************************
_______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
