Skip to content

Commit

Permalink
Remove _rust suffix from c++ function names.
Browse files Browse the repository at this point in the history
Co-authored-by: Damon P. Cortesi <[email protected]>
  • Loading branch information
akumor and dacort authored Dec 30, 2024
1 parent 3c5e28d commit 66dc111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/athena_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions src/include/rust.h
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 66dc111

Please sign in to comment.