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"
16 class DefaultDelete
<intl::ffi::LanguageIdentifier
> {
18 void operator()(intl::ffi::LanguageIdentifier
* aPtr
) const {
19 unic_langid_destroy(aPtr
);
23 } // namespace mozilla