Menu

#28 Fix timers / code them in C

4.7
closed
Reylak
2013-08-08
2013-08-01
Reylak
No

Since [0e7851] os.initTimer() has been removed and os.time() has regained its true purpose. However since then Timers only count seconds because they are based on os.time()... I advise you to check the here-above commit and to diff loslib.c to learn more and understand what was done.

Anyway, we can now take benefit from this and move the Timers system to a C file while fixing this stuff :)

Related

Commit: [0e7851]

Discussion

  • Reylak

    Reylak - 2013-08-01

    Related to [#19] "Code 'libs.lua' in C sources"

    Moreover, we may change the name of the method :time() to :getTime() (part of issue [#10]).

     

    Related

    Issues: #10
    Issues: #19

  • Reylak

    Reylak - 2013-08-08
    • status: accepted --> closed
     
  • Reylak

    Reylak - 2013-08-08

    Done in [2b832b].

     

    Related

    Commit: [2b832b]

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.