Add qstr_info() function and bindings for unix port.

This commit is contained in:
Damien George
2014-01-29 18:56:46 +00:00
parent 217814cc63
commit 4d5b28cd08
3 changed files with 32 additions and 0 deletions

View File

@@ -36,3 +36,5 @@ machine_uint_t qstr_hash(qstr q);
const char* qstr_str(qstr q);
uint qstr_len(qstr q);
const byte* qstr_data(qstr q, uint *len);
void qstr_pool_info(uint *n_pool, uint *n_qstr, uint *n_str_data_bytes, uint *n_total_bytes);