How about adding short and ushort primitive type into ATS prelude?


#1

They are already available:

short is sint in ATS.
ushort is usint in ATS.On Saturday, August 20, 2016 at 8:41:40 AM UTC-4, Kiwamu Okabe wrote:

Hi Hongwei,

How about adding short and ushort primitive types into ATS prelude?
I find needing the primitive types, while seeking C header files in
/usr/include.

Best regards,

Kiwamu Okabe at METASEPI DESIGN


#2

Okay, I have now mentioned sint and usint in:

http://ats-lang.sourceforge.net/DOCUMENT/INT2PROGINATS/HTML/x240.htmOn Saturday, August 20, 2016 at 6:36:31 PM UTC-4, Kiwamu Okabe wrote:

Hi Hongwei,

On Sun, Aug 21, 2016 at 12:58 AM, gmhwxi <…> wrote:

short is sint in ATS.
ushort is usint in ATS.

I can’t find it, because reading following:

http://ats-lang.sourceforge.net/DOCUMENT/INT2PROGINATS/HTML/x240.html

I support it:

https://github.com/metasepi/c2ats/commit/a10491682dff3e24c3003ffa5ccda75f3d072349

Thanks a lot,

Kiwamu Okabe at METASEPI DESIGN