1
#region Method #{MethodName}
3
[DllImport(DllName.m_dllName, CallingConvention = CallingConvention.Cdecl)]
4
#{ReturnValueMarshalAs}
5
private static extern #{ReturnTypeName} Export#{ThisName}_#{MethodName}_#{ValueName1}_#{ValueName2}(IntPtr _native,
6
#{ValueMarshalAs1}#{ValueTypePrefix1}#{ValueTypeName1} #{ValueName1},
7
#{ValueMarshalAs2}#{ValueTypePrefix2}#{ValueTypeName2} #{ValueName2});
9
public #{TypeName} #{MethodName}(
10
#{TypeName1} #{ValueName1},
11
#{TypeName2} #{ValueName2})
13
return #{ReturnConvertBefore}Export#{ThisName}_#{MethodName}_#{ValueName1}_#{ValueName2}(Native,
14
#{ConvertBefore1}#{ValueTypePrefix1}#{ValueName1}#{ConvertPost1},
15
#{ConvertBefore2}#{ValueTypePrefix2}#{ValueName2}#{ConvertPost2})#{ReturnConvertPost};