Two questions.

Hi,

In http://code.google.com/p/smart-rt/source/browse/src/smart/SmartDefs.h?spec=svn214bfa36fcaf6c09bdfef4245a50d431575f171a&r=214bfa36fcaf6c09bdfef4245a50d431575f171a,

there are a series of typedefs at the head of the page, like typedef void RTvoid. Is that useful? I meean, aren't those types standard? Or in Windows and Linux those declaration differ?

The second question: what are CRT functions? Is that how are commonly known functions like malloc or printf? And, are they platform specific?

Thanks!!
I meean, aren't those types standard?


No, they are not.

The CRT is the MS name for the C standard library. They are platform specific and have to be written for each platform.
http://en.wikipedia.org/wiki/C_standard_library
Thanks Moschops!

No, they are not.


The size and range may differ, but the name should be the same.
RTvoid is not standard. That's why it has to be specially defined. Likewise everything else in there.
Topic archived. No new replies allowed.