sys/sysmod/openai/basicfuncs.rs
1//! OpenAI API - function 機能向け、
2//! すべての場合に共通で提供される基本的な関数群。
3
4mod game;
5mod math;
6mod playtools;
7mod storage;
8mod system;
9mod web;
10
11use super::function::FunctionTable;
12
13/// このモジュール以下の全ての関数を [FunctionTable] に登録する。
14pub fn register_all<T: 'static>(func_table: &mut FunctionTable<T>) {
15 system::register_all(func_table);
16 storage::register_all(func_table);
17 math::register_all(func_table);
18 playtools::register_all(func_table);
19 game::register_all(func_table);
20 web::register_all(func_table);
21}