GDB (xrefs)
|
#include "extension.h"
Go to the source code of this file.
Classes | |
struct | extension_language_defn |
struct | extension_language_script_ops |
struct | extension_language_ops |
struct | signal_handler |
struct | active_ext_lang_state |
Enumerations | |
enum | ext_lang_rc { EXT_LANG_RC_OK, EXT_LANG_RC_NOP, EXT_LANG_RC_ERROR } |
Functions | |
const struct extension_language_defn * | get_active_ext_lang (void) |
struct active_ext_lang_state * | set_active_ext_lang (const struct extension_language_defn *) |
void | restore_active_ext_lang (struct active_ext_lang_state *previous) |
enum ext_lang_rc |
Enumerator | |
---|---|
EXT_LANG_RC_OK | |
EXT_LANG_RC_NOP | |
EXT_LANG_RC_ERROR |
Definition at line 28 of file extension-priv.h.
const struct extension_language_defn* get_active_ext_lang | ( | void | ) |
Definition at line 686 of file extension.c.
References active_ext_lang.
void restore_active_ext_lang | ( | struct active_ext_lang_state * | previous | ) |
Definition at line 769 of file extension.c.
References active_ext_lang, check_quit_flag(), active_ext_lang_state::ext_lang, signal_handler::handler_saved, install_sigint_handler(), set_quit_flag(), active_ext_lang_state::sigint_handler, and xfree().
Referenced by finalize_python(), and restore_python_env().
struct active_ext_lang_state* set_active_ext_lang | ( | const struct extension_language_defn * | ) |
Definition at line 743 of file extension.c.
References active_ext_lang, extension_language_ops::check_quit_flag, check_quit_flag(), active_ext_lang_state::ext_lang, EXT_LANG_GDB, install_gdb_sigint_handler(), extension_language_defn::language, extension_language_defn::ops, set_quit_flag(), and active_ext_lang_state::sigint_handler.
Referenced by ensure_python_env(), and finalize_python().