commit | 4d5b28cd0886a565b69f035bb8b3713050636cac | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Wed Jan 29 18:56:46 2014 +0000 |
committer | Damien George <damien.p.george@gmail.com> | Wed Jan 29 18:56:46 2014 +0000 |
tree | f50734b889ff2b341abffeadd59edc6a91ffbafd | |
parent | 217814cc63f2054833a87d2dd903a9cbe476e55a [diff] [blame] |
Add qstr_info() function and bindings for unix port.
diff --git a/py/qstr.h b/py/qstr.h index 9224d48..779ebcb 100644 --- a/py/qstr.h +++ b/py/qstr.h
@@ -36,3 +36,5 @@ 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);