summaryrefslogtreecommitdiff
path: root/py/runtime.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-02 19:37:55 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-03 12:32:59 +0300
commitd3439d0c6065bc60a9c4c915f4a1a3ffa796cf33 (patch)
tree0d6b55a7f6893a4d13616f72c310b4f6f532f0b0 /py/runtime.h
parent509c7a7854f24c202832d8fb1369130bf8908261 (diff)
py: Instead of having "debug on" var, have "optimization level" var.
This allows to have multiple "optimization" levels (CPython has two (-OO removes docstrings), we can have more).
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/py/runtime.h b/py/runtime.h
index 3c79b48ed..dbd413180 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -54,8 +54,6 @@ typedef struct _mp_arg_t {
void mp_init(void);
void mp_deinit(void);
-void mp_set_debug(bool value); // sets the value of __debug__; see lexer.c
-
void mp_arg_check_num(uint n_args, uint n_kw, uint n_args_min, uint n_args_max, bool takes_kw);
void mp_arg_parse_all(uint n_pos, const mp_obj_t *pos, mp_map_t *kws, uint n_allowed, const mp_arg_t *allowed, mp_arg_val_t *out_vals);
void mp_arg_parse_all_kw_array(uint n_pos, uint n_kw, const mp_obj_t *args, uint n_allowed, const mp_arg_t *allowed, mp_arg_val_t *out_vals);