mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 05:01:26 +00:00
adba6b26dc
- Boolean type (no support in lexer yet) - Conditionals - Defines (only work correctly at top level) - More core builtins (apply, cons, car, cdr) - Variable-argument functions - Incremental garbage collection - Garbage collection fixes - Other misc bugs fixed
13 lines
586 B
C
13 lines
586 B
C
@extern void (string str) print = #0;
|
|
@extern integer () errno = #0;
|
|
@extern string (integer err) strerror = #0;
|
|
@extern integer (...) open = #0; // string path, float flags[, float mode]
|
|
@extern integer (integer handle) close = #0;
|
|
@extern string (integer handle, integer count, integer []result) read = #0;
|
|
@extern integer (integer handle, string buffer, integer count) write = #0;
|
|
@extern integer (integer handle, integer pos, integer whence) seek = #0;
|
|
|
|
@extern void() traceon = #0; // turns statment trace on
|
|
@extern void() traceoff = #0;
|
|
|
|
@extern void (...) printf = #0;
|