File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 2727#endif
2828# define CRASHDETECT_INC
2929
30- // Backwards compatibility; will be removed in the future.
31- # define PrintAmxBacktrace PrintBacktrace
32- # define GetAmxBacktrace GetBacktrace
33-
3430native PrintBacktrace ();
3531native PrintNativeBacktrace ();
3632
3733native GetBacktrace (string[], size = sizeof (string));
3834native GetNativeBacktrace (string[], size = sizeof (string));
3935
36+ // Backwards compatibility; will be removed in the future.
37+ #pragma deprecated Use `PrintBacktrace`
38+ stock PrintAmxBacktrace ()
39+ {
40+ return PrintBacktrace ();
41+ }
42+
43+ #pragma deprecated Use `GetBacktrace`
44+ stock GetAmxBacktrace (string[], size = sizeof (string))
45+ {
46+ return GetBacktrace (string, size);
47+ }
48+
4049forward OnRuntimeError (code, & bool: suppress);
4150
4251stock bool: IsCrashDetectPresent () {
You can’t perform that action at this time.
0 commit comments