From 66dc1112bc3d5e026abafdc22a055a5119eb4e82 Mon Sep 17 00:00:00 2001 From: Jan Kumor Date: Sun, 29 Dec 2024 21:54:28 -0500 Subject: [PATCH] Remove _rust suffix from c++ function names. Co-authored-by: Damon P. Cortesi --- src/athena_extension.cpp | 2 +- src/include/rust.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/athena_extension.cpp b/src/athena_extension.cpp index d90375f..9414d3f 100644 --- a/src/athena_extension.cpp +++ b/src/athena_extension.cpp @@ -10,7 +10,7 @@ namespace duckdb void AthenaExtension::Load(DuckDB &db) { // Call the Rust function to initialize the extension. - athena_init_rust(&db); + athena_init(&db); } std::string AthenaExtension::Name() diff --git a/src/include/rust.h b/src/include/rust.h index bb8eeb4..69927d5 100644 --- a/src/include/rust.h +++ b/src/include/rust.h @@ -1,6 +1,6 @@ extern "C" { - void athena_init_rust(void *db); - void athena_version_rust(void); + void athena_init(void *db); + void athena_version(void); } // extern "C"