Add new generation for shared_ptr
This commit is contained in:
1 parent
50163118f4
commit
8b7dfc8246
2 files changed
+12
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#include "m-shared.h"
|
||||
|
||||
SHARED_PTR_DEF(int, int)
|
||||
|
||||
int f(shared_int_t p)
|
||||
{
|
||||
*shared_int_ref(p) = 17;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user