code wiki / _hdl_build / nx_g_check_lib.nx
nx_g_check_lib.nx
buildroot/runtime/_hdl_build/nx_g_check_lib.nx
about
nx_g_check_lib.nx -- single-responsibility shared helper: g_check (2-arg PASS/FAIL emitter).
Calls g_puts, so it imports nx_g_puts_lib. 3-arg or otherwise-divergent g_check bodies are VARIANT
(self-check refuses them). license_tier: ORIGINAL
dependencies 1 imports · 17 importers
diagram shows first 10 each side; +0 more imports, +7 more importers in the complete lists below.
imports: nx_g_puts_lib.nx
imported by: nx_nofloat_autograd_gate.nxnx_nofloat_census.nxnx_nofloat_ladder.nxnx_nofloat_xformer_gate.nxnx_nv1_gate.nxnx_nv1_lpc_gate.nxnx_quic_fec_test.nxnx_quic_frame_test.nxnx_quic_handshake_sm_test.nxnx_quic_hdr_test.nxnx_quic_hs_test.nxnx_quic_keys_test.nxnx_quic_pkt_test.nxnx_quic_recovery_test.nxnx_quic_tls_schedule_test.nxnx_quic_transport_params_test.nxnx_quic_udp_test.nx
structs
| none |
consts
| none |
functions
| 5 | func g_check(name: *u8, cond: i64) -> i64 { if cond==1 { g_puts(" PASS " as *u8) } else { g_puts(" FAIL " as *u8) } g_puts(name); g_puts("\n" as *u8); return cond } |