| 406 | namespace faker { |
| 407 | |
| 408 | void unloadSymbols(void) |
| 409 | { |
| 410 | if(gldllhnd && gldllhnd != RTLD_NEXT) dlclose(gldllhnd); |
| 411 | if(egldllhnd && egldllhnd != RTLD_NEXT) dlclose(egldllhnd); |
| 412 | #ifdef FAKEOPENCL |
| 413 | if(ocldllhnd && ocldllhnd != RTLD_NEXT) dlclose(ocldllhnd); |
| 414 | #endif |
| 415 | if(x11dllhnd && x11dllhnd != RTLD_NEXT) dlclose(x11dllhnd); |
| 416 | #ifdef FAKEXCB |
| 417 | if(xcbdllhnd) dlclose(xcbdllhnd); |
| 418 | if(xcbglxdllhnd) dlclose(xcbglxdllhnd); |
| 419 | if(xcbkeysymsdllhnd) dlclose(xcbkeysymsdllhnd); |
| 420 | if(xcbx11dllhnd) dlclose(xcbx11dllhnd); |
| 421 | #endif |
| 422 | } |
| 423 | |
| 424 | } |