Use C calling convention even on Windows

This commit is contained in:
Stefanos A. 2013-11-30 02:16:34 +01:00
parent 31d14cebff
commit 76f0782fb1

View file

@ -417,7 +417,7 @@ namespace OpenTK.Rewrite
{ {
var signature = new CallSite(reference.ReturnType) var signature = new CallSite(reference.ReturnType)
{ {
CallingConvention = MethodCallingConvention.StdCall, CallingConvention = MethodCallingConvention.C,
}; };
foreach (var p in reference.Parameters) foreach (var p in reference.Parameters)