diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-10-01 22:42:42 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-10-01 22:42:42 -0400 |
commit | ef86dbf72f97a7a9a3b25b1ea94eb32bf609db53 (patch) | |
tree | 8bb5578194607d9900da9f1c8d90c2e905a0bfa2 | |
parent | a8d97bade40dbb1680fde30f698068c8fa671f77 (diff) | |
parent | be0c7ca9854734b228067d3515b2d032362e966b (diff) |
Merge branch 'master' into next
-rw-r--r-- | gruel/src/include/gruel/pmt_sugar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gruel/src/include/gruel/pmt_sugar.h b/gruel/src/include/gruel/pmt_sugar.h index 1d2b38ff17..bde7f716dc 100644 --- a/gruel/src/include/gruel/pmt_sugar.h +++ b/gruel/src/include/gruel/pmt_sugar.h @@ -50,6 +50,12 @@ namespace pmt { //! Make pmt long static inline pmt_t + mp(long long unsigned x){ + return pmt_from_long(x); + } + + //! Make pmt long + static inline pmt_t mp(int x){ return pmt_from_long(x); } |