shithub: mc

ref: 7f4fa088626c24ac74cdfccab82a3d588ef34be6
dir: /lib/inifile/types.myr/

View raw version
use std

pkg inifile =
	type error = union
		`Fileerr
		`Parseerr int
		`Dupkey int
	;;

	type inifile = struct
		sects	: byte[:][:]
		elts	: std.htab((byte[:], byte[:]), byte[:])#
	;;
;;