• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Graphics library for Mercury, including OpenGL bindings, TGA image reading, and X11, Win32, and SDL2 windowing and input.


Commit MetaInfo

修订版7eebb64a4500d6d87e3f682e9cb6345d965b1d6f (tree)
时间2023-06-30 08:36:07
作者AlaskanEmily <emily@alas...>
CommiterAlaskanEmily

Log Message

Fix Java version of demo/timer.m

更改概述

差异

--- a/demo/timer.m
+++ b/demo/timer.m
@@ -127,7 +127,7 @@ void Z2_MS_CALL Z2_Sleep(long ms){
127127 :- pragma foreign_proc("Java", ms(Time::uo, IO0::di, IO1::uo),
128128 [promise_pure, thread_safe, will_not_call_mercury, may_duplicate,
129129 will_not_throw_exception, does_not_affect_liveness],
130- " Time = System.currentTimeMillis(); IO1 = IO0; ").
130+ " Time = (int)System.currentTimeMillis(); IO1 = IO0; ").
131131
132132 %------------------------------------------------------------------------------%
133133