Lichen

Annotated templates/native/locale.h

911:5c96e5ca1036
2020-08-03 Paul Boddie Changed diagram font to sans-serif.
paul@375 1
/* Native functions for locale handling.
paul@375 2
paul@664 3
Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
paul@375 4
paul@375 5
This program is free software; you can redistribute it and/or modify it under
paul@375 6
the terms of the GNU General Public License as published by the Free Software
paul@375 7
Foundation; either version 3 of the License, or (at your option) any later
paul@375 8
version.
paul@375 9
paul@375 10
This program is distributed in the hope that it will be useful, but WITHOUT
paul@375 11
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
paul@375 12
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
paul@375 13
details.
paul@375 14
paul@375 15
You should have received a copy of the GNU General Public License along with
paul@375 16
this program.  If not, see <http://www.gnu.org/licenses/>.
paul@375 17
*/
paul@375 18
paul@375 19
#ifndef __NATIVE_LOCALE_H__
paul@375 20
#define __NATIVE_LOCALE_H__
paul@375 21
paul@375 22
#include "types.h"
paul@375 23
paul@375 24
/* Input/output. */
paul@375 25
paul@664 26
__attr __fn_native_locale_getlocale(__attr __self, __attr category);
paul@664 27
__attr __fn_native_locale_setlocale(__attr __self, __attr category, __attr value);
paul@375 28
paul@375 29
/* Module initialisation. */
paul@375 30
paul@375 31
void __main_native_locale();
paul@375 32
paul@375 33
#endif /* __NATIVE_LOCALE_H__ */