There's no need to specify a custom calling convention for these functions.
Showing the changes to codec/processing/src (1 of 3 files). Show all
Unified · Split
| @@ -43,7 +43,7 @@ · 42 unmodified lines | |||
| 43 | 43 | ||
| 44 | /* interface API implement */ | 44 | /* interface API implement */ |
| 45 | 45 | ||
| 46 | EResult WELSAPI CreateVpInterface (void** ppCtx, int iVersion) { | 46 | EResult CreateVpInterface (void** ppCtx, int iVersion) { |
| 47 | if (iVersion & 0x8000) | 47 | if (iVersion & 0x8000) |
| 48 | return nsWelsVP::CreateSpecificVpInterface ((IWelsVP**)ppCtx); | 48 | return nsWelsVP::CreateSpecificVpInterface ((IWelsVP**)ppCtx); |
| 49 | else if (iVersion & 0x7fff) | 49 | else if (iVersion & 0x7fff) |
| @@ -52,7 +52,7 @@ EResult WELSAPI CreateVpInterface (void** ppCtx, int iVersion) { · 2 unmodified lines | |||
| 52 | return RET_INVALIDPARAM; | 52 | return RET_INVALIDPARAM; |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | EResult WELSAPI DestroyVpInterface (void* pCtx, int iVersion) { | 55 | EResult DestroyVpInterface (void* pCtx, int iVersion) { |
| 56 | if (iVersion & 0x8000) | 56 | if (iVersion & 0x8000) |
| 57 | return nsWelsVP::DestroySpecificVpInterface ((IWelsVP*)pCtx); | 57 | return nsWelsVP::DestroySpecificVpInterface ((IWelsVP*)pCtx); |
| 58 | else if (iVersion & 0x7fff) | 58 | else if (iVersion & 0x7fff) |