Skip to content

Commit

Permalink
Merge pull request #1560 from onflow/memory-kind-last
Browse files Browse the repository at this point in the history
add memory kind last
  • Loading branch information
dsainati1 committed Apr 7, 2022
2 parents b8efa6a + 2145b20 commit 903b8c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions runtime/common/memorykind.go
Expand Up @@ -133,4 +133,8 @@ const (
MemoryKindReferenceType
MemoryKindRestrictedType
MemoryKindVariableSizedType

// Placeholder kind to allow consistent indexing
// this should always be the last kind
MemoryKindLast
)
5 changes: 3 additions & 2 deletions runtime/common/memorykind_string.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 903b8c5

Please sign in to comment.