mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-21 11:25:01 +00:00
53bcba3368
IGUIObject: Cache the JSObject*, to prevent some frequent allocation while running GUI scripts. JSInterface_IGUIObject: Fixed garbage collection issues. JSInterface_IGUIObject, ScriptGlue: Changed to the JS_THREADSAFE form of JS_GetClass. Util: Avoid startup warnings on Linux caused by using unimplemented cpu_* functions that aren't needed for anything important yet. sysdep/unix: Changed to native line endings. This was SVN commit r5154.
9 lines
156 B
C
9 lines
156 B
C
#ifndef INCLUDED_BSD
|
|
#define INCLUDED_BSD
|
|
|
|
#include "../cpu.h"
|
|
|
|
extern size_t bsd_MemorySize(CpuMemoryIndicators mem_type);
|
|
|
|
#endif // #ifndef INCLUDED_BSD
|