diff options
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -843,6 +843,12 @@ class Environment { return current_value; } + inline bool EmitErrNameWarning() { + bool current_value = emit_err_name_warning_; + emit_err_name_warning_ = false; + return current_value; + } + typedef void (*native_immediate_callback)(Environment* env, void* data); // cb will be called as cb(env, data) on the next event loop iteration. // obj will be kept alive between now and after the callback has run. @@ -929,6 +935,7 @@ class Environment { bool printed_error_; bool abort_on_uncaught_exception_; bool emit_env_nonstring_warning_; + bool emit_err_name_warning_; size_t makecallback_cntr_; std::vector<double> destroy_async_id_list_; |