There's no need to specify a custom calling convention for these functions.
Showing the changes to codec/processing/interface (1 of 3 files). Show all
Unified · Split
| @@ -47,12 +47,6 @@ · 46 unmodified lines | ||
| 47 | 47 | #ifndef IWELSVP_H_ |
| 48 | 48 | #define IWELSVP_H_ |
| 49 | 49 | |
| 50 | −#ifdef _WIN32 | |
| 51 | −#define WELSAPI __stdcall | |
| 52 | −#else | |
| 53 | −#define WELSAPI | |
| 54 | −#endif | |
| 55 | − | |
| 56 | 50 | #define WELSVP_MAJOR_VERSION 1 |
| 57 | 51 | #define WELSVP_MINOR_VERSION 1 |
| 58 | 52 | #define WELSVP_VERSION ((WELSVP_MAJOR_VERSION << 8) + WELSVP_MINOR_VERSION) |
| @@ -276,8 +270,8 @@ class IWelsVP { · 217 unmodified lines | ||
| 276 | 270 | #endif |
| 277 | 271 | |
| 278 | 272 | WELSVP_EXTERNC_BEGIN |
| 279 | −EResult WELSAPI CreateVpInterface (void** ppCtx, int iVersion /*= WELSVP_INTERFACE_VERION*/); | |
| 280 | −EResult WELSAPI DestroyVpInterface (void* pCtx , int iVersion /*= WELSVP_INTERFACE_VERION*/); | |
| 273 | +EResult CreateVpInterface (void** ppCtx, int iVersion /*= WELSVP_INTERFACE_VERION*/); | |
| 274 | +EResult DestroyVpInterface (void* pCtx , int iVersion /*= WELSVP_INTERFACE_VERION*/); | |
| 281 | 275 | WELSVP_EXTERNC_END |
| 282 | 276 | |
| 283 | 277 | ////////////////////////////////////////////////////////////////////////////////////////////// |