CCUnit  2.1
A C Unit Testing Library
 全て データ構造 ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義 グループ ページ
マクロ定義
CCUnitConfig.h

CCUnit configrations. [詳細]

#include <ccunit/config.h>
CCUnitConfig.hのインクルード依存関係図
このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

マクロ定義

#define bool   int
 boolean
#define true   (1)
 true
#define false   (0)
 false
#define safe_free(p)   (!p ? NULL : (free ((void*)p), (p) = NULL))
 safty free memory.
#define safe_strdup(s)   (!s ? NULL : strdup (s))
 safty strdup.

説明

CCUnit configrations.


マクロ定義

#define bool   int

boolean

#define false   (0)

false

#define safe_free (   p)    (!p ? NULL : (free ((void*)p), (p) = NULL))
#define safe_strdup (   s)    (!s ? NULL : strdup (s))

safty strdup.

Tries not to pass NULL to strdup.

引数:
sstring to duplicate.
戻り値:
duplicated string, or NULL when error occured.

参照元 ccunit_newTestCase(), ccunit_newTestFailure(), ccunit_newTestFunc(), ccunit_newTestSuite(), initTestDef(), と newFuncDef().

#define true   (1)

true

SourceForge.jp hosts this site. Send comments to: CCUnit Developer