Changeset e1813cf in mainline for kernel/generic/include/string.h


Ignore:
Timestamp:
2009-03-31T22:51:41Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ce87a8aa
Parents:
b54d2f1
Message:

Start converting string functions according to the terminology agreed upon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/string.h

    rb54d2f1 re1813cf  
    3838#include <typedefs.h>
    3939
    40 #define UTF8_NO_LIMIT  ((index_t) -1)
     40#define UTF8_NO_LIMIT  ((size_t) -1)
    4141
    4242extern char invalch;
    4343
    44 extern wchar_t utf8_decode(const char *str, index_t *index, index_t limit);
    45 extern bool utf8_encode(const wchar_t ch, char *str, index_t *index, index_t limit);
     44extern wchar_t chr_decode(const char *, size_t *, size_t);
     45extern bool chr_encode(const wchar_t, char *, size_t *, size_t limit);
    4646extern size_t utf8_count_bytes(const char *str, count_t count);
    4747extern bool ascii_check(const wchar_t ch);
Note: See TracChangeset for help on using the changeset viewer.