| 188 | OSPRAY_CATCH_END() |
| 189 | |
| 190 | extern "C" OSPDevice ospGetCurrentDevice() OSPRAY_CATCH_BEGIN |
| 191 | { |
| 192 | auto *ptr = Device::current.ptr; |
| 193 | if (ptr) |
| 194 | ptr->refInc(); |
| 195 | return (OSPDevice)ptr; |
| 196 | } |
| 197 | OSPRAY_CATCH_END(nullptr) |
| 198 | |
| 199 | extern "C" void ospDeviceSetParam(OSPDevice _object, |
no outgoing calls