Add new generation for shared_ptr

This commit is contained in:
Patrick Pelissier committed 2017-03-16 00:14:36 +01:00
1 parent 50163118f4
commit 8b7dfc8246
2 files changed
+12

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#include "m-shared.h"
SHARED_PTR_DEF(int, int)
int f(shared_int_t p)
{
*shared_int_ref(p) = 17;
}