Skip to content

Commit b9e0ca1

Browse files
authored
Merge pull request #43 from SpringQL/refactor/stop-using-old-apis
refactor: stop calling spring_config_default()
2 parents b630522 + 022cd1d commit b9e0ca1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Also check the changes in springql-core: <https://github.com/SpringQL/SpringQL/b
1313
<!-- markdownlint-disable MD024 -->
1414
## [Unreleased]
1515

16+
### For developers
17+
18+
- refactor: stop calling spring_config_default(). ([#43](https://github.com/SpringQL/SpringQL-client-c/pull/43))
19+
1620
## [v0.11.0]
1721

1822
### For developers

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use ::springql_core::api::{error::SpringError, SpringPipeline as Pipeline};
3434
/// If you would like to change the default configuration, use `spring_config_toml()` instead.
3535
#[no_mangle]
3636
pub extern "C" fn spring_config_default() -> *mut SpringConfig {
37-
let config = ::springql_core::api::spring_config_default();
37+
let config = ::springql_core::api::SpringConfig::default();
3838
SpringConfig::new(config).into_ptr()
3939
}
4040

@@ -413,7 +413,7 @@ pub unsafe extern "C" fn spring_column_bool(
413413
/// - `CNull`: Column value is NULL.
414414
#[no_mangle]
415415
pub unsafe extern "C" fn spring_column_float(
416-
row: *const SpringRow,
416+
row: *const SpringRow,
417417
i_col: u16,
418418
out: *mut c_float,
419419
) -> SpringErrno {

0 commit comments

Comments
 (0)