summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/widget/clipb.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-07-29 09:21:45 +0200
committerUros Majstorovic <majstor@majstor.org>2020-07-29 09:21:45 +0200
commit0e518d5117b73fd54081decf1c0eb9f9d3173ff6 (patch)
tree9ef8f4529e3b24cd9ca16e6c46a89781abc8c670 /code/fe310/eos/eve/widget/clipb.c
parent5a39774e6ed9002de3f0ec1f2cdbba2ebbe9fbde (diff)
unicode support
Diffstat (limited to 'code/fe310/eos/eve/widget/clipb.c')
-rw-r--r--code/fe310/eos/eve/widget/clipb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/fe310/eos/eve/widget/clipb.c b/code/fe310/eos/eve/widget/clipb.c
index f480d83..04c9a46 100644
--- a/code/fe310/eos/eve/widget/clipb.c
+++ b/code/fe310/eos/eve/widget/clipb.c
@@ -3,9 +3,9 @@
#include "eve.h"
#include "clipb.h"
-static char _clipb[EVE_CLIPB_SIZE_BUF];
+static uint8_t _clipb[EVE_CLIPB_SIZE_BUF];
-int eve_clipb_push(char *str, uint16_t len) {
+int eve_clipb_push(uint8_t *str, uint16_t len) {
if (len >= EVE_CLIPB_SIZE_BUF) return EVE_ERR;
memcpy(_clipb, str, len);
@@ -14,6 +14,6 @@ int eve_clipb_push(char *str, uint16_t len) {
return EVE_OK;
}
-char *eve_clipb_get(void) {
+uint8_t *eve_clipb_get(void) {
return _clipb;
} \ No newline at end of file