Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add size_t and bool native type, bool is standard in C99
  • Loading branch information
Skarsnik committed Nov 15, 2015
1 parent 8541494 commit 94047ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vm/moar/QAST/QASTOperationsMAST.nqp
Expand Up @@ -1961,6 +1961,8 @@ my %const_map := nqp::hash(
'C_TYPE_INT', -3,
'C_TYPE_LONG', -4,
'C_TYPE_LONGLONG', -5,
'C_TYPE_SIZE_T', -6,
'C_TYPE_BOOL', -7,
'C_TYPE_FLOAT', -1,
'C_TYPE_DOUBLE', -2,
'C_TYPE_LONGDOUBLE', -3,
Expand Down
2 changes: 2 additions & 0 deletions src/vm/parrot/QAST/Operations.nqp
Expand Up @@ -1296,6 +1296,8 @@ my %const_map := nqp::hash(
'C_TYPE_INT', -3,
'C_TYPE_LONG', -4,
'C_TYPE_LONGLONG', -5,
'C_TYPE_SIZE_T', -6,
'C_TYPE_BOOL', -7,
'C_TYPE_FLOAT', -1,
'C_TYPE_DOUBLE', -2,
'C_TYPE_LONGDOUBLE', -3,
Expand Down

0 comments on commit 94047ba

Please sign in to comment.