命令関数群のテンプレート
自作の命令関数群をまとめて1つの独立したプログラムファイルを作る際の全体イメージです。
#ifdef __モジュール名__
#define __モジュール名__
/*////////////////////////////////////////////////////////////////////
インクルードファイル
--------------------------------------------------------------------*/
;#include
;#addition
/*////////////////////////////////////////////////////////////////////
モジュール(命令関数群)の説明
////////////////////////////////////////////////////////////////////*/
#module モジュール名
/*////////////////////////////////////////////////////////////////////
定数・マクロ定義
--------------------------------------------------------------------*/
;#const
;#define
;#enum
/*////////////////////////////////////////////////////////////////////
処理:初期化
概要:命令関数群を使う準備
引数:
戻値:
--------------------------------------------------------------------*/
#deffunc Init
//モジュール内で共有する変数の網羅
return
/*////////////////////////////////////////////////////////////////////
処理:
概要:
引数:
戻値:
--------------------------------------------------------------------*/
;#deffunc sampleproc
;return
/*////////////////////////////////////////////////////////////////////
処理:
概要:
引数:
戻値:
--------------------------------------------------------------------*/
;#defcfunc samplefx
;return 0
#global
#endif
Copyright © 2002-2025 team.Dakuji All Rights Reserved.