diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-10-01 20:48:42 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-10-01 20:48:42 -0400 |
commit | be0c7ca9854734b228067d3515b2d032362e966b (patch) | |
tree | 909f03285d471439c89c23bda67792babcd03efd /gruel | |
parent | d5973006fa99ead50dd4b74e01aec19fc69f228a (diff) |
gruel: added unsigned long long int support to the PMT sugar functions.
Diffstat (limited to 'gruel')
-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); } |