Skip to content

Conversation

polyscone
Copy link

@polyscone polyscone commented Oct 1, 2024

This PR just adds a new RegisterBusyHandler method to the SQLiteConn type to allow use of the sqlite3_busy_handler() function.

I tried to follow the same style as the other Register* methods which use the void* user data args as a way to pass a handle to a Go callback function to a trampoline function defined in C.

I've also updated the _examples folder with a new example file.

Fixes #290

@polyscone polyscone closed this by deleting the head repository Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement support for busy handler

1 participant