diff options
author | Damien George <damien.p.george@gmail.com> | 2014-12-29 01:02:19 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-12-29 01:02:19 +0000 |
commit | 9ddbe291c4217873b7f50dc03c025aa0c9ffee3d (patch) | |
tree | b5dd73487e5c59dcf5b3016893ee890f2455d1d6 /py/qstr.h | |
parent | f89d659e3b587fb806d20f5f243f5ed79ed19a5d (diff) | |
download | micropython-9ddbe291c4217873b7f50dc03c025aa0c9ffee3d.tar.gz micropython-9ddbe291c4217873b7f50dc03c025aa0c9ffee3d.zip |
py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper.
Diffstat (limited to 'py/qstr.h')
-rw-r--r-- | py/qstr.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -23,6 +23,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_QSTR_H__ +#define __MICROPY_INCLUDED_PY_QSTR_H__ + +#include "py/mpconfig.h" +#include "py/misc.h" // See qstrdefs.h for a list of qstr's that are available as constants. // Reference them as MP_QSTR_xxxx. @@ -60,3 +65,5 @@ mp_uint_t qstr_len(qstr q); const byte* qstr_data(qstr q, mp_uint_t *len); void qstr_pool_info(mp_uint_t *n_pool, mp_uint_t *n_qstr, mp_uint_t *n_str_data_bytes, mp_uint_t *n_total_bytes); + +#endif // __MICROPY_INCLUDED_PY_QSTR_H__ |