diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-12-25 23:29:19 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-12-27 16:12:17 +0200 |
commit | 8ab6f9067412d9f73fe88d42d81c0b4c4f1fd20b (patch) | |
tree | 1b0609e517add9bf37c10e47d13fc556657cbb9c /py/emitglue.h | |
parent | 343266ea519927a7f1bc0a27f9c8af768d1125f7 (diff) | |
download | micropython-8ab6f9067412d9f73fe88d42d81c0b4c4f1fd20b.tar.gz micropython-8ab6f9067412d9f73fe88d42d81c0b4c4f1fd20b.zip |
py: Move to guarded includes for compile.h and related headers.
Diffstat (limited to 'py/emitglue.h')
-rw-r--r-- | py/emitglue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/emitglue.h b/py/emitglue.h index fd55af26a6..60ccd67406 100644 --- a/py/emitglue.h +++ b/py/emitglue.h @@ -23,6 +23,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_EMITGLUE_H__ +#define __MICROPY_INCLUDED_PY_EMITGLUE_H__ // These variables and functions glue the code emitters to the runtime. @@ -59,3 +61,5 @@ void mp_emit_glue_assign_native(mp_raw_code_t *rc, mp_raw_code_kind_t kind, void mp_obj_t mp_make_function_from_raw_code(mp_raw_code_t *rc, mp_obj_t def_args, mp_obj_t def_kw_args); mp_obj_t mp_make_closure_from_raw_code(mp_raw_code_t *rc, mp_uint_t n_closed_over, const mp_obj_t *args); + +#endif // __MICROPY_INCLUDED_PY_EMITGLUE_H__ |