stddef.h
来自「TI TMS320C54X C语言编译及汇编开发包」· C头文件 代码 · 共 63 行
H
63 行
/*****************************************************************************/
/* stddef.h v4.00 */
/* Copyright (c) 1993-2004 Texas Instruments Incorporated */
/*****************************************************************************/
#ifndef _STDDEF
#define _STDDEF
#ifdef __cplusplus
extern "C" namespace std {
#endif
#ifndef NULL
#define NULL 0
#endif
#ifdef __PTRDIFF_T_TYPE__
typedef __PTRDIFF_T_TYPE__ ptrdiff_t;
#else
typedef int ptrdiff_t;
#endif
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
#endif
#ifndef __cplusplus
#ifndef _WCHAR_T
#define _WCHAR_T
typedef unsigned int wchar_t;
#endif /* _WCHAR_T */
#endif /* ! __cplusplus */
#define offsetof(_type, _ident) ((size_t)__intaddr__(&(((_type *)0)->_ident)))
#ifdef __cplusplus
} /* extern "C" namespace std */
#ifndef _CPP_STYLE_HEADER
using std::ptrdiff_t;
using std::size_t;
/*using std::wchar_t;*/
#endif
#endif /* __cplusplus */
#else
#ifdef __cplusplus
#ifndef _CPP_STYLE_HEADER
using std::ptrdiff_t;
using std::size_t;
/*using std::wchar_t;*/
#endif
#endif /* __cplusplus */
#endif /* _STDDEF */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?