| 1 | // Licensed to the .NET Foundation under one or more agreements. |
|---|---|
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | |
| 5 | #include <stdio.h> |
| 6 | #include <stdlib.h> |
| 7 | #include <locale.h> |
| 8 | #include <xplatform.h> |
| 9 | |
| 10 | #pragma warning( push ) |
| 11 | #pragma warning( disable : 4996) |
| 12 | |
| 13 | extern "C"DLL_EXPORT int __cdecl Sum(int a, int b) |
| 14 | { |
| 15 | return a + b; |
| 16 | } |