code wiki / (root) / nx_witch_authored_witness_t140.nx

nx_witch_authored_witness_t140.nx source

↩ module page · 9 lines · 380 B

1// Private source-weight witness through the existing authored importer; no public asset mutation. 2import "nx_nxa_skin_authored_witness_t140.nx" 3func main(argc:i64,argv:*i64)->i64{ 4 if argc!=4{return 2} 5 let av:*i64=sys_mmap(40) as *i64 6 if (av as i64)<=0{return 3} 7 av[0]=argv[0];av[1]=argv[1];av[2]=argv[2];av[3]=argv[3];av[4]="authored" as i64 8 return sk_authored_main(5,av) 9}