Lichen

Annotated templates/native/unicode.h

610:2c1ae8f292a9
2017-02-22 Paul Boddie Fixed the testing of attribute usage. method-wrapper-for-context
paul@403 1
/* Native functions for Unicode operations.
paul@403 2
paul@534 3
Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
paul@403 4
paul@403 5
This program is free software; you can redistribute it and/or modify it under
paul@403 6
the terms of the GNU General Public License as published by the Free Software
paul@403 7
Foundation; either version 3 of the License, or (at your option) any later
paul@403 8
version.
paul@403 9
paul@403 10
This program is distributed in the hope that it will be useful, but WITHOUT
paul@403 11
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
paul@403 12
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
paul@403 13
details.
paul@403 14
paul@403 15
You should have received a copy of the GNU General Public License along with
paul@403 16
this program.  If not, see <http://www.gnu.org/licenses/>.
paul@403 17
*/
paul@403 18
paul@403 19
#ifndef __NATIVE_UNICODE_H__
paul@403 20
#define __NATIVE_UNICODE_H__
paul@403 21
paul@403 22
/* Unicode operations. */
paul@403 23
paul@403 24
__attr __fn_native_unicode_unicode_len(__attr __args[]);
paul@534 25
__attr __fn_native_unicode_unicode_ord(__attr __args[]);
paul@431 26
__attr __fn_native_unicode_unicode_substr(__attr __args[]);
paul@607 27
__attr __fn_native_unicode_unicode_unichr(__attr __args[]);
paul@403 28
paul@403 29
/* Module initialisation. */
paul@403 30
paul@403 31
void __main_native_unicode();
paul@403 32
paul@403 33
#endif /* __NATIVE_UNICODE_H__ */