sysmacro.tpl

来自「VRTX 商用嵌入式实时操作系统」· TPL 代码 · 共 38 行

TPL
38
字号
@dnl -------------------------------------------------------------------------
@dnl
@dnl		Copyright (c) 1993 READY SYSTEMS CORPORATION.
@dnl
@dnl	All rights reserved. READY SYSTEMS' source code is an unpublished
@dnl	work and the use of a copyright notice does not imply otherwise.
@dnl	This source code contains confidential, trade secret material of
@dnl	READY SYSTEMS. Any attempt or participation in deciphering, decoding,
@dnl	reverse engineering or in any way altering the source code is
@dnl	strictly prohibited, unless the prior written consent of
@dnl	READY SYSTEMS is obtained.
@dnl
@dnl
@dnl	Module Name:		%M%
@dnl
@dnl	Identification:		%Z% %I% %M%
@dnl
@dnl	Date:			%G%  %U%
@dnl
@dnl -------------------------------------------------------------------------
@dnl
@dnl	macro:	sys_extern_list
@dnl	usage:	@sys_extern_list(type1, type2, list)
@dnl	description:	for every element elmt in "list" it creates the line
@dnl	extern type1 elmttype2;
@dnl
@define(sys_extern_list, `@ifelse($3,,,`extern $1 $3$2;
'`@sys_extern_list($1,$2,@shift(@shift(@shift($@))))')')@dnl
@dnl
@dnl	macro:	sys_table_list
@dnl	usage:	@sys_table_list(list)
@dnl	description:	for every element elmt in "list" it creates the line
@dnl	elmt,
@dnl	for initialization of a structure.
@dnl
@define(sys_table_list, `@ifelse($2,,,`/*$1*/`	'$2,
'`@sys_table_list(@incr($1),@shift(@shift($@)))')')@dnl

⌨️ 快捷键说明

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