We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a0cbc0 commit a8775aaCopy full SHA for a8775aa
1 file changed
py/qstr.h
@@ -56,6 +56,7 @@ typedef struct _qstr_pool_t {
56
} qstr_pool_t;
57
58
#define QSTR_FROM_STR_STATIC(s) (qstr_from_strn((s), strlen(s)))
59
+#define QSTR_TOTAL() (MP_STATE_VM(last_pool)->total_prev_len + MP_STATE_VM(last_pool)->len)
60
61
void qstr_init(void);
62
0 commit comments