Re: eXene and openGL

brian <briand-/[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
>> The fftw header file I created is portable because it only refers to
>> doubles and the like.
>
> Unless I'm mistaken, I saw definitions for some standard C typedefs
> like size_t in you fftw headers.  Such definitions are not portable.
> Different C implementations may choose different types (even types of
> different size) for typedefs like size_t.  This means that the fftw
> headers you created only work on platforms that happen to choose the
> same types.  (The approach that I'm using in my libc interface is to
> generate such definitions separately for each platform.)
>

You're right !  It needs size_t and the _only_ reason it needs size_t  
is for malloc.
A good example of how your approach would be quite useful.


Brian


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.