reworked the unicode library a little
This commit is contained in:
@@ -165,8 +165,10 @@ size_t nn_unicode_codepointSize(unsigned int codepoint);
|
|||||||
const char *nn_unicode_codepointToChar(unsigned int codepoint, size_t *len);
|
const char *nn_unicode_codepointToChar(unsigned int codepoint, size_t *len);
|
||||||
size_t nn_unicode_charWidth(unsigned int codepoint);
|
size_t nn_unicode_charWidth(unsigned int codepoint);
|
||||||
size_t nn_unicode_wlen(const char *s);
|
size_t nn_unicode_wlen(const char *s);
|
||||||
void nn_unicode_upper(char *s);
|
unsigned int nn_unicode_upperCodepoint(unsigned int codepoint);
|
||||||
void nn_unicode_lower(char *s);
|
char *nn_unicode_upper(const char *s);
|
||||||
|
unsigned int nn_unicode_lowerCodepoint(unsigned int codepoint);
|
||||||
|
char *nn_unicode_lower(const char *s);
|
||||||
|
|
||||||
double nn_realTime();
|
double nn_realTime();
|
||||||
double nn_realTimeClock(void *_);
|
double nn_realTimeClock(void *_);
|
||||||
|
|||||||
@@ -168,10 +168,13 @@ const char *nn_unicode_codepointToChar(unsigned int codepoint, size_t *len) {
|
|||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOT IMPLEMENTED YET
|
||||||
|
|
||||||
size_t nn_unicode_charWidth(unsigned int codepoint);
|
size_t nn_unicode_charWidth(unsigned int codepoint);
|
||||||
|
|
||||||
size_t nn_unicode_wlen(const char *s);
|
size_t nn_unicode_wlen(const char *s);
|
||||||
|
|
||||||
// NOT IMPLEMENTED YET
|
unsigned int nn_unicode_upperCodepoint(unsigned int codepoint);
|
||||||
void nn_unicode_upper(char *s);
|
char *nn_unicode_upper(const char *s);
|
||||||
void nn_unicode_lower(char *s);
|
unsigned int nn_unicode_lowerCodepoint(unsigned int codepoint);
|
||||||
|
char *nn_unicode_lower(const char *s);
|
||||||
|
|||||||
Reference in New Issue
Block a user