Graphics library for Mercury, including OpenGL bindings, TGA image reading, and X11, Win32, and SDL2 windowing and input.
修订版 | 7eebb64a4500d6d87e3f682e9cb6345d965b1d6f (tree) |
---|---|
时间 | 2023-06-30 08:36:07 |
作者 | AlaskanEmily <emily@alas...> |
Commiter | AlaskanEmily |
Fix Java version of demo/timer.m
@@ -127,7 +127,7 @@ void Z2_MS_CALL Z2_Sleep(long ms){ | ||
127 | 127 | :- pragma foreign_proc("Java", ms(Time::uo, IO0::di, IO1::uo), |
128 | 128 | [promise_pure, thread_safe, will_not_call_mercury, may_duplicate, |
129 | 129 | will_not_throw_exception, does_not_affect_liveness], |
130 | - " Time = System.currentTimeMillis(); IO1 = IO0; "). | |
130 | + " Time = (int)System.currentTimeMillis(); IO1 = IO0; "). | |
131 | 131 | |
132 | 132 | %------------------------------------------------------------------------------% |
133 | 133 |