py: Move to guarded includes for compile.h and related headers.
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user