diff options
| author | Tyge Løvset <[email protected]> | 2023-01-18 17:31:06 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-01-18 18:03:25 +0100 |
| commit | 5503f7a513a21f833bdba1d70973deaafb2f7a96 (patch) | |
| tree | 9f17c350650ec81d8598fe68752c25cbf5115621 /misc/examples/new_sptr.c | |
| parent | 90aab650b31febadcea45cfa60d0620b4d807ee9 (diff) | |
| download | STC-modified-5503f7a513a21f833bdba1d70973deaafb2f7a96.tar.gz STC-modified-5503f7a513a21f833bdba1d70973deaafb2f7a96.zip | |
Improved error messages.
Diffstat (limited to 'misc/examples/new_sptr.c')
| -rw-r--r-- | misc/examples/new_sptr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/examples/new_sptr.c b/misc/examples/new_sptr.c index 90ce30b2..5441ae01 100644 --- a/misc/examples/new_sptr.c +++ b/misc/examples/new_sptr.c @@ -16,6 +16,7 @@ uint64_t Person_hash(const Person* p); #define i_type IPtr #define i_val int #define i_valdrop(x) printf("drop: %d\n", *x) +#define i_no_clone #include <stc/carc.h> #define i_type IPStack |
