Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes:

> 
> Jørgen Steensgaard-Madsen wrote:
> > Asking for help.
> 
> You haven't said where the dispatch table is or how it is supposed to filled
> in.  

First of all, thanks for reacting so promptly.

The dispatch table is an array of pointers in a C-program file to be linked
against the libraries.  Initialised is expressed as a usual array declaration
initialised with individual entries given as 

    &some_function

where some_function is declared as extern in the same file.  This methods works
nicely with static linkage, and also with dynamic linkage on a Linux box.

Jørgen




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to