mirror of
https://github.com/openharmony/interface_sdk_c.git
synced 2026-08-24 06:23:09 -04:00
weekly_20260622
优化接口描述 Created-by: tanhon Commit-by: tanhon Merged-by: openharmony_ci Description: ### 相关的Issue https://gitcode.com/openharmony/interface_sdk_c/issues/4062 ### 原因(目的、解决的问题等) 优化接口描述 ### 描述(做了什么,变更了什么) 优化接口描述 ### 自检结果(结果截图添加到下面) - [x] 是否通过C语法扫描 - [x] 是否通过注释规则扫描 - [x] 是否更新json文件 - [x] 实现代码是否已经合入 - [x] 目标是否已经添加到interface/sdk_c仓ndk依赖目标(ndk_targets.gni)里 - [x] 头文件library声明与SDK so库名称一致 ### 兼容性影响评估,如有影响请写明(Y/N) - [ ] 不兼容 - [x] 是否经过评审 ### L0新增用例自检结果 - [ ] 是,有新增L0用例,且完成自检 - [x] 否 ### API参考文档影响评估(提供docs仓pr链接) - [ ] 是,已刷新API参考文档 - [x] 否,不涉及刷新API参考文档 See merge request: openharmony/interface_sdk_c!5236
Public Repository for API Declaration Files
Overview
This repository is used to store .h declaration files of C APIs. The OpenHarmony C API is collection of system C interfaces that the operating system provided for applications using the C/C++ language library.It is the contract between the system and the applications; These interfaces need to be sufficiently stable. Interfaces are currently organized into various directories according to the function, and the directories organized as follows.
Directory Structure
─ai
| ├─neural_network_runtime
├─arkui
| ├─ace_engine
├─bundlemanager
| ├─bundle_framework
│ | ├─bundle
├─commonlibrary
| ├─memory_utils
│ | ├─bundle
├─distributeddatamgr
| ├─relational_store
├─drivers
| ├─external_device_manager
├─global
| ├─resource_management
├─graphic
| ├─graphic_2d
├─hiviewdfx
| ├─hiappevent
| ├─hilog
| ├─hitrace
├─multimedia
| ├─audio_framework
| ├─av_codec
| ├─image_framework
| ├─player_framework
├─resourceschedule
| ├─ffrt
├─security
| ├─huks
├─startup
| ├─init
├─third_party
Repositories Involved
interface_sdk_c C API编码规范: A guide that describes how to design and publish an interface. C API构建指南:A guide that describes how to add a build target for the C API in the build.gn
Description
Languages
C
77.9%
C++
19.8%
Python
2.3%