j
k
j a
j l
Hi Dimitar,
you should use macros here:
header: void moveto(int x, int y); #define moveto(x,y) do { __gr_X = (x); __gr_Y = (y); } while (0)
source: void (moveto)(int x, int y) { moveto(x,y); }
It's simple, clear (hmm...) and portable
Hartmut
Back to the thread
Back to the list