From 51dfcb4bb7613ed164952712d9a5235a7b833cde Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 1 Jan 2015 20:27:54 +0000 Subject: py: Move to guarded includes, everywhere in py/ core. Addresses issue #1022. --- py/objtuple.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'py/objtuple.h') diff --git a/py/objtuple.h b/py/objtuple.h index 43b3826bf..4cac48755 100644 --- a/py/objtuple.h +++ b/py/objtuple.h @@ -23,6 +23,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_OBJTUPLE_H__ +#define __MICROPY_INCLUDED_PY_OBJTUPLE_H__ + +#include "py/obj.h" typedef struct _mp_obj_tuple_t { mp_obj_base_t base; @@ -35,3 +39,5 @@ mp_obj_t mp_obj_tuple_unary_op(mp_uint_t op, mp_obj_t self_in); mp_obj_t mp_obj_tuple_binary_op(mp_uint_t op, mp_obj_t lhs, mp_obj_t rhs); mp_obj_t mp_obj_tuple_subscr(mp_obj_t base, mp_obj_t index, mp_obj_t value); mp_obj_t mp_obj_tuple_getiter(mp_obj_t o_in); + +#endif // __MICROPY_INCLUDED_PY_OBJTUPLE_H__ -- cgit v1.2.3