1
#region Method #{MethodName}
3
[DllImport(DllName.m_dllName, CallingConvention = CallingConvention.Cdecl)]
4
private static extern void Export#{ThisName}_#{MethodName}_#{ValueName1}_#{ValueName2}_#{ValueName3}(IntPtr _native,
5
#{ValueMarshalAs1}#{ValueTypePrefix1}#{ValueTypeName1} #{ValueName1},
6
#{ValueMarshalAs2}#{ValueTypePrefix2}#{ValueTypeName2} #{ValueName2},
7
#{ValueMarshalAs3}#{ValueTypePrefix3}#{ValueTypeName3} #{ValueName3});
9
public void #{MethodName}(
10
#{TypeName1} #{ValueName1},
11
#{TypeName2} #{ValueName2},
12
#{TypeName3} #{ValueName3})
14
Export#{ThisName}_#{MethodName}_#{ValueName1}_#{ValueName2}_#{ValueName3}(Native,
15
#{ConvertBefore1}#{ValueTypePrefix1}#{ValueName1}#{ConvertPost1},
16
#{ConvertBefore2}#{ValueTypePrefix2}#{ValueName2}#{ConvertPost2},
17
#{ConvertBefore3}#{ValueTypePrefix3}#{ValueName3}#{ConvertPost3});
20
[DllImport(DllName.m_dllName, CallingConvention = CallingConvention.Cdecl)]
21
private static extern void Export#{ThisName}_#{MethodName}_#{ValueName1}_#{ValueName2}(IntPtr _native,
22
#{ValueMarshalAs1}#{ValueTypePrefix1}#{ValueTypeName1} #{ValueName1},
23
#{ValueMarshalAs2}#{ValueTypePrefix2}#{ValueTypeName2} #{ValueName2});
25
public void #{MethodName}(
26
#{TypeName1} #{ValueName1},
27
#{TypeName2} #{ValueName2})
29
Export#{ThisName}_#{MethodName}_#{ValueName1}_#{ValueName2}(Native,
30
#{ConvertBefore1}#{ValueTypePrefix1}#{ValueName1}#{ConvertPost1},
31
#{ConvertBefore2}#{ValueTypePrefix2}#{ValueName2}#{ConvertPost2});