X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gruel%2Fsrc%2Finclude%2Fgruel%2Fpmt.h;fp=gruel%2Fsrc%2Finclude%2Fgruel%2Fpmt.h;h=caa12209d56da8500176d0df915e3bd5298109e5;hb=ad36dccd88eafec6efb8f2428fb21f54d6894cfc;hp=de0998b5e1bf6e51cc58da7e7ac2182c47ce648f;hpb=ab3b6e3057244259d333513c133450e9efc4dc1b;p=debian%2Fgnuradio diff --git a/gruel/src/include/gruel/pmt.h b/gruel/src/include/gruel/pmt.h index de0998b5..caa12209 100644 --- a/gruel/src/include/gruel/pmt.h +++ b/gruel/src/include/gruel/pmt.h @@ -23,7 +23,7 @@ #ifndef INCLUDED_PMT_H #define INCLUDED_PMT_H -#include +#include #include #include #include @@ -50,8 +50,10 @@ class pmt_base; * \brief typedef for shared pointer (transparent reference counting). * See http://www.boost.org/libs/smart_ptr/smart_ptr.htm */ -typedef boost::shared_ptr pmt_t; +typedef boost::intrusive_ptr pmt_t; +extern void intrusive_ptr_add_ref(pmt_base*); +extern void intrusive_ptr_release(pmt_base*); class pmt_exception : public std::logic_error {