aboutsummaryrefslogtreecommitdiff
path: root/py/qstr.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-12-29 01:02:19 +0000
committerDamien George <damien.p.george@gmail.com>2014-12-29 01:02:19 +0000
commit9ddbe291c4217873b7f50dc03c025aa0c9ffee3d (patch)
treeb5dd73487e5c59dcf5b3016893ee890f2455d1d6 /py/qstr.h
parentf89d659e3b587fb806d20f5f243f5ed79ed19a5d (diff)
py: Add include guards to mpconfig,misc,qstr,obj,runtime,parsehelper.
Diffstat (limited to 'py/qstr.h')
-rw-r--r--py/qstr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/py/qstr.h b/py/qstr.h
index aa4ed4161..a383452b8 100644
--- a/py/qstr.h
+++ b/py/qstr.h
@@ -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__