Skip to content

Commit

Permalink
fix: cgo type
Browse files Browse the repository at this point in the history
  • Loading branch information
huskar-t committed Apr 27, 2023
1 parent d934595 commit 60a13ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapper/stmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,5 +686,5 @@ func StmtParseFields(num int, fields unsafe.Pointer) []*StmtField {

// TaosStmtReclaimFields DLL_EXPORT void taos_stmt_reclaim_fields(TAOS_STMT *stmt, TAOS_FIELD_E *fields);
func TaosStmtReclaimFields(stmt unsafe.Pointer, fields unsafe.Pointer) {
C.taos_stmt_reclaim_fields(stmt, fields)
C.taos_stmt_reclaim_fields(stmt, (*C.TAOS_FIELD_E)(fields))
}

0 comments on commit 60a13ee

Please sign in to comment.