refactor: update c api (#728)

This commit is contained in:
leejet
2025-07-13 18:48:42 +08:00
committed by GitHub
parent a772dca27a
commit ca0bd9396e
7 changed files with 1200 additions and 1318 deletions

View File

@@ -441,10 +441,6 @@ const char* sd_get_system_info() {
return buffer;
}
const char* sd_type_name(enum sd_type_t type) {
return ggml_type_name((ggml_type)type);
}
sd_image_f32_t sd_image_t_to_sd_image_f32_t(sd_image_t image) {
sd_image_f32_t converted_image;
converted_image.width = image.width;