Re: Just curious... to be more precise

new topic     » topic index » view thread      » older message » newer message

Pete,

I think my previous explanation was not clear enough,

stk_user_handle  is function pointer. It is a variable that containt the address
of a function. The line
(*st_user_handle)(0,context)
is the way to call the function. In C language writing * before a pointer
variable means you dereference it (get it's value)
In that case the value is the address of a function so that function is called.

regards,
Jacques DeschĂȘnes

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu