mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Fix bugs and have emulator emulate itself
This commit is contained in:
parent
5aabacb361
commit
bd29223891
111 changed files with 1283 additions and 2073 deletions
16
tool/build/lib/word.h
Normal file
16
tool/build/lib/word.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef COSMOPOLITAN_TOOL_BUILD_LIB_WORD_H_
|
||||
#define COSMOPOLITAN_TOOL_BUILD_LIB_WORD_H_
|
||||
#include "tool/build/lib/machine.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
void SetMemoryShort(struct Machine *, int64_t, int16_t);
|
||||
void SetMemoryInt(struct Machine *, int64_t, int32_t);
|
||||
void SetMemoryLong(struct Machine *, int64_t, int64_t);
|
||||
void SetMemoryFloat(struct Machine *, int64_t, float);
|
||||
void SetMemoryDouble(struct Machine *, int64_t, double);
|
||||
void SetMemoryLdbl(struct Machine *, int64_t, long double);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_TOOL_BUILD_LIB_WORD_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue