| 2297 | /************************************************************************/ |
| 2298 | |
| 2299 | void CPLSetTLS(int nIndex, void *pData, int bFreeOnExit) |
| 2300 | |
| 2301 | { |
| 2302 | CPLSetTLSWithFreeFunc(nIndex, pData, (bFreeOnExit) ? CPLFree : nullptr); |
| 2303 | } |
| 2304 | |
| 2305 | /************************************************************************/ |
| 2306 | /* CPLSetTLSWithFreeFunc() */ |
no test coverage detected