21 #ifndef INCLUDED_GRUEL_PMT_SUGAR_H
22 #define INCLUDED_GRUEL_PMT_SUGAR_H
33 mp(
const std::string &s)
53 mp(
long long unsigned x){
71 mp(std::complex<double> z)
78 mp(std::complex<float> z)
92 mp(
const void *data,
size_t len_in_bytes)
GRUEL_API pmt_t pmt_make_tuple()
GRUEL_API pmt_t pmt_from_long(long x)
Return the pmt value that represents the integer x.
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
GRUEL_API pmt_t pmt_make_msg_accepter(boost::shared_ptr< gruel::msg_accepter > ma)
make a msg_accepter
GRUEL_API pmt_t pmt_string_to_symbol(const std::string &s)
Return the symbol whose name is s.
GRUEL_API pmt_t pmt_from_double(double x)
Return the pmt value that represents double x.
GRUEL_API pmt_t pmt_make_rectangular(double re, double im)
Return a complex number constructed of the given real and imaginary parts.
boost::intrusive_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting). See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
Definition: pmt.h:54
GRUEL_API pmt_t pmt_make_blob(const void *buf, size_t len)
Make a blob given a pointer and length in bytes.
static pmt_t mp(const std::string &s)
Make pmt symbol.
Definition: pmt_sugar.h:33