namespace experiment
authorxchaos <xchaos@4bb87942-c103-4e5a-b51c-0ebff58f8515>
Fri, 11 Jan 2008 15:04:58 +0000 (15:04 +0000)
committerxchaos <xchaos@4bb87942-c103-4e5a-b51c-0ebff58f8515>
Fri, 11 Jan 2008 15:04:58 +0000 (15:04 +0000)
git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@10 4bb87942-c103-4e5a-b51c-0ebff58f8515

objects/cobjects.c

index 465231bd9fb7bb4d967b2ab989cda53126afbcc4..d75befb101cc14a87c732192d7ad850b5fb8a25f 100644 (file)
@@ -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)
This page took 0.104001 seconds and 4 git commands to generate.