Port m-shared-ptr to new memory model
(use global pool)
This commit is contained in:
1 parent
5d1ebdf5bb
commit
689527c2dc
4 files changed
+40
-5
No files matched your search
@@ -145,6 +145,11 @@ M_VARIANT_DEF2(variant2, (num, int), (name, string_t, M_STRING_POOL_OPLIST) )
|
||||
M_WORKER_SPAWN_DEF2(worker_int, (in, int) )
|
||||
M_WORKER_SPAWN_DEF2(worker_str, (str, string_t, M_STRING_POOL_OPLIST) )
|
||||
|
||||
#include "m-shared-ptr.h"
|
||||
|
||||
M_SHARED_PTR_DEF(shared_int, int)
|
||||
M_SHARED_PTR_DEF(shared_str, string_t, M_STRING_POOL_OPLIST)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user