summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/box2.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/box2.c')
-rw-r--r--misc/examples/box2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/examples/box2.c b/misc/examples/box2.c
index b9628eeb..6281f800 100644
--- a/misc/examples/box2.c
+++ b/misc/examples/box2.c
@@ -51,9 +51,9 @@ int main(void) {
};
// Declare auto-deleted box objects
- c_auto (cbox_Rectangle, boxed_rectangle)
- c_auto (cbox_Point, boxed_point)
- c_auto (cbox_BoxPoint, box_in_a_box, boxbox2)
+ c_AUTO (cbox_Rectangle, boxed_rectangle)
+ c_AUTO (cbox_Point, boxed_point)
+ c_AUTO (cbox_BoxPoint, box_in_a_box, boxbox2)
{
// Heap allocated rectangle
boxed_rectangle = cbox_Rectangle_make((Rectangle){