LCDproc development and user support list

Text archives Help

[Lcdproc] Re: API-v0.5: drvthis and private_data (comment in CVS)

Chronological Thread 
  • From: joris AT (Joris Robijn)
  • Subject: [Lcdproc] Re: API-v0.5: drvthis and private_data (comment in CVS)
  • Date: Wed Dec 5 22:04:01 2001

> The pointers to functions have the same value for the different
> instances. We need a parameter to access the instance data. If you
> look inside C++, you'll see that the first argument on the stack is
> also the 'this' pointer.

Ah, David, I see you already commented that in the API document...

> We could also decide instead to pass the private_data pointer, but
> then we first need to get all data out of the driver struct. Should
> we do this ?

So should we pass the private data pointer directly instead of the
drvthis pointer ? I would like that too...

I'' send you my diff tonight...


Joris Robijn
<joris AT>
Home: 053 4311 553
Mobile: 06 288 41 964

// To understand recursion, we must first understand recursion

Archive powered by MHonArc 2.6.18.

Top of page