We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5424b73 commit 57747bfCopy full SHA for 57747bf
distrho/extra/WebViewImpl.hpp
@@ -125,3 +125,12 @@ void webViewReload(WebViewHandle webview);
125
void webViewResize(WebViewHandle webview, uint width, uint height, double scaleFactor);
126
127
// --------------------------------------------------------------------------------------------------------------------
128
+
129
+/**
130
+ Helper class for usage in std::shared_ptr and std::unique_ptr.
131
+*/
132
+struct WebViewDestroy {
133
+ void operator()(WebViewHandle handle) { webViewDestroy(handle); }
134
+};
135
136
+// --------------------------------------------------------------------------------------------------------------------
0 commit comments