From 430e7902bb0ac308bff1302fadaa68dba97a8537 Mon Sep 17 00:00:00 2001 From: xchaos Date: Fri, 11 Jan 2008 15:04:58 +0000 Subject: [PATCH] namespace experiment git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@10 4bb87942-c103-4e5a-b51c-0ebff58f8515 --- objects/cobjects.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/objects/cobjects.c b/objects/cobjects.c index 465231b..d75befb 100644 --- a/objects/cobjects.c +++ b/objects/cobjects.c @@ -27,10 +27,10 @@ struct Rect int x1; int y1; int x2; int y2; }; -void draw_tri(void *self) +void draw_tri(void *_self) { - struct Tri *t=(struct Tri *)self; - printf("%d,%d - %d,%d - %d,%d\n",t->x1,t->y1,t->x2,t->y2,t->x3,t->y3); + struct Tri *self=(struct Tri *)_self; + printf("%d,%d - %d,%d - %d,%d\n",self->x1,self->y1,self->x2,self->y2,self->x3,self->y3); }; void draw_rect(void *self) -- 2.30.2