Allow user-defined functions to accept pointers
Open
@gjrtimmer is already working on this.
Since Aug 22, 2019.
enhancement
research
- Dominant language
- C
- Stars
- 9.2k
- Forks
- 1.2k
- Avg merge
- 19m
- Merged PRs (30d)
- 4
Description
See #728. There the user had defined a function that took a string and SQLite tried to pass NULL to it. That resulted in an error from this library stating argument must be BLOB or TEXT. Changing the function to take a *string instead didn't work and resulted in an error stating don't know how to convert to *string. Please update the private callbackArg func used by RegisterFunc to properly handle an input type of kind reflect.Ptr.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.