commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/12: pmt: adding uint64 sugar


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/12: pmt: adding uint64 sugar
Date: Fri, 23 May 2014 17:35:55 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit a74a7f3f3172acd33680c3298f60279c11092d36
Author: Tim O'Shea <address@hidden>
Date:   Wed May 14 21:59:14 2014 -0400

    pmt: adding uint64 sugar
---
 gnuradio-runtime/include/pmt/pmt_sugar.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnuradio-runtime/include/pmt/pmt_sugar.h 
b/gnuradio-runtime/include/pmt/pmt_sugar.h
index 870b819..743c5b1 100644
--- a/gnuradio-runtime/include/pmt/pmt_sugar.h
+++ b/gnuradio-runtime/include/pmt/pmt_sugar.h
@@ -51,6 +51,12 @@ namespace pmt {
     return from_long(x);
   }
 
+  //! Make pmt uint64
+  static inline pmt_t
+  mp(uint64_t x){
+    return from_uint64(x);
+  }
+
   //! Make pmt long
   static inline pmt_t
   mp(long long unsigned x){



reply via email to

[Prev in Thread] Current Thread [Next in Thread]