summaryrefslogtreecommitdiff
path: root/gruel
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-10-01 20:48:42 -0400
committerTom Rondeau <trondeau@vt.edu>2012-10-01 20:48:42 -0400
commitbe0c7ca9854734b228067d3515b2d032362e966b (patch)
tree909f03285d471439c89c23bda67792babcd03efd /gruel
parentd5973006fa99ead50dd4b74e01aec19fc69f228a (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.h6
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);
}