mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Deprecations: Add ignore deprecation warning macros
This commit is contained in:
parent
6b08ced201
commit
5e803ded5f
42 changed files with 114 additions and 148 deletions
|
|
@ -1137,11 +1137,11 @@ private:
|
|||
// Using the non-deprecated webkit_javascript_result_get_js_value() functions seems easier
|
||||
// but returned values fail the JS_IS_VALUE() internal assertion. The example code from the
|
||||
// documentation doesn't seem to work either.
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wdeprecated-declarations")
|
||||
JUCE_BEGIN_IGNORE_DEPRECATION_WARNINGS
|
||||
WebKitJavascriptResultUniquePtr jsResult { wk.juce_webkit_web_view_run_javascript_finish (owner->webview,
|
||||
result,
|
||||
&error) };
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
JUCE_END_IGNORE_DEPRECATION_WARNINGS
|
||||
|
||||
if (jsResult == nullptr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue