Initial commit

This commit is contained in:
2018-01-24 17:51:07 +01:00
commit 1d74a399b5
341 changed files with 28906 additions and 0 deletions

15
fs/api_fastclock.js Normal file
View File

@@ -0,0 +1,15 @@
// Fastclock
let Fastclock = {
set_update_handler: ffi('void fastclock_set_update_cb(void(*)(userdata), userdata)'),
getHours: ffi('int fastclock_get_hours()'),
getMinutes: ffi('int fastclock_get_minutes()'),
getSeconds: ffi('int fastclock_get_seconds()'),
getName: ffi('char * fastclock_get_name()'),
getMessage: ffi('char * fastclock_get_message()'),
getServerIp: ffi('char * fastclock_get_server_ip()'),
getServerPort: ffi('int fastclock_get_server_port()'),
getSpeed: ffi('double fastclock_get_speed()'),
isActive: ffi('int fastclock_is_active()'),
isFastclock: ffi('int fastclock_is_fastclock()'),
}