Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Rename TokenScanners pointer to the deleter in order to allow use with C++ #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Corristo
Copy link
Contributor

@Corristo Corristo commented Jun 23, 2018

Since delete is a keyword in C++, the current version of the header cannot be used in a C++ project. However, both the readme as well as the conditionally compiled extern "C" part in the header suggest that the author intended this library to be usable from C++ as is.

Since this is an API break I'm not sure if this is ok, but afaict users of the library aren't supposed to use the function pointer directly and are encouraged to use TokenScanner_delete instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant