⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 变量注释规范.txt

📁 Rabbit 32Bit RTOS源代码
💻 TXT
字号:
编写日期:2011.10.12

基本类型变量注释规范:

/*********************************************************************
*
* multi line long comment
*
**********************************************************************/
type var_name;

or

/* single line long comment */
type var_name;

or

type var_name;    /* short comment */


结构体注释规范:


/*********************************************************************
*结构体名:struct struct_name  (typedef name)
*描    述:
**********************************************************************/
typedef struct struct_name
{
    /* long comment */
    type member_name;   /* short comment */
    /* long comment */
    type member_name;   /* short comment */

}typedef_name;



/*********************************************************************
*Struct Name: struct struct_name  (typedef name)
*Description:
**********************************************************************/
typedef struct struct_name
{
    /* long comment */
    type member_name;   /* short comment */
    /* long comment */
    type member_name;   /* short comment */

}typedef_name;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -