Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added enum to llama_token_get_type return type for C compliance #2774

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Added enum to llama_token_get_type return type for C compliance #2774

merged 1 commit into from
Aug 24, 2023

Conversation

MarcusDunn
Copy link
Contributor

Not sure if a typedef would be preferred. I went off current enum usage around log levels.

The declaration without the enum caused an error for me when trying to create rust bindings.

I am neither a C or C++ dev, I am unsure of the consequences (if any) of this on the cpp side of things.

@slaren slaren merged commit 2e5f70a into ggerganov:master Aug 24, 2023
24 checks passed
akawrykow pushed a commit to akawrykow/llama.cpp that referenced this pull request Aug 29, 2023
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.

2 participants