Skip to content

Commit

Permalink
Fix warning 'function ... should have a snake case name'
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Nov 13, 2024
1 parent 1138856 commit fde0c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl VTab for HelloVTab {
}

#[duckdb_entrypoint_c_api(ext_name = "rusty_quack", min_duckdb_version = "v0.0.1")]
pub unsafe fn ExtensionEntrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
pub unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
con.register_table_function::<HelloVTab>("rusty_quack")
.expect("Failed to register hello table function");
Ok(())
Expand Down

0 comments on commit fde0c4b

Please sign in to comment.