misc/coverity_model.c
author nemo
Thu, 20 Apr 2017 11:22:29 -0400
changeset 12294 0deabf747b8f
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
For testing purposes, drop tointeger and pushint since Lua uses ptrdiff causing inconsistent behaviour if we try to get a longword value from tointeger on 64 bit vs 32bit. This should improve script reliability a bit

void fpcrtl_halt(int num) {
    __coverity_panic__();
}

int fpcrtl_abs(int num) {
    return num >= 0 ? num : -num;
}