mirror of https://git.wuffs.org/MWCC
21 lines
283 B
C
21 lines
283 B
C
|
#include "mwcc_decomp.h"
|
||
|
|
||
|
static OSErr memErr;
|
||
|
|
||
|
UInt32 LMGetTicks() {
|
||
|
return (OS_GetMilliseconds() * 60) / 1000;
|
||
|
}
|
||
|
|
||
|
UInt32 LMGetTime() {
|
||
|
return OS_GetMilliseconds() / 1000;
|
||
|
}
|
||
|
|
||
|
OSErr LMGetMemErr() {
|
||
|
return memErr;
|
||
|
}
|
||
|
|
||
|
void LMSetMemErr(OSErr value) {
|
||
|
memErr = value;
|
||
|
}
|
||
|
|