summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/shape.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-18 17:31:06 +0100
committerTyge Løvset <[email protected]>2023-01-18 18:03:25 +0100
commit5503f7a513a21f833bdba1d70973deaafb2f7a96 (patch)
tree9f17c350650ec81d8598fe68752c25cbf5115621 /misc/examples/shape.c
parent90aab650b31febadcea45cfa60d0620b4d807ee9 (diff)
downloadSTC-modified-5503f7a513a21f833bdba1d70973deaafb2f7a96.tar.gz
STC-modified-5503f7a513a21f833bdba1d70973deaafb2f7a96.zip
Improved error messages.
Diffstat (limited to 'misc/examples/shape.c')
-rw-r--r--misc/examples/shape.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/examples/shape.c b/misc/examples/shape.c
index 4f7903da..ed0c3fe1 100644
--- a/misc/examples/shape.c
+++ b/misc/examples/shape.c
@@ -127,6 +127,7 @@ static struct ShapeAPI Polygon_api = {
#define i_type Shapes
#define i_val Shape*
#define i_valdrop(x) Shape_delete(*x)
+#define i_no_clone
#include <stc/cstack.h>
void testShape(const Shape* shape)