GL CHOCO ENGINE
Loading...
Searching...
No Matches
platform_err_utils.h File Reference

プラットフォームレイヤーのエラー処理を統一するため、下位モジュールの実行結果コードの変換と、実行結果コードの文字列化処理を提供する More...

Include dependency graph for platform_err_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * platform_rslt_to_str (platform_result_t rslt_)
 プラットフォームレイヤーの実行結果コードを文字列に変換する
 
platform_result_t platform_rslt_convert_choco_string (choco_string_result_t rslt_)
 choco_stringモジュールの実行結果コードをプラットフォームレイヤーの実行結果コードに変換する
 
platform_result_t platform_rslt_convert_linear_alloc (linear_allocator_result_t rslt_)
 linear_allocatorモジュールの実行結果コードをプラットフォームレイヤーの実行結果コードに変換する
 

Detailed Description

プラットフォームレイヤーのエラー処理を統一するため、下位モジュールの実行結果コードの変換と、実行結果コードの文字列化処理を提供する

Author
chocolate-pie24
Version
0.1
Date
2026-02-13

Function Documentation

◆ platform_rslt_convert_choco_string()

platform_result_t platform_rslt_convert_choco_string ( choco_string_result_t  rslt_)

choco_stringモジュールの実行結果コードをプラットフォームレイヤーの実行結果コードに変換する

Parameters
rslt_choco_stringモジュール実行結果コード
Returns
platform_result_t プラットフォームレイヤー実行結果コード

◆ platform_rslt_convert_linear_alloc()

platform_result_t platform_rslt_convert_linear_alloc ( linear_allocator_result_t  rslt_)

linear_allocatorモジュールの実行結果コードをプラットフォームレイヤーの実行結果コードに変換する

Parameters
rslt_linear_allocatorモジュール実行結果コード
Returns
platform_result_t プラットフォームレイヤー実行結果コード

◆ platform_rslt_to_str()

const char * platform_rslt_to_str ( platform_result_t  rslt_)

プラットフォームレイヤーの実行結果コードを文字列に変換する

Parameters
rslt_変換するプラットフォームシステム実行結果コード
Returns
const char* 変換された文字列の先頭アドレス