26 #ifndef MICROPY_INCLUDED_PY_QSTR_H 27 #define MICROPY_INCLUDED_PY_QSTR_H 41 #define QDEF(id, str) id, 42 #include "genhdr/qstrdefs.generated.h" 58 #define QSTR_FROM_STR_STATIC(s) (qstr_from_strn((s), strlen(s))) 76 void qstr_pool_info(
size_t *n_pool,
size_t *n_qstr,
size_t *n_str_data_bytes,
size_t *n_total_bytes);
79 #endif // MICROPY_INCLUDED_PY_QSTR_H mp_uint_t qstr_hash(qstr q)
struct _qstr_pool_t * prev
qstr qstr_from_strn(const char *str, size_t len)
byte * qstr_build_start(size_t len, byte **q_ptr)
struct _qstr_pool_t qstr_pool_t
void qstr_pool_info(size_t *n_pool, size_t *n_qstr, size_t *n_str_data_bytes, size_t *n_total_bytes)
qstr qstr_find_strn(const char *str, size_t str_len)
qstr qstr_build_end(byte *q_ptr)
void qstr_dump_data(void)
const byte * qstr_data(qstr q, size_t *len)
qstr qstr_from_str(const char *str)
mp_uint_t qstr_compute_hash(const byte *data, size_t len)
const char * qstr_str(qstr q)