mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 06:42:08 +00:00
- un-deprecated the integer MSTime variant.
Due to undefined downconversion rules from double to int, there is no way to safely downcast the return from MSTimef, meaning the function is completely useless for retrieving integral time stamps. The old version is essential for these cases and must be kept around.
This commit is contained in:
parent
7f338988e3
commit
08f66585b7
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ class Object native
|
|||
private native static Class<Object> BuiltinNameToClass(Name nm, Class<Object> filter);
|
||||
private native static Object BuiltinClassCast(Object inptr, Class<Object> test);
|
||||
|
||||
deprecated("4.8", "Use MSTimeF instead") native static uint MSTime();
|
||||
native static uint MSTime();
|
||||
native static double MSTimeF();
|
||||
native vararg static void ThrowAbortException(String fmt, ...);
|
||||
|
||||
|
|
Loading…
Reference in a new issue