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

Inelegant solution for custom logging FILE pointer #663

Closed
wants to merge 2 commits into from

Conversation

AidanWelch
Copy link

This just simply creates a getter and setter function for a FILE* where logs are written. This allows software incorporating libpostal to more easily respond to errors. There's probably a better way to do this, but I wanted to make minimal changes.

#include <emmintrin.h>
#if defined(USE_SSE)
#if defined(USE_NEON)
#include "sse2neon.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change related to the PR?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No sorry, that was just another change for a project I'm working, I can create a new branch for this PR and re-open it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-opened here #669

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