[Cs-dev] Cs5: csoundCloseLibrary
Date | 2005-02-21 19:06 |
From | jpff@codemist.co.uk |
Subject | [Cs-dev] Cs5: csoundCloseLibrary |
Why does this return a void*? In every case it is used the answer is ignored, and in much of the code it can only generate NULL. My problem is that the result of dlclose is being cast to a (void*) but ints are not the same size as pointers on this machine. ==John ffitch ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-02-21 19:23 |
From | Istvan Varga |
Subject | Re: [Cs-dev] Cs5: csoundCloseLibrary |
jpff@codemist.co.uk wrote: > Why does this return a void*? In every case it is used the answer is > ignored, and in much of the code it can only generate NULL. My > problem is that the result of dlclose is being cast to a (void*) but > ints are not the same size as pointers on this machine. I think it should return an int that is zero on success, just like dlclose(). ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |