Skip to content

Commit

Permalink
Add Val as a spec type (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Aug 30, 2022
1 parent 67a3611 commit bc2e590
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Stellar-contract-spec.x
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ namespace stellar

enum SCSpecType
{
SC_SPEC_TYPE_VAL = 0,

// Types with no parameters.
SC_SPEC_TYPE_U32 = 1,
SC_SPEC_TYPE_I32 = 2,
Expand Down Expand Up @@ -81,6 +83,7 @@ struct SCSpecTypeUDT

union SCSpecTypeDef switch (SCSpecType type)
{
case SC_SPEC_TYPE_VAL:
case SC_SPEC_TYPE_U64:
case SC_SPEC_TYPE_I64:
case SC_SPEC_TYPE_U32:
Expand Down

0 comments on commit bc2e590

Please sign in to comment.