| @@ -40,7 +40,7 @@ Window* d_lastUiWindow = nullptr; | |||||
| // ----------------------------------------------------------------------------------------------------------- | // ----------------------------------------------------------------------------------------------------------- | ||||
| #if DISTRHO_PLUGIN_HAS_EXTERNAL_UI | #if DISTRHO_PLUGIN_HAS_EXTERNAL_UI | ||||
| UI* createUiWrapper(void* dspPtr, uintptr_t winId, double scaleFactor, const char* bundlePath) | |||||
| UI* createUiWrapper(void* const dspPtr, const uintptr_t winId, const double scaleFactor, const char* const bundlePath) | |||||
| { | { | ||||
| d_lastUiDspPtr = dspPtr; | d_lastUiDspPtr = dspPtr; | ||||
| g_nextWindowId = winId; | g_nextWindowId = winId; | ||||
| @@ -54,7 +54,7 @@ UI* createUiWrapper(void* dspPtr, uintptr_t winId, double scaleFactor, const cha | |||||
| return ret; | return ret; | ||||
| } | } | ||||
| #else | #else | ||||
| UI* createUiWrapper(void* dspPtr, Window* window) | |||||
| UI* createUiWrapper(void* const dspPtr, Window* const window) | |||||
| { | { | ||||
| d_lastUiDspPtr = dspPtr; | d_lastUiDspPtr = dspPtr; | ||||
| d_lastUiWindow = window; | d_lastUiWindow = window; | ||||
| @@ -48,9 +48,9 @@ extern Window* d_lastUiWindow; | |||||
| // ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
| #if DISTRHO_PLUGIN_HAS_EXTERNAL_UI | #if DISTRHO_PLUGIN_HAS_EXTERNAL_UI | ||||
| UI* createUiWrapper(void* dspPtr, uintptr_t winId, double scaleFactor, const char* bundlePath); | |||||
| UI* createUiWrapper(void* const dspPtr, const uintptr_t winId, const double scaleFactor, const char* const bundlePath); | |||||
| #else // DISTRHO_PLUGIN_HAS_EXTERNAL_UI | #else // DISTRHO_PLUGIN_HAS_EXTERNAL_UI | ||||
| UI* createUiWrapper(void* dspPtr, Window* window); | |||||
| UI* createUiWrapper(void* const dspPtr, Window* const window); | |||||
| #endif | #endif | ||||
| #if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI | #if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI | ||||