summaryrefslogtreecommitdiff
path: root/lib/std/pledge.myr
blob: 8112f2330e3fc168119f7020ff005283f407821a (plain)
1
2
3
4
5
6
7
8
9
10
11
use sys
use "errno"
use "result"

pkg std =
	const pledge	: (promise : byte[:], epromise : byte[:] -> result(void, errno))
;;

const pledge = {promise, epromise
	-> `std.Ok void
}