Software /
code /
prosody
File
teal-src/util/signal.d.tl @ 11880:d30c81b875f2
util.dataforms: Ensure larger integers are serialized as such
Assumes that most number fields are integers, as most numeric types
listed in XEP-0122 are, as are all such fields in Prosody as of this.
Otherwise %g produces something like 1.1259e+15
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 28 Oct 2021 13:00:24 +0200 |
parent | 11579:ec4f0ec3c0d5 |
child | 12627:b8ce0f61855b |
line wrap: on
line source
local record lib enum signal "SIGABRT" "SIGALRM" "SIGBUS" "SIGCHLD" "SIGCLD" "SIGCONT" "SIGFPE" "SIGHUP" "SIGILL" "SIGINT" "SIGIO" "SIGIOT" "SIGKILL" "SIGPIPE" "SIGPOLL" "SIGPROF" "SIGQUIT" "SIGSEGV" "SIGSTKFLT" "SIGSTOP" "SIGSYS" "SIGTERM" "SIGTRAP" "SIGTTIN" "SIGTTOU" "SIGURG" "SIGUSR1" "SIGUSR2" "SIGVTALRM" "SIGWINCH" "SIGXCPU" "SIGXFSZ" end signal : function (integer | signal, function, boolean) : boolean raise : function (integer | signal) kill : function (integer, integer | signal) -- enum : integer end return lib