funi_cs.cs.stpl (293B)
1 // vi:syntax=cs 2 using System; 3 using System.Runtime.InteropServices; 4 5 namespace Funi 6 { 7 public class Func 8 { 9 %for i in range(maxfuni): 10 [DllImport("{{dllname}}", CallingConvention = CallingConvention.Cdecl)] 11 public static extern int func{{i}}(int a); 12 %end 13 } 14 } 15