Document of c-modernization-kit (calc) 1.0.0

Loading...
Searching...
No Matches
Macros
libcalc_const.h File Reference

計算ライブラリの定数ファイル。 More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | CALC_SUCCESS 0
| 成功の戻り値を表す定数。
#define | CALC_ERROR -1
| 失敗の戻り値を表す定数。
#define | CALC_KIND_ADD 1
| 加算の演算種別を表す定数。
#define | CALC_KIND_SUBTRACT 2
| 減算の演算種別を表す定数。
#define | CALC_KIND_MULTIPLY 3
| 乗算の演算種別を表す定数。
#define | CALC_KIND_DIVIDE 4
| 除算の演算種別を表す定数。

## Detailed Description

計算ライブラリの定数ファイル。

Author
  c-modenization-kit sample team

Date
  2025/11/22

Version
  1.0.0

Copyright
  Copyright (C) CompanyName, Ltd. 2025. All rights reserved.

Definition in file libcalc_const.h.

## Macro Definition Documentation

## ◆ CALC_SUCCESS

#define CALC_SUCCESS 0

成功の戻り値を表す定数。

Definition at line 17 of file libcalc_const.h.

Referenced by add(), divide(), and multiply().

## ◆ CALC_ERROR

#define CALC_ERROR -1

失敗の戻り値を表す定数。

Definition at line 18 of file libcalc_const.h.

Referenced by add(), calcHandler(), divide(), and multiply().

## ◆ CALC_KIND_ADD

#define CALC_KIND_ADD 1

加算の演算種別を表す定数。

Definition at line 20 of file libcalc_const.h.

Referenced by calcHandler(), and main().

## ◆ CALC_KIND_SUBTRACT

#define CALC_KIND_SUBTRACT 2

減算の演算種別を表す定数。

Definition at line 21 of file libcalc_const.h.

Referenced by calcHandler(), and main().

## ◆ CALC_KIND_MULTIPLY

#define CALC_KIND_MULTIPLY 3

乗算の演算種別を表す定数。

Definition at line 22 of file libcalc_const.h.

Referenced by calcHandler(), and main().

## ◆ CALC_KIND_DIVIDE

#define CALC_KIND_DIVIDE 4

除算の演算種別を表す定数。

Definition at line 23 of file libcalc_const.h.

Referenced by calcHandler(), and main().