/*
* このファイルは tecsgen によりテンプレートとして自動生成されました
* このファイルを編集して使用することが意図されていますが
* tecsgen の再実行により上書きされてしまうため、通常
* gen/tSimple_template.c => src/tSimple.c
* のように名前, フォルダを変更してから修正します
*/
/* #[]#
* #[<...>]# から #[]# で囲まれたコメントは編集しないでください
* tecsmerge によるマージに使用されます
*
* 呼び口関数 #_TCPF_#
* call port : cCall signature: sSample context: task
* ER cCall_sayHello( int32_t times );
* ER cCall_howAreYou( char_t* buf, int32_t len );
*
* #[]# */
/* プロトタイプ宣言や変数の定義をここに書きます #_PAC_# */
#include "tSimple_tecsgen.h"
#include
#ifndef E_OK
#define E_OK 0 /* success */
#define E_ID (-18) /* illegal ID */
#endif
/* #[]# eBody
* entry port: eBody
* signature: sTaskBody
* context: task
* #[]# */
/* #[]# eBody_main
* name: eBody_main
* global_name: tSimple_eBody_main
* oneway: false
* #[]# */
void
eBody_main()
{
#define BUF_LEN 64
char_t buf[64];
#define HELLO_TIMES (3)
puts( "calling sayHello" );
cCall_sayHello( HELLO_TIMES );
cCall_howAreYou( buf, BUF_LEN );
puts( buf );
}
/* #[]#
* これより下に非受け口関数を書きます
* #[]#*/