Skip to content

Inelegant solution for custom logging FILE pointer#663

Closed
AidanWelch wants to merge 2 commits intoopenvenues:masterfrom
AidanWelch:master
Closed

Inelegant solution for custom logging FILE pointer#663
AidanWelch wants to merge 2 commits intoopenvenues:masterfrom
AidanWelch:master

Conversation

@AidanWelch
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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