是__int32定义的?

ant*_*009 4 c

gcc c89

我遇到了这段代码.

typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int32 uint64_t;
Run Code Online (Sandbox Code Playgroud)

我只是想知道那是__int32我不认为那是一种类型?为什么是下划线?

这是否意味着我可以做这样的事情?

typedef __int32 myInt32;
Run Code Online (Sandbox Code Playgroud)

非常感谢任何建议,

Dre*_*ann 7

该类型不是标准类型,但在编译器上受支持.

以下划线开头或包含两个下划线的符号由编译器实现的标准保留.

请参阅为什么人们在C++中使用__(双下划线)这么多(问题是关于C++,但原因是相同的)