X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a4a6081750de4dea9877433891f32109eeabbcd0..e87e7a6959f53286092e5c160dd865579601ba0e:/include/simgrid/forward.h diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index 5d970790e1..069046297c 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -16,6 +16,10 @@ namespace simgrid { namespace s4u { class Activity; +/** Smart pointer to a simgrid::s4u::Actor */ +typedef boost::intrusive_ptr ActivityPtr; +XBT_PUBLIC void intrusive_ptr_release(const Activity* actor); +XBT_PUBLIC void intrusive_ptr_add_ref(const Activity* actor); class Actor; /** Smart pointer to a simgrid::s4u::Actor */