Skip to content

Commit

Permalink
Update types.wit
Browse files Browse the repository at this point in the history
  • Loading branch information
lann committed Jun 29, 2023
1 parent 2462bd4 commit c35b75f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wit/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package wasi:runtime-config
// Common types for WASI runtime config interfaces.
interface types {
/// A runtime config store.
type session = u32
open-store: func(name: string) -> result<session, error>
drop-store: func(session: session)
type store = u32
open-store: func(name: string) -> result<store, error>
drop-store: func(store: store)

type error = u32
drop-error: func(error: error)
Expand Down Expand Up @@ -36,4 +36,4 @@ resource common-error {
trace: func() -> string
}
*/
*/

0 comments on commit c35b75f

Please sign in to comment.