code wiki / (root) / nx_sota_why_lib.nx

nx_sota_why_lib.nx

buildroot/runtime/nx_sota_why_lib.nx

1820 B39 linesdepth 6pulls 6 transitivereach 2 importersview sourcekind librarytopic sota
docsdependenciesstructsconstsfunctions

about

nx_sota_why_lib.nx -- the two pure helpers behind nx_sota_why, in a lib so the ORGAN AND ITS GATE RUN THE SAME CODE. They are here rather than inline for one reason: a gate cannot import a program (a second main), so a helper that lives in the organ is a helper no tooth can reach, and the only tests left available are end-to-end ones that cannot say WHICH part broke.

dependencies 2 imports · 2 importers

nx_syscalls.nx nx_string_ops.nx nx_sota_why_lib.nx nx_sota_why.nx nx_sota_why_gate.nx

imports: nx_syscalls.nxnx_string_ops.nx

imported by: nx_sota_why.nxnx_sota_why_gate.nx

structs

none

consts

none

functions

9func sw_cat(d: *u8, o: i64, s: *u8) -> i64
called by 2: mainmain
20func sw_row_has(buf: *u8, lo: i64, hi: i64, tok: *u8) -> i64
called by 2: mainmain calls 2: nx_str_findnx_str_len
30func sw_row_end(buf: *u8, from: i64, n: i64) -> i64
called by 1: main