code wiki / _hdl_build / nx_wiki_skin_lib.nx
nx_wiki_skin_lib.nx
buildroot/runtime/_hdl_build/nx_wiki_skin_lib.nx
about
nx_wiki_skin_lib.nx -- ONE shared design shell for every nishifamily.com/wiki page (GitBook-style:
fixed left sidebar nav, single theme, consistent typography/tables/code). Every page = skin_open(...)
+ its content + skin_close(...), so pages can never drift into one-off formats again. Reusable across
the whole wiki. Sovereign: nx_syscalls only. license_tier: ORIGINAL
dependencies 1 imports · 7 importers
imports: nx_syscalls.nx
imported by: nx_advertising_page.nxnx_hub_page.nxnx_wiki_hub.nxnx_wiki_lock_page.nxnx_wiki_page_lib.nxnx_wiki_workstream_page.nxnx_work_wiki.nx
structs
| none |
consts
| none |
functions
| 7 | func sk_cat(dst: *u8, off: i64, s: *u8) -> i64 { var o: i64 = off; var i: i64 = 0; while s[i] != (0 as u8) { dst[o] = s[i]; o = o + 1; i = i + 1 } return o } |
| 8 | func sk_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 16 | func sk_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: sk_nav |
| 19 | func sk_nav(buf: *u8, off: i64, href: *u8, label: *u8, this_slug: *u8, active: *u8) -> i64 |
| 28 | func skin_open(buf: *u8, off: i64, title: *u8, active: *u8) -> i64 |
| 64 | func skin_close(buf: *u8, off: i64, epoch: i64) -> i64 |