lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Gavin Wraith schrieb:

> On Thu 26 Jul, James Hearn wrote:
> > > ----- Original Message -----
> > > > Apologies to all - I know that a great cry of "pedant" will
> > > > rise to the sky - but 'userdata' is a plural. One userdatum,
> > > > two userdata. It is like 'media' - one medium, two media.
> > > > Sorry - but anything else feels wrong.
> > >
> > >
> > > Most of my userdata points to several bytes :-)
> > >
> > > /Erik
> >
> > Shh! Don't interrupt the pedant! You might get bytten!
> >
> > --James Hearn
>
> The pedant is quite happy with 'one pointer, two pointers'.
> The problem arises with not distinguishing the pointer from
> its target, an overloading which I suspect is hardwired into
> the human brain.

We're trying to be effective :)
typedef USERDATA TYPE_FOR_POINTER_POINTING_TO_USERDATUM;

Anyway, as you know, hungarian notation already suggests constructs like
LPUSERDATA...


>
> --
> Gavin Wraith (gavin@wraith.u-net.com)
> Home page: http://www.wraith.u-net.com/

-Markus-