mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-21 17:20:25 +01:00
fix(pty): remove non-portable signal enums
Remove signal enum members which do not use portable numbers, and therefore may be different on different operating systems.
This commit is contained in:
parent
b78bdf3136
commit
7f03761fb2
3 changed files with 0 additions and 7 deletions
|
@ -37,12 +37,9 @@ void PTY::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(SIGNAL_SIGILL);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGTRAP);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGABRT);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGBUS);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGFPE);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGKILL);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGUSR1);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGSEGV);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGUSR2);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGPIPE);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGALRM);
|
||||
BIND_ENUM_CONSTANT(SIGNAL_SIGTERM);
|
||||
|
|
|
@ -24,12 +24,9 @@ namespace godot
|
|||
SIGNAL_SIGILL = 4,
|
||||
SIGNAL_SIGTRAP = 5,
|
||||
SIGNAL_SIGABRT = 6,
|
||||
SIGNAL_SIGBUS = 7,
|
||||
SIGNAL_SIGFPE = 8,
|
||||
SIGNAL_SIGKILL = 9,
|
||||
SIGNAL_SIGUSR1 = 10,
|
||||
SIGNAL_SIGSEGV = 11,
|
||||
SIGNAL_SIGUSR2 = 12,
|
||||
SIGNAL_SIGPIPE = 13,
|
||||
SIGNAL_SIGALRM = 14,
|
||||
SIGNAL_SIGTERM = 15,
|
||||
|
|
|
@ -66,7 +66,6 @@ class TestInterface:
|
|||
|
||||
# Enums.
|
||||
|
||||
# Added SIGNAL_ prefix to name.
|
||||
func test_has_enum_signal():
|
||||
assert_eq(described_class.SIGNAL_SIGHUP, 1)
|
||||
assert_eq(described_class.SIGNAL_SIGINT, 2)
|
||||
|
|
Loading…
Reference in a new issue