File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 22
33--- 平台信息(模块返回的是表而不是类)
44--- @class bee.platform
5- --- @field os string 操作系统名称 : " windows" | " android" | " linux" | " netbsd" | " freebsd" | " openbsd" | " ios" | " macos" | " unknown"
6- --- @field Compiler string 编译器类型 : " clang" | " msvc" | " gcc" | " unknown"
5+ --- @field os " windows" | " android" | " linux" | " netbsd" | " freebsd" | " openbsd" | " ios" | " macos" | " unknown" 操作系统名称
6+ --- @field Compiler " clang" | " msvc" | " gcc" | " unknown" 编译器类型
77--- @field CompilerVersion string 编译器版本字符串
8- --- @field CRT string C 运行时库类型 : " bionic" | " msvc" | " libstdc++" | " libc++" | " unknown"
8+ --- @field CRT " bionic" | " msvc" | " libstdc++" | " libc++" | " unknown" C 运行时库类型
99--- @field CRTVersion string C 运行时库版本字符串
10- --- @field Arch string 架构 : " arm64" | " x86" | " x86_64" | " arm" | " riscv" | " wasm32" | " wasm64" | " mips64el" | " loongarch64" | " ppc64" | " ppc" | " unknown"
10+ --- @field Arch " arm64" | " x86" | " x86_64" | " arm" | " riscv" | " wasm32" | " wasm64" | " mips64el" | " loongarch64" | " ppc64" | " ppc" | " unknown" 架构
1111--- @field DEBUG boolean 是否为调试构建
1212--- @field os_version bee.platform.os_version 操作系统版本信息
13+ local platform = {}
1314
1415--- 操作系统版本信息
1516--- @class bee.platform.os_version
1617--- @field major integer 主版本号
1718--- @field minor integer 次版本号
1819--- @field revision integer 修订版本号
1920
20- return {}
21+ return platform
You can’t perform that action at this time.
0 commit comments