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

wfc.h as an include #29

Open
nsmryan opened this issue Sep 18, 2023 · 0 comments
Open

wfc.h as an include #29

nsmryan opened this issue Sep 18, 2023 · 0 comments

Comments

@nsmryan
Copy link
Contributor

nsmryan commented Sep 18, 2023

I've noticed that if I have wfc.h's implementation in one file, and want to use as a header in another, there are a number of functions without prototypes.

For example, I modified the header to declare some prototypes:

int wfc_export(struct wfc *wfc, const char *filename);
void wfc_destroy(struct wfc *wfc);
struct wfc_image *wfc_output_image(struct wfc *wfc);
void wfc_img_destroy(struct wfc_image *image);

I might be able to come up with a PR for this if you would accept it. I would include wrapping in WFC_USE_STB for functions not present without that flag.

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

No branches or pull requests

1 participant