| 588 | void TF_DeleteDeviceList(TF_DeviceList* list) { delete list; } |
| 589 | |
| 590 | TF_DeviceList* TF_SessionListDevices(TF_Session* session, TF_Status* status) { |
| 591 | TF_DeviceList* response = new TF_DeviceList; |
| 592 | status->status = session->session->ListDevices(&response->response); |
| 593 | return response; |
| 594 | } |
| 595 | |
| 596 | TF_DeviceList* TF_DeprecatedSessionListDevices(TF_DeprecatedSession* session, |
| 597 | TF_Status* status) { |