#define → typedef
This commit is contained in:
parent
d68e278083
commit
b656c9aa44
18
src/h.h
18
src/h.h
@ -95,15 +95,15 @@
|
||||
#define OBJ_COUNTER 1
|
||||
#endif
|
||||
|
||||
#define i8 int8_t
|
||||
#define u8 uint8_t
|
||||
#define i16 int16_t
|
||||
#define u16 uint16_t
|
||||
#define i32 int32_t
|
||||
#define u32 uint32_t
|
||||
#define i64 int64_t
|
||||
#define u64 uint64_t
|
||||
#define f64 double
|
||||
typedef int8_t i8;
|
||||
typedef uint8_t u8;
|
||||
typedef int16_t i16;
|
||||
typedef uint16_t u16;
|
||||
typedef int32_t i32;
|
||||
typedef uint32_t u32;
|
||||
typedef int64_t i64;
|
||||
typedef uint64_t u64;
|
||||
typedef double f64;
|
||||
#define I8_MIN -128
|
||||
#define I8_MAX 127
|
||||
#define I16_MIN -32768
|
||||
|
||||
@ -79,6 +79,7 @@ int main(int argc, char* argv[]) {
|
||||
dec(gsc_exec_inline(fromUTF8l(argv[i++]), m_str8l("(-e)"), emptySVec()));
|
||||
break;
|
||||
}
|
||||
case 'L': { repl_init(); break; } // just initialize. mostly for perf testing
|
||||
case 'p': { repl_init(); REQARG(p);
|
||||
B r = bqn_fmt(gsc_exec_inline(fromUTF8l(argv[i++]), m_str8l("(-p)"), emptySVec()));
|
||||
printRaw(r); dec(r);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user