summaryrefslogtreecommitdiff
path: root/lib/inifile/types.myr
blob: f573b7b4441a329d99e0504bbf9f2579c7d7d45e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std

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

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