summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-4.cs
blob: 4cf0b82868e3ca40ecbe5276ce269ac9a958042b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0029: Cannot implicitly convert type `string' to `System.Runtime.InteropServices.CallingConvention'
// Line: 10

using System;
using System.Runtime.InteropServices;

namespace Tsunami {
  public sealed class Gl {

    [DllImport("libGL.so", EntryPoint="glCopyTexSubImage3D", CallingConvention="cdecl", ExactSpelling=true)]
    public static extern void CopyTexSubImage3D ();

  }
}