| 100 | } |
| 101 | |
| 102 | GLFWAPI double glfwGetTime(void) |
| 103 | { |
| 104 | CardinalPluginContext* const context = static_cast<CardinalPluginContext*>(APP); |
| 105 | DISTRHO_SAFE_ASSERT_RETURN(context != nullptr, 0.0); |
| 106 | DISTRHO_SAFE_ASSERT_RETURN(context->tlw != nullptr, 0.0); |
| 107 | |
| 108 | return context->tlw->getApp().getTime(); |
| 109 | } |
| 110 | |
| 111 | GLFWAPI const char* glfwGetKeyName(const int key, int) |
| 112 | { |
no test coverage detected