mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +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
|
@ -4,7 +4,7 @@
|
|||
COSMOPOLITAN_C_START_
|
||||
|
||||
typedef void *StringTableFormatter(long yn, long xn, const char *const[yn][xn],
|
||||
int emit(), void *, const char *,
|
||||
int (*)(), void *, const char *,
|
||||
const char *, const char *);
|
||||
|
||||
StringTableFormatter FormatStringTable;
|
||||
|
@ -15,28 +15,27 @@ StringTableFormatter FormatStringTableForAssertion;
|
|||
|
||||
void *FreeStringTableCells(long yn, long xn, char *[yn][xn]);
|
||||
|
||||
void FormatMatrixDouble(long yn, long xn, const double[yn][xn], int emit(),
|
||||
void FormatMatrixDouble(long yn, long xn, const double[yn][xn], int (*)(),
|
||||
void *, StringTableFormatter, const char *,
|
||||
const char *, const char *, double,
|
||||
double rounder(double));
|
||||
void FormatMatrixFloat(long yn, long xn, const float[yn][xn], int emit(),
|
||||
void *, StringTableFormatter, const char *, const char *,
|
||||
const char *, double, double rounder(double));
|
||||
void FormatMatrixByte(long yn, long xn, const unsigned char[yn][xn], int emit(),
|
||||
const char *, const char *, double, double (*)(double));
|
||||
void FormatMatrixFloat(long yn, long xn, const float[yn][xn], int (*)(), void *,
|
||||
StringTableFormatter, const char *, const char *,
|
||||
const char *, double, double (*)(double));
|
||||
void FormatMatrixByte(long yn, long xn, const unsigned char[yn][xn], int (*)(),
|
||||
void *, StringTableFormatter, const char *, const char *,
|
||||
const char *);
|
||||
void FormatMatrixShort(long yn, long xn, const short[yn][xn], int emit(),
|
||||
void *, StringTableFormatter, const char *, const char *,
|
||||
void FormatMatrixShort(long yn, long xn, const short[yn][xn], int (*)(), void *,
|
||||
StringTableFormatter, const char *, const char *,
|
||||
const char *);
|
||||
|
||||
char *StringifyMatrixDouble(long yn, long xn, const double[yn][xn],
|
||||
StringTableFormatter, const char *, const char *,
|
||||
const char *, double,
|
||||
double rounder(double)) mallocesque;
|
||||
double (*)(double)) mallocesque;
|
||||
char *StringifyMatrixFloat(long yn, long xn, const float[yn][xn],
|
||||
StringTableFormatter, const char *, const char *,
|
||||
const char *, double,
|
||||
double rounder(double)) mallocesque;
|
||||
double (*)(double)) mallocesque;
|
||||
char *StringifyMatrixByte(long yn, long xn, const unsigned char[yn][xn],
|
||||
StringTableFormatter, const char *, const char *,
|
||||
const char *) mallocesque;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue