mirror of
https://github.com/openharmony/interface_sdk_c.git
synced 2026-08-24 06:23:09 -04:00
修复zh-cn头文件struct/union缺少typedef关键字
- OH_Cursor/OH_Predicates/OH_VObject/OH_VBucket struct 补 typedef - Rdb_KeyData union 补 typedef 及 @since 标注 - 规范 OH_RdbTrans_QueryWithoutRowCount 参数换行 Signed-off-by: guochao95 <guochao76@h-partners.com> 🤖 AI[56%] 🔧 Human Fixed[0%] 🧑 Human[44%] 👌 AI Adopted[100%] Change-Id: I5333b5df3137a5385d415b30c8a69e0140a12685
This commit is contained in:
@@ -59,7 +59,7 @@ typedef struct OH_Cursor OH_Cursor;
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
struct OH_Cursor {
|
||||
typedef struct OH_Cursor {
|
||||
/**
|
||||
* OH_Cursor结构体的唯一标识符。
|
||||
*/
|
||||
|
||||
@@ -75,7 +75,7 @@ typedef struct OH_Predicates OH_Predicates;
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
struct OH_Predicates {
|
||||
typedef struct OH_Predicates {
|
||||
/**
|
||||
* OH_Predicates结构体的唯一标识符。
|
||||
*/
|
||||
|
||||
@@ -359,8 +359,8 @@ OH_Cursor *OH_RdbTrans_Query(OH_Rdb_Transaction *trans, const OH_Predicates *pre
|
||||
* @return 如果执行成功,则返回指向{@link OH_Cursor}实例的指针。如果数据库已关闭或数据库没有响应,则返回nullptr。
|
||||
* @since 23
|
||||
*/
|
||||
OH_Cursor *OH_RdbTrans_QueryWithoutRowCount(OH_Rdb_Transaction *trans, const OH_Predicates *predicates, const char * const columns[],
|
||||
int len);
|
||||
OH_Cursor *OH_RdbTrans_QueryWithoutRowCount(OH_Rdb_Transaction *trans, const OH_Predicates *predicates,
|
||||
const char *const columns[], int len);
|
||||
|
||||
/**
|
||||
* @brief 根据SQL语句查询数据库中的数据。
|
||||
|
||||
@@ -56,7 +56,7 @@ typedef struct OH_VObject OH_VObject;
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
struct OH_VObject {
|
||||
typedef struct OH_VObject {
|
||||
/**
|
||||
* OH_VObject结构体的唯一标识符。
|
||||
*/
|
||||
|
||||
@@ -57,7 +57,7 @@ typedef struct OH_VBucket OH_VBucket;
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
struct OH_VBucket {
|
||||
typedef struct OH_VBucket {
|
||||
/**
|
||||
* OH_VBucket结构体的唯一标识符。
|
||||
*/
|
||||
|
||||
@@ -1049,8 +1049,10 @@ typedef struct Rdb_KeyInfo {
|
||||
|
||||
/**
|
||||
* 表示密钥信息的数据。
|
||||
*
|
||||
* @since 11
|
||||
*/
|
||||
union Rdb_KeyData {
|
||||
typedef union Rdb_KeyData {
|
||||
/**
|
||||
* 表示uint64_t类型的数据。
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user