Commit bed9a0e
committed
Fix: Conditionally export inplaceConvertFrame* functions for testing only
These internal conversion functions are only needed for unit testing and
should not be part of the public API in production builds.
- Added CCAP_TEST_EXPORT macro that expands to CCAP_EXPORT only when CCAP_BUILD_TESTS is ON
- In production builds (CCAP_BUILD_TESTS=OFF), these functions remain internal
- Fixes LNK2019 unresolved external symbol error in shared library test builds
- Ensures cleaner API surface in production releases1 parent f912d7b commit bed9a0e
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| |||
0 commit comments