summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-09-19 13:18:54 +1000
committerDamien George <damien.p.george@gmail.com>2016-09-19 13:18:54 +1000
commite60835bac5336c8e0123443b427c6db48b5060df (patch)
tree5ad6e05d13f8f854f01e229a932d99c2779105de
parent4874bde10428302eac848b3130e5076e685c7774 (diff)
downloadmicropython-e60835bac5336c8e0123443b427c6db48b5060df.tar.gz
micropython-e60835bac5336c8e0123443b427c6db48b5060df.zip
py/qstr: Remove a comment.
qstrs are always null terminated so qstr_str will stay as part of the API.
-rw-r--r--py/qstr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/qstr.c b/py/qstr.c
index 079b2a8e7e..28df06ca3d 100644
--- a/py/qstr.c
+++ b/py/qstr.c
@@ -275,7 +275,6 @@ size_t qstr_len(qstr q) {
return Q_GET_LENGTH(qd);
}
-// XXX to remove!
const char *qstr_str(qstr q) {
const byte *qd = find_qstr(q);
return (const char*)Q_GET_DATA(qd);