mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
refactor, guard_check, compiling but crash on validateGuards stream output (probably need a proxy class)
This commit is contained in:
@@ -5,8 +5,10 @@ if (process.argv.length < 3)
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
//const server = 'ws://localhost:6005'
|
||||
const server = 'ws://tn4:6005'
|
||||
|
||||
require('../utils-tests.js').TestRig('ws://localhost:6005').then(t=>
|
||||
require('../utils-tests.js').TestRig(server).then(t=>
|
||||
{
|
||||
let wasm = t.findWasm();
|
||||
if (wasm.length != 1)
|
||||
|
||||
@@ -92,7 +92,7 @@ int out_len = 0;\
|
||||
out_len += i;\
|
||||
}
|
||||
|
||||
#define TRACEVAR(v) trace_num((uint32_t)(#v), (uint32_t)(sizeof(#v)), (int64_t)v);
|
||||
#define TRACEVAR(v) trace_num((uint32_t)(#v), (uint32_t)(sizeof(#v) - 1), (int64_t)v);
|
||||
#define TRACEHEX(v) trace((uint32_t)(#v), (uint32_t)(sizeof(#v)), (uint32_t)(v), (uint32_t)(sizeof(v)), 1);
|
||||
#define TRACEXFL(v) trace_float((uint32_t)(#v), (uint32_t)(sizeof(#v)), (int64_t)v);
|
||||
#define TRACESTR(v) trace((uint32_t)(#v), (uint32_t)(sizeof(#v)), (uint32_t)(v), sizeof(v), 0);
|
||||
|
||||
Reference in New Issue
Block a user