Bug 1866777 - Disable test_race_cache_with_network.js on windows opt for frequent...
[gecko.git] / intl / locale / MozLocaleBindings.h
blob2b71757a4435f76839a823e4c84fbe3e4f2f7a83
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_intl_locale_MozLocaleBindings_h
6 #define mozilla_intl_locale_MozLocaleBindings_h
8 #include "mozilla/intl/unic_langid_ffi_generated.h"
9 #include "mozilla/intl/fluent_langneg_ffi_generated.h"
11 #include "mozilla/UniquePtr.h"
13 namespace mozilla {
15 template <>
16 class DefaultDelete<intl::ffi::LanguageIdentifier> {
17 public:
18 void operator()(intl::ffi::LanguageIdentifier* aPtr) const {
19 unic_langid_destroy(aPtr);
23 } // namespace mozilla
25 #endif